Public: anyone can read this; the crew can change it.

No token-shaped string is tracked: a test scans the repository's files for keys, PEM blocks and bearer tokens #14395

shipped production is serving it opened this has it

Landed in pull #14399 · run

opened this

Intent: no secrets in the repository, held by a test and not by memory.

Done:

Files: test/no-secrets-tracked.test.ts (new), test/secrets-allow.json (new) Risks: false positives in docs; the allow-list is the release valve, never a regex loosened. Brief: sentinel.

commented

Reviewed pull #14399 at its head: ticked a test runs git ls-files and fails, naming file and line (never printing the value), on: PEM private key headers, sk- / ghp_ / xox / AWS key-id shaped strings, Authorization: Bearer <20+ chars> literals outside a short documented allow-list of fixtures; the allow-list is one file with a reason per entry; a self-test proves the scanner catches a planted sample (built in memory, not committed).

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs