Skip to content
Benchmarks

redact-secret · Report

API key secret

32-character API key secret.

  • Twilio
  • Detectors: twilio-api-key-secret
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT2 · Tool-corroborated
  • Dossier researched2026-09-24

Research record

From credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0. It describes the research on the format, not what any scanner or the product does, and not a support status.
  • Review stateDraft, not reviewed
  • Format revision1 · current
  • ResearchResearched
  • Researched2026-09-24

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-10-03 by automation, project maintainer. Project-maintained review is not independent validation. The family record at this release.

Format

Provider format research from credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0.

What it looks like

Shape not recorded.

Format facts

  • Provider documented · mutable-property-source · current · observed 2026-09-24

    Documentation for the one property varied in legacy twin fixtures (context twin: same-line twilio keyword or SK API Key SID removed): Un-probeable record lifted 2026-09-24 (#207): the value is opaque and context-gated (CONTEXT_GATED), so #207 requires context twins and no bare-value claim. Each twin keeps the 32-character value byte-for-byte and removes only the same-line marker the detector contract names (the word twilio or the SK API Key SID, whose SK + 32 hex shape Twilio documents), per the context-twin decision; the twin is policy-tier, like the positive.

    • redact-secret/redact-secret-benchmarks @ develop: docs/decisions/2026-09-20-extend-twins-to-assignment-context.mdprovider-documentation · last read 2026-09-24 · latest outcome read · supports Un-probeable record lifted 2026-09-24 (#207): the value is opaque and context-gated (CONTEXT_GATED), so #207 requires context twins and no bare-value claim. Each twin keeps the 32-character value byte-for-byte and removes only the same-line marker the detector contract names (the word twilio or the SK API Key SID, whose SK + 32 hex shape Twilio documents), per the context-twin decision; the twin is policy-tier, like the positive.
  • Unresolved · tool-corroboration · current · observed 2026-09-22

    Pinned scanner rules are consistent with the contract grammar (1 artifact: trufflehog 3.97.4).

  • Unresolved · field-length-and-alphabet · current · observed 2026-09-22

    length and alphabet: 32 alphanumeric characters, mixed case, no prefix

  • Provider documented · field-paired-sid · current · observed 2026-09-22

    paired SID: the companion API Key SID is SK + 32 hex ([0-9a-fA-F]), 34 characters; the SID is the Basic-auth user and the secret the password

    • www.twilio.com/docs/iam/api-keys/key-resource-v1provider-documentation · last read 2026-10-03 · latest outcome read · supports paired SID: the companion API Key SID is SK + 32 hex ([0-9a-fA-F]), 34 characters; the SID is the Basic-auth user and the secret the password
  • Unresolved · field-context-gate · current · observed 2026-09-22

    context gate: opaque value: recognised only beside a same-line SK SID or the word twilio; no bare-value claim

  • Tool corroborated · dossier-research · current · observed 2026-09-24

    Legacy dossier research (verdict ready, tier T2) cited 3 sources; the dossier does not attribute sources to individual properties.

Open questions

No open question is recorded for this revision.

Benchmark dossier notes

From the provider dossier, as written. The evidence level above says how well the format is backed; a fact the dossier does not record is not shown.
Shape
32 alphanumeric characters ([0-9A-Za-z]), no prefix. The paired key SID is SK + 32 hex (34 characters) per the provider schema and glossary; core's pairing marker accepts a wider alphabet than the schema. The secret is the basic-auth password paired with the SID and the HMAC key for Access Tokens.
Basis
T2. No provider source states length or alphabet (new_key.secret in the OpenAPI spec is an untyped nullable string). 32 rests on TruffleHog's twilioapikey detector and 32-character placeholder masks in Twilio sample repositories (a placeholder is not a spec).
Issuance
not attempted; the secret is shown once.
Contract in core
detector-families.md; evidence #661 record.

In this benchmark

Fixture rows on the current run. Counts are for redact-secret in published · redact-secret 0.1.0-beta.14 mode.
Fixtures
50
Left readable
0
Redacted too much
0
False alarms
0

50 fixtures: 2 expect a redaction, 25 must stay quiet, 23 record project policy. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented3000
T3Project policy47000

Every scanner on the same fixtures

In run order. Counts are what each scanner recorded on this family's fixtures, whichever rules it has; a scanner with no rule for the family has nothing to report on it.

Counts per scanner on this family's fixtures
ScannerFixturesLeft readableToo muchFalse alarms
flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engineNo rule maps to it502503
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it50612
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped50000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it502500

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
No Twilio source states the secret's length or alphabet; 32 alphanumeric rests on TruffleHog and placeholder masks; only the paired SK SID has a documented grammar.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
same as the auth token; the SK SID within the same line is the context gate.

Scanner rules for this family

Mapped by hand (reviewed 2026-09-30) from each scanner's pinned rule file, never from what a scanner found on the fixtures.
Peer scanner rules that target this family
ScannerRuleWhat the rule matches
trufflehog · rules 3.97.4twilioapikeySK key SID + a 32 character secret

No rule maps to this family in flare-redact, gitleaks, openredaction.

50 of 50 rows

Fixtures in this family

50 rows, redact-secret's outcome on each. Rows that need a look come first (0), then the rest in corpus order. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in API key secret
FixtureKind and evidenceredact-secret
twilio-api-key-secret-account-sid-public-idtwilio · public-identifierMust not flagT3 · Project policyQuiet
twilio-api-key-secret-actions-envtwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-api-key-sid-public-idtwilio · public-identifierMust not flagT3 · Project policyQuiet
twilio-api-key-secret-bomtwilio · multibyte-text-offsetsProject policyT3 · Project policyRedacted
twilio-api-key-secret-client-sktwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-compose-envtwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-curl-basictwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-envtwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-exporttwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-handoff-notetwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-init-logtwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-js-constanttwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-jsontwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-json-structured-text-valuetwilio · structured-text-valueProject policyT3 · Project policyRedacted
twilio-api-key-secret-markdowntwilio · markdown-and-comment-valueProject policyT3 · Project policyRedacted
twilio-api-key-secret-no-final-newlinetwilio · value-at-input-edgesProject policyT3 · Project policyRedacted
twilio-api-key-secret-paired-api-key-sid-baretwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-paired-api-key-sid-quotedtwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-paired-api-key-sid-unicode-crlftwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-profile-createtwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-pythontwilio · source-code-string-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-single-quotestwilio · quoted-value-extentProject policyT3 · Project policyRedacted
twilio-api-key-secret-tomltwilio · structured-text-valueProject policyT3 · Project policyRedacted
twilio-api-key-secret-wrong-companion-near-misstwilio · format-near-missMust not flagT3 · Project policyQuiet
twilio-api-key-secret-yamltwilio · documented-format-literalProject policyT3 · Project policyRedacted
twilio-api-key-secret-yaml-structured-text-valuetwilio · structured-text-valueProject policyT3 · Project policyRedacted
api-key-secret-before-sidtwilio-compound-credentials-authored · twilio-api-key-sid-and-secret-boundaryMust redactT1 · Provider-documentedRedacted
api-key-sid-and-secret-envtwilio-compound-credentials-authored · twilio-api-key-sid-and-secret-boundaryMust redactT1 · Provider-documentedRedacted
twilio-api-key-secret-actions-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-actions-secret-referencetwilio · templated-referenceMust not flagT3 · Project policyQuiet
twilio-api-key-secret-cli-hidden-placeholdertwilio · documentation-placeholderMust not flagT3 · Project policyQuiet
twilio-api-key-secret-client-sk-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-compose-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-env-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-export-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-handoff-note-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-init-log-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-js-constant-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-json-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-label-prosetwilio · benign-lookalikeMust not flagT3 · Project policyQuiet
twilio-api-key-secret-masktwilio · benign-lookalikeMust not flagT3 · Project policyQuiet
twilio-api-key-secret-missing-identifiertwilio · benign-lookalikeMust not flagT3 · Project policyQuiet
twilio-api-key-secret-one-time-note-prosetwilio · prose-mentionMust not flagT3 · Project policyQuiet
twilio-api-key-secret-process-env-referencetwilio · templated-referenceMust not flagT3 · Project policyQuiet
twilio-api-key-secret-referencetwilio · benign-lookalikeMust not flagT3 · Project policyQuiet
twilio-api-key-secret-request-signature-encoded-valuetwilio · benign-encoded-valueMust not flagT1 · Provider-documentedQuiet
twilio-api-key-secret-short-secrettwilio · benign-lookalikeMust not flagT3 · Project policyQuiet
twilio-api-key-secret-x-mask-placeholdertwilio · documentation-placeholderMust not flagT3 · Project policyQuiet
twilio-api-key-secret-yaml-context-twintwilio · missing-context-markerMust not flagT3 · Project policy · twinQuiet
twilio-api-key-secret-your-secret-placeholdertwilio · documentation-placeholderMust not flagT3 · Project policyQuiet

Sources

Researched 2026-09-24.

Documentation and code

  • www.twilio.com/docs/iam/api-keys/key-resource-v1
  • github.com/twilio/twilio-oai/blob/5aa7f31977ce5812f7b7bc1f46a38555ebaa2888/spec/json/twilio_iam_v1.json

Research log

Other Twilio families