feat(enrichment): detect Statsig server secret and Paddle API keys - #3344
feat(enrichment): detect Statsig server secret and Paddle API keys#3344bohdansolovie wants to merge 1 commit into
Conversation
Add high-confidence secret-scan rules for Statsig secret- server keys and Paddle pdl_(live|sdbx)_apikey_ tokens, with truncation and identifier- continuation negative tests. 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. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-05 04:20:55 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 6 non-blocking
Why this is blocked
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.
|
|
Gittensory is closing this pull request on the maintainer's behalf (AI reviewers agree on a likely critical defect: review-enrichment/src/analyzers/secret-scan.ts:403 declares the first Paddle key segment as base62 but matches only `[a-z0-9]{26}`, so a valid `pdl_live_apikey_` key with an uppercase character in that 26-character segment is silently missed; change it to `[A-Za-z0-9]{26}` or explain why this segment is actually lowercase-only despite the comment and PR description.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
statsig_server_secret_keyrule for Statsigsecret-server SDK keyspaddle_api_keyrule for Paddlepdl_(live|sdbx)_apikey_fixed-format API keysTest plan
cd review-enrichment && npm run build && node --test test/secret-scan.test.ts(98 passing)Made with Cursor