Skip to content
Benchmarks

redact-secret · Report

API key (re_)

re_ + 8 alphanumerics + _ + 24 alphanumerics, 36 in all; full_access and sending_access keys share the shape.

  • Resend
  • Detectors: resend-api-key
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT1 · Provider-documented
  • Dossier researched2026-09-28
Registry detector resend-api-key since redact-secret#915 (registry pinned at 1127bf9); graduated from a Beta.11 arrival family (#436), contract in benchmarks/lib/beta8/436d.ts. T1 on the provider CLI prefix and the docs/SDK example layout (R5); neither pinned scanner has a Resend rule.

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-28

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-28 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

Descriptive pattern
^re_[A-Za-z0-9]{8}_[A-Za-z0-9]{24}$

Parts are shown as recorded. Evidence classes belong to the facts below; no class is assigned to a part.

Format facts

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
prefix re_, then 8 characters, an underscore, and 24 characters (36 in total), alphanumeric in both segments.
Basis
prefix T1: the provider CLI rejects a key that does not start with re_ ("Your key must start with re_"). The 8 + _ + 24 layout is T1 by example under ruling R5: the create-API-key docs example, plus provider SDK fixtures (three distinct values across the Go, Python, Node and .NET SDKs). The live docs example was re-measured on 2026-09-28. The three samples are consistent with base58, but three samples show what is present, not what is excluded, so the handoff takes the alphanumeric superset (the #655 Entra precedent).
Issuance
not attempted.
Contract in core
detector-families.md.

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
42
Left readable
0
Redacted too much
0
False alarms
0

42 fixtures: 17 expect a redaction, 25 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented17000
T2Tool-corroborated16000
T3Project policy9000

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 it421521
gitleaksRepository scanner · 8.30.1 · Directory scan · default rulesNo rule maps to it42802
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped42000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it421700

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
Segment layout and length rest on provider examples and SDK fixtures (R5), not a stated grammar; the alphanumeric superset was chosen deliberately over the base58 seen in samples.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
re_ is very short and ends many identifiers and Python names; the leading boundary removes glued cases and the handoff adds a mixed-case post check (false-negative cost about 6e-8). No other issuer using re_ was found.

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.

No peer rule maps to this family

None of the reviewed peer scanners has a rule that can match a credential of this family.

None mapped

42 of 42 rows

Fixtures in this family

42 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 (re_)
FixtureKind and evidenceredact-secret
resend-api-key-bare-proseresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-bearer-headerresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-chat-pasteresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-compose-envresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-curl-bearerresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-digits-placeholderresend · documentation-placeholderMust not flagT3 · Project policyQuiet
resend-api-key-dotenvresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-exportresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-json-api-keyresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-json-tokenresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-key-shape-bareresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-key-shape-quotedresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-key-shape-unicode-crlfresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-mcp-envresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-python-moduleresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-sdk-kwargresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-trailing-glue-twinresend · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-ts-clientresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-webhook-secret-twinresend · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-x-api-key-headerresend · documented-format-literalMust redactT1 · Provider-documentedRedacted
resend-api-key-are-glue-twinresend · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-env-reference-referenceresend · templated-referenceMust not flagT3 · Project policyQuiet
resend-api-key-hyphen-separator-twinresend · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-key-guidance-proseresend · prose-mentionMust not flagT3 · Project policyQuiet
resend-api-key-label-proseresend · benign-lookalikeMust not flagT3 · Project policyQuiet
resend-api-key-maskresend · benign-lookalikeMust not flagT3 · Project policyQuiet
resend-api-key-masked-placeholderresend · documentation-placeholderMust not flagT3 · Project policyQuiet
resend-api-key-pre-identifier-public-idresend · public-identifierMust not flagT2 · Tool-corroboratedQuiet
resend-api-key-prefix-onlyresend · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
resend-api-key-python-re-names-public-idresend · public-identifierMust not flagT2 · Tool-corroboratedQuiet
resend-api-key-referenceresend · benign-lookalikeMust not flagT3 · Project policyQuiet
resend-api-key-second-underscore-twinresend · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-segment1-7-twinresend · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-segment1-9-twinresend · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-segment2-23-twinresend · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-segment2-25-twinresend · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-short-bodyresend · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
resend-api-key-truncated-near-missresend · format-near-missMust not flagT2 · Tool-corroboratedQuiet
resend-api-key-underscore-glue-twinresend · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-uppercase-prefix-twinresend · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
resend-api-key-x-run-placeholderresend · documentation-placeholderMust not flagT3 · Project policyQuiet
resend-api-key-your-key-placeholderresend · documentation-placeholderMust not flagT3 · Project policyQuiet

Sources

Researched 2026-09-28.

Documentation and code

Research log