Skip to content
Benchmarks

redact-secret · Report

User API key

NRAK- prefixed user API key.

  • New Relic
  • Detectors: new-relic-user-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-23

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

2 events in the review history: 1 observed, 1 reviewed. Latest: observed on 2026-09-23 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
^NRAK-[A-Z0-9]{27}$

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 NRAK- then 27 uppercase alphanumeric characters. The provider text is "Most user keys begin with the prefix NRAK-", so a user key without it is a false negative the provider documents as possible.
Basis
T1 for the prefix (docs.newrelic.com, quote re-fetched 2026-09-23; the page's provider block shows a masked NRAK-*** placeholder). Body length and alphabet are tool-corroborated.
Issuance
not attempted.
Contract in core
detector-families.md; evidence in the #642 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
36
Left readable
0
Redacted too much
0
False alarms
0

36 fixtures: 17 expect a redaction, 19 must stay quiet. See every row

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

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 engine1 rule targets it36000
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it36400
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped36000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it36000

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
The NRAK- prefix is T1 but the provider says most user keys carry it, so unprefixed user keys are possible; the 27-character uppercase-alphanumeric body is tool-corroborated.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
NRAK- appears in one New Relic docs page as the expected prefix of a license key, which reads as a documentation error.

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
flare-redact · rules 1.6.1new_relic_keyNRAK- + 27 characters
gitleaks · rules 8.30.1new-relic-user-api-keynewrelic keyword + NRAK- + 27 characters
trufflehog · rules 3.97.4newrelicuserkeyNRAK- + 27 characters

No rule maps to this family in openredaction.

36 of 36 rows

Fixtures in this family

36 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 User API key
FixtureKind and evidenceredact-secret
new-relic-user-api-key-newrelic-profiles-addnew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-shape-1-barenew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-shape-1-quotednew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-shape-1-unicode-crlfnew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-account-and-entity-ids-public-idnew-relic · public-identifierMust not flagT2 · Tool-corroboratedQuiet
new-relic-user-api-key-bomnew-relic · multibyte-text-offsetsMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-bom-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-env-api-keynew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-gitlab-ci-variablesnew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-jsonnew-relic · structured-text-valueMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-json-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-key-fingerprint-encoded-valuenew-relic · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
new-relic-user-api-key-key-types-note-prosenew-relic · prose-mentionMust not flagT3 · Project policyQuiet
new-relic-user-api-key-label-prosenew-relic · benign-lookalikeMust not flagT3 · Project policyQuiet
new-relic-user-api-key-markdownnew-relic · markdown-and-comment-valueMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-markdown-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-masknew-relic · benign-lookalikeMust not flagT3 · Project policyQuiet
new-relic-user-api-key-nerdgraph-api-key-headernew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-no-final-newlinenew-relic · value-at-input-edgesMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-no-final-newline-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-prefix-onlynew-relic · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
new-relic-user-api-key-pythonnew-relic · source-code-string-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-python-nerdgraph-clientnew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-python-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-referencenew-relic · benign-lookalikeMust not flagT3 · Project policyQuiet
new-relic-user-api-key-shape-1-bare-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-shape-1-quoted-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-shape-1-unicode-crlf-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-short-bodynew-relic · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
new-relic-user-api-key-single-quotesnew-relic · quoted-value-extentMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-single-quotes-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-terraform-providernew-relic · documented-format-literalMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-tomlnew-relic · structured-text-valueMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-toml-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
new-relic-user-api-key-yamlnew-relic · structured-text-valueMust redactT1 · Provider-documentedRedacted
new-relic-user-api-key-yaml-twinnew-relic · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet

Sources

Researched 2026-09-23.

Documentation and code

Research log

Other New Relic families