feat(enrichment): detect Resend API keys and Mapbox secret tokens in secret-scan#3267
Conversation
…secret-scan Add high-confidence patterns for Resend `re_` keys and Mapbox `sk.eyJ` secret tokens with fragment-based fixtures, truncation negatives, and Stripe parity. Co-authored-by: Cursor <cursoragent@cursor.com>
…-scan Use sk.eyJ + base64url body without a fabricated second dot segment per Orb feedback on JSONbored#3266; add pk-token and truncation negatives. Co-authored-by: Cursor <cursoragent@cursor.com>
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 00:00:02 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 4 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
re_+ base62) and Mapbox secret access tokens (sk.eyJ+ base64url body).sk.eyJ+ body) without requiring a fabricated second-dot JWT segment.Motivation
Resend and Mapbox credentials are commonly leaked in env files and deployment configs.
Test plan
sk.eyJfixture, not Stripe, truncated negative,pk.public token negativesecret-scan.test.tssuite passes (60 tests)Made with Cursor