Yelp detect-secrets test_data/

Yelp detect-secrets’ curated credential fixture corpus.

Vulnerabilities brass detects

These are the specific lines brass catches in this codebase. Re-running brass at the pinned commit reproduces each one. 6 required findings:

FileLineCategoryDetected byCWE / Bandit ID
each_secret.py6hardcoded_credentialSecretsScannerBasic Auth Credentials in URL (CWE-798)
each_secret.py8hardcoded_credentialSecretsScannerAWS Access Key (CWE-798)
each_secret.py9hardcoded_credentialSecretsScannerAWS Secret Access Key (CWE-798)
each_secret.py4hardcoded_credentialSecretsScannerHigh Entropy Base64 String (CWE-798)
each_secret.py5hardcoded_credentialSecretsScannerHigh Entropy Hex String (CWE-798)
config.ini32hardcoded_credentialSecretsScannerKeyword-based Secret Detection (CWE-798)

Documented vulnerabilities brass doesn’t yet catch

Honest list of gaps — vulnerabilities documented upstream but missed by brass’s current scanner set. We publish these so customers see the full picture, not just successes. 3 aspirational entries:

FileLineCategoryWhat brass doesn’t catch yet
each_secret.py99hardcoded_credentialGitHub PAT (ghp_…) — no fixture in test_data/
each_secret.py99hardcoded_credentialStripe sk_live_… — no fixture in test_data/
each_secret.py99hardcoded_credentialJWT eyJ… — no fixture in test_data/

Reproduce locally

git clone https://github.com/Yelp/detect-secrets.git project
cd project && git checkout 01886c8a910c64595c47f186ca1ffc0b77fa5458
brasscoders --offline scan .

Then check .brass/detailed_analysis.yaml for the listed findings.