Skip to content
Benchmarks

redact-secret · Report · Detector

Discord bot tokens

  • 46 fixtures
  • Format evidence: T2 · Tool-corroborated
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14

Format evidence

  • trufflehog 3.97.4
  • Twin source three base64url segments: 24|26 . 6 . 27|38 · observed 2026-09-24 · Un-probeable record lifted 2026-09-24 (#207): twins mutate only segment widths no issued shape has (segment 3 of 37, segment 1 of 25), the dot delimiter, and a byte outside the base64url alphabet. The widths rest on community and dated empirical reports plus TruffleHog's 24/6/27 rule, never on Discord documentation, so every twin stays T2.

Discord's own single documented example matches the legacy 24/6/27 shape exactly, corroborated by TruffleHog's discordbottoken detector (its \b-anchored regex matches only that exact width). Re-checked 2026-09-22 (redact-secret#646, redact-secret-benchmarks#159): no pinned scanner or Discord-owned page documents the current 24/6/38 or 26/6/38 shapes; the body-length change is corroborated only by third-party tool regexes and dated empirical reports (see redact-secret#646's broad-discovery and web-search passes), never by either pinned scanner, so it stays prose-only, not a `corroboration` entry. Gitleaks's discord-api-token and discord-client-secret rules target different, unrelated Discord credential shapes and are not cited.

What the run recorded, by group

Detector views overlap, so their groups are never summed across detectors. Other scanners are reference values on the same inputs, in run order.
Groups of Discord bot tokens fixtures
GroupFixturesLeaked or false alarmsNear-twinsOutcomesOther scanners, same cell
Must not flag · Provider-documented1False alarmsinsufficient-evidence0 of 1 controls flagged1 quiet · 0 flagged
  • flare-redact insufficient-evidence
  • gitleaks insufficient-evidence
  • trufflehog insufficient-evidence
Must not flag · Tool-corroborated8False alarmsat most 32.4%0 of 8 controls flagged8 quiet · 0 flagged
  • flare-redact at most 32.4%
  • gitleaks at most 32.4%
  • trufflehog at most 32.4%
Must not flag · Project policy13False alarmsat most 22.8%0 of 13 controls flagged13 quiet · 0 flagged
  • flare-redact at most 33.3%
  • gitleaks at most 22.8%
  • trufflehog at most 22.8%
Must redact · Tool-corroborated24Secret spans left readableat most 13.8%0 of 24 spansNear-twins told apartinsufficient-coverage8 of 8 pairs24 redacted · 0 too much · 0 partly exposed · 0 missed
  • flare-redact at most 53.3%
  • gitleaks at most 68.6%
  • trufflehog at most 100.0%
46 of 46 rows
Fixtures
46
Left readable
0
Redacted too much
0
False alarms
0

Fixtures for this detector

46 fixtures. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in Discord bot tokens
FixtureKind and evidenceredact-secret
discord-bot-token-actions-envdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-bomdiscord · multibyte-text-offsetsMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-bot-authorizationdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-client-rundiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-compose-envdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-config-jsondiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-envdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-interactions-public-key-public-iddiscord · public-identifierMust not flagT1 · Provider-documentedQuiet
discord-bot-token-jsondiscord · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-markdowndiscord · markdown-and-comment-valueMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-no-final-newlinediscord · value-at-input-edgesMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-pythondiscord · source-code-string-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-short-hmac-json-twindiscord · wrong-lengthMust not flagT3 · Project policy · twinQuiet
discord-bot-token-single-quotesdiscord · quoted-value-extentMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-startup-logdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-barediscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-current-new-bot-barediscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-current-new-bot-quoteddiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-current-new-bot-unicode-crlfdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-current-reset-bot-barediscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-current-reset-bot-quoteddiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-current-reset-bot-unicode-crlfdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-quoteddiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-three-segments-unicode-crlfdiscord · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-tomldiscord · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-yamldiscord · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
discord-bot-token-actions-secret-referencediscord · templated-referenceMust not flagT3 · Project policyQuiet
discord-bot-token-application-id-public-iddiscord · public-identifierMust not flagT3 · Project policyQuiet
discord-bot-token-bang-hmac-twindiscord · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
discord-bot-token-bang-id-twindiscord · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
discord-bot-token-dash-delimiter-twindiscord · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
discord-bot-token-encoded-user-id-encoded-valuediscord · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
discord-bot-token-label-prosediscord · benign-lookalikeMust not flagT3 · Project policyQuiet
discord-bot-token-maskdiscord · benign-lookalikeMust not flagT3 · Project policyQuiet
discord-bot-token-missing-segmentdiscord · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
discord-bot-token-plus-timestamp-twindiscord · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
discord-bot-token-referencediscord · benign-lookalikeMust not flagT3 · Project policyQuiet
discord-bot-token-reset-note-prosediscord · prose-mentionMust not flagT3 · Project policyQuiet
discord-bot-token-short-current-final-segmentdiscord · benign-lookalikeMust not flagT3 · Project policyQuiet
discord-bot-token-short-current-first-segmentdiscord · benign-lookalikeMust not flagT3 · Project policyQuiet
discord-bot-token-short-final-segmentdiscord · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
discord-bot-token-short-hmac-twindiscord · wrong-lengthMust not flagT3 · Project policy · twinQuiet
discord-bot-token-short-id-segment-twindiscord · wrong-lengthMust not flagT3 · Project policy · twinQuiet
discord-bot-token-underscore-delimiter-twindiscord · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
discord-bot-token-user-mention-public-iddiscord · public-identifierMust not flagT3 · Project policyQuiet
discord-bot-token-your-token-here-placeholderdiscord · documentation-placeholderMust not flagT3 · Project policyQuiet