feat(enrichment): detect Discord bot tokens and Twilio SIDs in secret-scan - #3263
Conversation
…-scan Add high-confidence patterns for Discord bot tokens and Twilio Account/API Key SIDs with fragment-based fixtures, truncation negatives, and webhook parity. Co-authored-by: Cursor <cursoragent@cursor.com>
Use identifier-continuation lookahead so AC/SK + 32 hex is not matched when immediately followed by a non-hex identifier char (Orb JSONbored#3262). 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-04 23:47:18 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 2 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
AC/SKrules use(?![A-Za-z0-9_])tail guards so strings likeAC…32hex…zare not false-positive SIDs.Motivation
Discord bot tokens and Twilio SIDs are commonly leaked in config files. The secret-scan analyzer covers many SaaS tokens but missed these formats.
Test plan
secret-scan.test.tssuite passesMade with Cursor