Client-side bundles and API error payloads frequently ship accidental cloud credentials, database connection strings, or weak tokens. The response auditor inspects payloads in memory and masks every secret before saving any report.
| Finding ID | Target pattern |
|---|---|
LEAK-SECRET-AWS | AWS access key prefixes exposed in HTML, JSON, or JS bundles. |
LEAK-SECRET-GITHUB, LEAK-SECRET-STRIPE, LEAK-SECRET-SLACK, LEAK-SECRET-GOOGLE-API | API tokens and webhook keys embedded inside frontend code or error payloads. |
LEAK-PRIVATE-KEY | PEM private key headers accidentally served over HTTP or embedded in assets. |
LEAK-DB-CONNECTION | Database connection URIs containing embedded credentials. |
AUTH-JWT-ALG-NONE, AUTH-JWT-NO-EXP | JWT headers using alg: none or claims missing exp expiration timestamps. |
INFO-API-STACKTRACE, INFO-INTERNAL-HEADER | Verbose framework stack traces and internal service hostnames. |
web-vuln-scanner https://example.com --max-pages 25 --html secrets-audit.html --sarif secrets.sarif
SecretRedactor masks matched keys and supplied -H authorization headers across terminal logs, JSON baselines, HTML reports, Markdown, and SARIF outputs so raw credentials never get copied into CI artifacts.
No. SecretRedactor masks middle characters of detected credentials and strips user-supplied auth headers before any output formatter runs.
No. Script bundle and secret inspection strictly follows same-origin URLs scoped to your target scheme, host, and port.
Inspect same-origin JS bundles for exposed .js.map files and hidden API routes.
Catch leaked .env and .git/config files before credentials leak.
Upload masked secret findings straight to GitHub Code Scanning.