Frontend secret leak and JWT checker

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.

Secrets, tokens, and tracebacks inspected

Finding IDTarget pattern
LEAK-SECRET-AWSAWS access key prefixes exposed in HTML, JSON, or JS bundles.
LEAK-SECRET-GITHUB, LEAK-SECRET-STRIPE, LEAK-SECRET-SLACK, LEAK-SECRET-GOOGLE-APIAPI tokens and webhook keys embedded inside frontend code or error payloads.
LEAK-PRIVATE-KEYPEM private key headers accidentally served over HTTP or embedded in assets.
LEAK-DB-CONNECTIONDatabase connection URIs containing embedded credentials.
AUTH-JWT-ALG-NONE, AUTH-JWT-NO-EXPJWT headers using alg: none or claims missing exp expiration timestamps.
INFO-API-STACKTRACE, INFO-INTERNAL-HEADERVerbose framework stack traces and internal service hostnames.

Redaction guarantees and CLI command

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.

Frequently asked questions

Will full leaked tokens be printed in GitHub Actions logs?

No. SecretRedactor masks middle characters of detected credentials and strips user-supplied auth headers before any output formatter runs.

Does the scanner fetch third-party CDN bundles looking for secrets?

No. Script bundle and secret inspection strictly follows same-origin URLs scoped to your target scheme, host, and port.

Related guides

JavaScript and source map audit

Inspect same-origin JS bundles for exposed .js.map files and hidden API routes.

Exposed files and Git metadata scanner

Catch leaked .env and .git/config files before credentials leak.

GitHub Actions SARIF audit

Upload masked secret findings straight to GitHub Code Scanning.