Skip to content
Benchmarks

redact-secret · Report

Personal API key

Personal API key, prefixed lin_api_.

  • Linear
  • Detectors: linear-token
  • 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
^lin_api_[A-Za-z0-9]{40}$

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

    Linear-specific API and OAuth prefixes: the provider documents lin_api_ for API keys and lin_oauth_ for OAuth access tokens; the 40-character body and alphabet remain tool-corroborated

    • linear.app/changelog/2021-08-19-github-secret-scanningprovider-documentation · last read 2026-09-29 · latest outcome read · supports the provider documents lin_api_ for API keys and lin_oauth_ for OAuth access tokens; the 40-character body and alphabet remain tool-corroborated
  • Tool corroborated · tool-corroboration · current · observed 2026-09-23

    Pinned scanner rules are consistent with the contract grammar (2 artifacts: gitleaks 8.30.1; trufflehog 3.97.4).

  • Provider documented · dossier-research · current · observed 2026-09-23

    Legacy dossier research (verdict ready, tier T1) cited 2 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
prefix lin_api_ followed by 40 alphanumeric characters (no _ or - in the body).
Basis
T1 for the prefix: Linear's changelog says API keys and OAuth access tokens were changed to include the prefixes lin_api_ and lin_oauth_. Length and alphabet come from gitleaks 8.30.1 (linear-api-key) and trufflehog 3.97.4 (linearapi), which agree.
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
27
Left readable
0
Redacted too much
0
False alarms
0

27 fixtures: 11 expect a redaction, 16 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T1Provider-documented8000
T2Tool-corroborated14000
T3Project policy2000
T0Pending review3000

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

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
The 40-character alphanumeric body is tool-corroborated (gitleaks, trufflehog); Linear states only the lin_api_ prefix.

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
lin_oauth_ is a separate credential. Gitleaks also has a context-gated 32-hex linear-client-secret rule for another Linear value.

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.1linear_keylin_api_ + 40-48 characters
gitleaks · rules 8.30.1linear-api-keylin_api_ + 40 characters
trufflehog · rules 3.97.4linearapilin_api_ + 40 characters

No rule maps to this family in openredaction.

27 of 27 rows

Fixtures in this family

27 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 Personal API key
FixtureKind and evidenceredact-secret
linear-token-dash-identifier-embeddinglinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-leading-identifier-embeddinglinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-trailing-identifier-embeddinglinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-api-plainlinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-api-plain-twinlinear · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
linear-token-api-unicode-crlflinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-api-unicode-crlf-twinlinear · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
linear-token-env-api-keylinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-graphql-authorization-headerlinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-linear-client-tslinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-masklinear · benign-lookalikeMust not flagT3 · Project policyQuiet
linear-token-oauth-dash-identifier-embeddinglinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-oauth-leading-identifier-embeddinglinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-oauth-trailing-identifier-embeddinglinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-prefix-onlylinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-referencelinear · benign-lookalikeMust not flagT3 · Project policyQuiet
linear-token-shape-1-barelinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-shape-1-bare-twinlinear · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
linear-token-shape-1-quotedlinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-shape-1-quoted-twinlinear · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
linear-token-shape-1-unicode-crlflinear · documented-format-literalMust redactT1 · Provider-documentedRedacted
linear-token-shape-1-unicode-crlf-twinlinear · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
linear-token-shape-2-barelinear · unsettled-evidence-inputPending reviewT0 · PendingUnscored
linear-token-shape-2-quotedlinear · unsettled-evidence-inputPending reviewT0 · PendingUnscored
linear-token-shape-2-unicode-crlflinear · unsettled-evidence-inputPending reviewT0 · PendingUnscored
linear-token-short-bodylinear · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
linear-token-team-and-issue-ids-public-idlinear · public-identifierMust not flagT2 · Tool-corroboratedQuiet

Sources

Researched 2026-09-23.

Documentation and code

  • linear.app/changelog/2021-08-19-github-secret-scanning

Research log

Other Linear families