feat(js): extract secrets and endpoints from scanned javascript

the -js pipeline already pulls every <script> into a buffer but only
mined supabase jwts from it. reuse that buffer to run a credential
regex bank (aws/github/slack/stripe/google keys, pem blocks, plus
entropy-gated generic apikey/secret/token assignments) and a
linkfinder-style endpoint extractor that resolves relatives to
absolute urls. both dedupe across scripts and surface through the
existing js logger and result struct, no new flag.
This commit is contained in:
vmfunc
2026-06-09 17:54:23 -07:00
committed by vmfunc
parent 65ce36e963
commit b4e78114d7
9 changed files with 602 additions and 4 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ scopes: `common` (top ports), `full` (all ports)
### javascript analysis
`-js` - analyze javascript files
`-js` - analyze javascript files + secret and endpoint extraction
```bash
./sif -u https://example.com -js