Skip to content
Benchmarks

redact-secret · Report

Team API key (e2b_)

e2b_ + 40 lowercase hex (20 random bytes); the retired sk_e2b_ user token is a different class.

  • E2B
  • Detectors: e2b-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 e2b-api-key since redact-secret#905 (registry pinned at 1127bf9); graduated from a Beta.11 arrival family (#434 slice c, #860 Tier A handoff), contract in benchmarks/lib/beta8/434c.ts. T1.

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
^e2b_[0-9a-f]{40}$

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 e2b_, then exactly 40 lowercase hex characters (44 in total), no separators or checksum.
Basis
T1 under ruling R1 from e2b-dev/infra: the key package sets ApiKeyPrefix = "e2b_" and generates 20 random bytes hex-encoded, and the legacy SQL generator and a local-dev seed test agree. The prefix and keyLength = 20 were unchanged when re-checked on 2026-09-28. One contradicting third-party connector page (32 length) was traced to an illustrative value.
Issuance
not attempted; optional structure check on one console-issued key.
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
43
Left readable
0
Redacted too much
0
False alarms
0

43 fixtures: 17 expect a redaction, 26 must stay quiet. See every row

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

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

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
the 40-hex body alone is SHA-1 and git-SHA shaped, so the prefix is load-bearing. Package names such as e2b_code_interpreter fail the exact-40-hex body. An uppercase-hex body is accepted by the server verifier but never issued.

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

43 of 43 rows

Fixtures in this family

43 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 Team API key (e2b_)
FixtureKind and evidenceredact-secret
e2b-api-key-bare-prosee2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-bearer-headere2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-chat-pastee2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-compose-enve2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-curl-x-api-keye2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-dotenve2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-exporte2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-js-sandboxe2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-json-api-keye2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-json-tokene2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-key-shape-baree2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-key-shape-quotede2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-key-shape-unicode-crlfe2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-mcp-enve2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-python-sandboxe2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-sdk-kwarge2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-trailing-glue-twine2b · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-x-api-key-headere2b · documented-format-literalMust redactT1 · Provider-documentedRedacted
e2b-api-key-actions-secret-referencee2b · templated-referenceMust not flagT3 · Project policyQuiet
e2b-api-key-body-39-twine2b · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-body-41-twine2b · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-ellipsis-placeholdere2b · documentation-placeholderMust not flagT3 · Project policyQuiet
e2b-api-key-env-reference-referencee2b · templated-referenceMust not flagT3 · Project policyQuiet
e2b-api-key-g-in-body-twine2b · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-git-sha-encoded-valuee2b · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
e2b-api-key-hyphen-in-body-twine2b · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-hyphen-separator-twine2b · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-key-guidance-prosee2b · prose-mentionMust not flagT3 · Project policyQuiet
e2b-api-key-label-prosee2b · benign-lookalikeMust not flagT3 · Project policyQuiet
e2b-api-key-leading-glue-twine2b · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-leading-underscore-twine2b · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-maske2b · benign-lookalikeMust not flagT3 · Project policyQuiet
e2b-api-key-masked-placeholdere2b · documentation-placeholderMust not flagT3 · Project policyQuiet
e2b-api-key-module-names-public-ide2b · public-identifierMust not flagT2 · Tool-corroboratedQuiet
e2b-api-key-package-import-public-ide2b · public-identifierMust not flagT2 · Tool-corroboratedQuiet
e2b-api-key-prefix-onlye2b · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
e2b-api-key-referencee2b · benign-lookalikeMust not flagT3 · Project policyQuiet
e2b-api-key-retired-user-token-twine2b · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-short-bodye2b · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
e2b-api-key-template-digest-encoded-valuee2b · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
e2b-api-key-truncated-near-misse2b · format-near-missMust not flagT2 · Tool-corroboratedQuiet
e2b-api-key-uppercase-hex-byte-twine2b · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
e2b-api-key-uppercase-prefix-twine2b · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-28.

Documentation and code

  • docs.e2b.dev/api-key
  • github.com/redact-secret/redact-secret/blob/270faf84dc12f6a4a4cf61fe3ffab7aadc4f7262/docs/audits/evidence/860/e2b.md
  • github.com/e2b-dev/infra/tree/132dadd2ef55bbac301528500e8a4538caf4b163

Research log