Project 71 of 84
Secret Scan
Zero-dependency classification gate behind gitleaks and trufflehog that labels every finding public, private or triage so CI gets one answer (.summary.private), extracted from next-starters into its own private package @catesworks/secret-scan.
- Status
- Shipped
- Last activity
- 2026
- Stack
- Node.js ESM
- TypeScript
- Go
- gitleaks
- trufflehog
- GitHub Packages npm registry
- GitHub Actions
- Docusaurus
Highlights
- Extracted a fleet-wide CI secret-scanning gate (gitleaks/trufflehog classifier and filters) into a standalone, zero-dependency private package (@catesworks/secret-scan 0.2.0) kept byte-identical to its upstream via SHA pins, golden fixtures and a frozen 74-test baseline, with read access for 27 consumer repos.
- Built TypeScript and Go implementations of the scanner whose regex tables are generated from the JS source and proven byte-equivalent by a live three-way oracle over hermetic git scenarios (129/129) plus a seeded differential fuzzer.
- Ported a line-bound allowlist that binds each exception to the sha256 of the exact source line at the finding's commit and fails toward reporting, after showing that prefix-only fingerprints collide across secrets and two path exceptions hid files in 17 and 13 repos.
- Hardened the npm release pipeline for GitHub Packages with a tag-equals-version guard and npm 12 compatibility, and recorded five ADRs covering layout, generation, pinning, allowlisting and versioning.
- Shipped a Docusaurus docs site with two blog posts and a 41-page Next.js 16 marketing site with test-synced tool pages and a link-crawl build check, deployed to Vercel through manual, environment-scoped workflows.