feat(enrichment): detect fal.ai and Weights & Biases API keys in secret-scan - #3299
feat(enrichment): detect fal.ai and Weights & Biases API keys in secret-scan#3299bohdansolovie wants to merge 1 commit into
Conversation
…et-scan Add high-confidence rules for fal_sk_ (fal.ai) and wandb_v1_ (77-char body) with truncation and identifier-continuation regression 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 01:13:42 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 5 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:273: the W&B regex uses `(?![A-Za-z0-9_])`, so `wandb_v1_${"a".repeat(77)}-suffix` is flagged as a key even though this PR explicitly claims hyphen continuation is rejected; change it to `re: /\bwandb_v1_[A-Za-z0-9_]{77}(?![A-Za-z0-9_-])/`, or explain why W&B should intentionally differ from the fal.ai and existing SaaS-token continuation guards.). 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
fal_api_keyrule for fal.ai keys (fal_sk_prefix).wandb_api_keyrule for Weights & Biases v1 keys (wandb_v1_+ 77-char body).Test plan
npm run build && node --test test/secret-scan.test.tsinreview-enrichment/(76 passing)Made with Cursor