redact-secret · Report
User API key
NRAK- prefixed user API key.
Research record
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
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
Provider documented ·
provider-source· current · observed 2026-09-23NRAK- user-key prefix: New Relic says most user keys begin with NRAK-; body length and alphabet remain tool-corroborated
- docs.newrelic.com/docs/infrastructure-as-code/terraform/terraform-intro/provider-documentation · last read 2026-09-23 · latest outcome read · supports New Relic says most user keys begin with NRAK-; body length and alphabet remain tool-corroborated
Tool corroborated ·
tool-corroboration· current · observed 2026-09-23Pinned scanner rules are consistent with the contract grammar (2 artifacts: gitleaks 8.30.1; trufflehog 3.97.4).
- gitleaks/gitleaks @ v8.30.1: config/gitleaks.tomlscanner-rule-source · last read 2026-10-04 · latest outcome read · supports gitleaks 8.30.1: gitleaks.toml
- trufflesecurity/trufflehog @ v3.97.4: pkg/detectors/newrelicuserkey/newrelicuserkey.goscanner-rule-source · last read 2026-09-23 · latest outcome read · supports trufflehog 3.97.4: newrelicuserkey/newrelicuserkey
Provider documented ·
dossier-research· current · observed 2026-09-23Legacy dossier research (verdict ready, tier T1) cited 2 sources; the dossier does not attribute sources to individual properties.
- docs.newrelic.com/docs/infrastructure-as-code/terraform/terraform-intro/provider-documentation · last read 2026-09-23 · latest outcome read · supports Cited by the legacy dossier research for this family
- redact-secret/redact-secret @ 8b6a5fde52ecb4dfce13f09c7a947062d21483c7: docs/audits/evidence/642/README.mdproject-research-note · last read 2026-09-23 · latest outcome read · supports Final research evidence recorded by the legacy dossier
Open questions
No open question is recorded for this revision.
Benchmark dossier notes
- 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
- 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
| Evidence level | Fixtures | Left readable | Too much | False alarms |
|---|---|---|---|---|
| T1Provider-documented | 17 | 0 | 0 | 0 |
| T2Tool-corroborated | 15 | 0 | 0 | 0 |
| T3Project policy | 4 | 0 | 0 | 0 |
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.
| Scanner | Fixtures | Left readable | Too much | False alarms |
|---|---|---|---|---|
| flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engine1 rule targets it | 36 | 0 | 0 | 0 |
| gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it | 36 | 4 | 0 | 0 |
| redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped | 36 | 0 | 0 | 0 |
| trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it | 36 | 0 | 0 | 0 |
Benchmark dossier questions
- 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
- 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
| Scanner | Rule | What the rule matches |
|---|---|---|
| flare-redact · rules 1.6.1 | new_relic_key | NRAK- + 27 characters |
| gitleaks · rules 8.30.1 | new-relic-user-api-key | newrelic keyword + NRAK- + 27 characters |
| trufflehog · rules 3.97.4 | newrelicuserkey | NRAK- + 27 characters |
No rule maps to this family in openredaction.
Fixtures in this family
| Fixture | Kind and evidence | redact-secret |
|---|---|---|
new-relic-user-api-key-newrelic-profiles-addnew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-shape-1-barenew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-shape-1-quotednew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-shape-1-unicode-crlfnew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-account-and-entity-ids-public-idnew-relic · public-identifier | Must not flagT2 · Tool-corroborated | Quiet |
new-relic-user-api-key-bomnew-relic · multibyte-text-offsets | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-bom-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-env-api-keynew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-gitlab-ci-variablesnew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-jsonnew-relic · structured-text-value | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-json-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-key-fingerprint-encoded-valuenew-relic · benign-encoded-value | Must not flagT2 · Tool-corroborated | Quiet |
new-relic-user-api-key-key-types-note-prosenew-relic · prose-mention | Must not flagT3 · Project policy | Quiet |
new-relic-user-api-key-label-prosenew-relic · benign-lookalike | Must not flagT3 · Project policy | Quiet |
new-relic-user-api-key-markdownnew-relic · markdown-and-comment-value | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-markdown-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-masknew-relic · benign-lookalike | Must not flagT3 · Project policy | Quiet |
new-relic-user-api-key-nerdgraph-api-key-headernew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-no-final-newlinenew-relic · value-at-input-edges | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-no-final-newline-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-prefix-onlynew-relic · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
new-relic-user-api-key-pythonnew-relic · source-code-string-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-python-nerdgraph-clientnew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-python-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-referencenew-relic · benign-lookalike | Must not flagT3 · Project policy | Quiet |
new-relic-user-api-key-shape-1-bare-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-shape-1-quoted-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-shape-1-unicode-crlf-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-short-bodynew-relic · benign-lookalike | Must not flagT2 · Tool-corroborated | Quiet |
new-relic-user-api-key-single-quotesnew-relic · quoted-value-extent | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-single-quotes-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-terraform-providernew-relic · documented-format-literal | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-tomlnew-relic · structured-text-value | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-toml-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
new-relic-user-api-key-yamlnew-relic · structured-text-value | Must redactT1 · Provider-documented | Redacted |
new-relic-user-api-key-yaml-twinnew-relic · prefix-near-miss | Must not flagT2 · Tool-corroborated · twin | Quiet |
Sources
Documentation and code
- docs.newrelic.com/docs/infrastructure-as-code/terraform/terraform-intro/
Research log
- redact-secret/redact-secret#642Research issue
- Final evidence, pinned to a commit/redact-secret/redact-secret/blob/8b6a5fde52ecb4dfce13f09c7a947062d21483c7/docs/audits/evidence/642/README.md