You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix generic-api-key false positive on import/destructuring lines
Add secretGroup = 1 to the generic-api-key rule so allowlist checks run
against the captured secret value (group 1) instead of the full regex match.
Without this, lines like `from config import STRIPE_API_KEY, SECRET` trigger
a false positive because the full match contains commas/spaces that bypass
the plain-identifier allowlist.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments