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
{{ message }}
Repository navigation
fix(rules): leaked-secrets finding in an external script names no page, affectedPagesCount is 0 #1755
In run 01M757TPD9XB453C5MNP5M29HV the security/leaked-secrets item is Stripe Live Key: sk_liv********************cHf3 found in external-script (https://nutshop.squirrelscan.com/_fault/shop-config.js); the topIssues row has affectedPagesCount: 0 and no pages. The page that loads the script (/products/crunchy-peanut-butter) is not named, and the inline copy of the same key in that page's HTML (window.__SHOP_CONFIG__) is not reported as a separate occurrence. The fix action therefore cannot point at a page. The rule is reported as severity error with details.severity: critical.
Acceptance Criteria
The finding lists the page or pages that load the script.
An inline occurrence in page HTML is reported with its page.
The rule name and message do not call a hard-coded key an environment variable unless the evidence shows one (the rule is named "Leaked Environment Variables").
Activity
fix(rules): leaked-secrets findings name the pages they sit on #1755
nc9 commentedon Nov 12, 2026
Shipped in v0.0.179: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.179
Acceptance criteria checked against the tag; the change is aa6aadd.
nik