Skip to content
Benchmarks

redact-secret · Report · Detector

Telegram bot tokens

  • 40 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 digits:secret bot token; provider-code delimiter and alphabet, tool-corroborated body length · observed 2026-09-24 · Un-probeable record lifted 2026-09-24 (#207): twins mutate only the : delimiter and a / inside the secret, both rejected by Telegram's Bot API server acceptance check (tdlib/telegram-bot-api ClientManager.cpp, provider code on github.com), and the secret body below this contract's tool-corroborated 34-character floor. No twin shortens the bot id: provider code accepts 1 to 16 digits.

Telegram's own documentation gives exactly one example token and no formal grammar. TruffleHog's telegrambottoken detector corroborates the general digits:secret shape; gitleaks's telegram-bot-api-token rule requires an additional literal uppercase "A" leading the secret segment that this contract does not require, so it is 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 Telegram bot tokens fixtures
GroupFixturesLeaked or false alarmsNear-twinsOutcomesOther scanners, same cell
Must not flag · Provider-documented4False alarmsinsufficient-evidence0 of 4 controls flagged4 quiet · 0 flagged
  • flare-redact insufficient-evidence
  • gitleaks insufficient-evidence
  • trufflehog insufficient-evidence
Must not flag · Tool-corroborated7False alarmsat most 35.4%0 of 7 controls flagged7 quiet · 0 flagged
  • flare-redact at most 35.4%
  • gitleaks at most 35.4%
  • trufflehog at most 35.4%
Must not flag · Project policy11False alarmsat most 25.9%0 of 11 controls flagged11 quiet · 0 flagged
  • flare-redact at most 25.9%
  • gitleaks at most 25.9%
  • trufflehog at most 25.9%
Must redact · Tool-corroborated14Secret spans left readableat most 21.5%0 of 14 spansNear-twins told apartat least 64.6%7 of 7 pairs14 redacted · 0 too much · 0 partly exposed · 0 missed
  • flare-redact at most 39.9%
  • gitleaks at most 96.0%
  • trufflehog at most 47.6%
Project policy · Project policy4Secret spans left readableinsufficient-evidence0 of 4 spansNear-twins told apartinsufficient-evidence1 of 1 pairs4 redacted · 0 too much · 0 partly exposed · 0 missed
  • flare-redact insufficient-evidence
  • gitleaks insufficient-evidence
  • trufflehog insufficient-evidence
40 of 40 rows
Fixtures
40
Left readable
0
Redacted too much
0
False alarms
0

Fixtures for this detector

40 fixtures. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in Telegram bot tokens
FixtureKind and evidenceredact-secret
telegram-bot-token-bomtelegram · multibyte-text-offsetsMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-bot-api-urltelegram · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-bot-yamltelegram · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-botfather-replytelegram · documented-format-literalProject policyT3 · Project policyRedacted
telegram-bot-token-compose-envtelegram · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-jsontelegram · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-markdowntelegram · markdown-and-comment-valueMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-no-final-newlinetelegram · value-at-input-edgesMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-ptb-buildertelegram · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-pythontelegram · source-code-string-literalMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-shape-1-baretelegram · documented-format-literalProject policyT3 · Project policyRedacted
telegram-bot-token-shape-1-quotedtelegram · documented-format-literalProject policyT3 · Project policyRedacted
telegram-bot-token-shape-1-unicode-crlftelegram · documented-format-literalProject policyT3 · Project policyRedacted
telegram-bot-token-single-quotestelegram · quoted-value-extentMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-tomltelegram · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-yamltelegram · structured-text-valueMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-actions-envtelegram · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-actions-secret-referencetelegram · templated-referenceMust not flagT3 · Project policyQuiet
telegram-bot-token-angle-brackets-placeholdertelegram · documentation-placeholderMust not flagT3 · Project policyQuiet
telegram-bot-token-bot-username-public-idtelegram · public-identifierMust not flagT3 · Project policyQuiet
telegram-bot-token-botfather-note-prosetelegram · prose-mentionMust not flagT3 · Project policyQuiet
telegram-bot-token-chat-id-public-idtelegram · public-identifierMust not flagT3 · Project policyQuiet
telegram-bot-token-envtelegram · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
telegram-bot-token-label-prosetelegram · benign-lookalikeMust not flagT3 · Project policyQuiet
telegram-bot-token-masktelegram · benign-lookalikeMust not flagT3 · Project policyQuiet
telegram-bot-token-masked-placeholdertelegram · documentation-placeholderMust not flagT3 · Project policyQuiet
telegram-bot-token-missing-delimiter-twintelegram · boundary-violationMust not flagT1 · Provider-documented · twinQuiet
telegram-bot-token-plus-body-twintelegram · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
telegram-bot-token-prefix-onlytelegram · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
telegram-bot-token-referencetelegram · benign-lookalikeMust not flagT3 · Project policyQuiet
telegram-bot-token-short-bodytelegram · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
telegram-bot-token-short-body-docs-width-twintelegram · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
telegram-bot-token-short-body-twintelegram · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
telegram-bot-token-short-body-yaml-twintelegram · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
telegram-bot-token-slash-body-env-twintelegram · wrong-alphabetMust not flagT1 · Provider-documented · twinQuiet
telegram-bot-token-slash-body-twintelegram · wrong-alphabetMust not flagT1 · Provider-documented · twinQuiet
telegram-bot-token-timestamp-colon-near-misstelegram · format-near-missMust not flagT2 · Tool-corroboratedQuiet
telegram-bot-token-underscore-delimiter-twintelegram · boundary-violationMust not flagT1 · Provider-documented · twinQuiet
telegram-bot-token-update-json-public-idtelegram · public-identifierMust not flagT3 · Project policyQuiet
telegram-bot-token-url-template-placeholdertelegram · documentation-placeholderMust not flagT3 · Project policyQuiet