Loading...

tools / secret-scanner

Secret Scanner

Scan pasted logs, env snippets, configs, and stack traces for likely tokens, keys, credentials, and redaction gaps.

P1Auth / SecurityHigh severity
100
debug signal score
3 signals

3 signals detected. Start with aws secret-like key.

Detected signals

AWS secret-like key

AWS credential material may be present.

Rotate the key if it left a trusted boundary and replace it with a redacted placeholder.

API key-like token

An API key or provider token may be present.

Revoke or rotate exposed keys and scrub logs, screenshots, and fixtures.

Database URL with credentials

A connection string may include username, password, host, and database.

Rotate passwords and redact username, password, host, and database name before sharing.

Highlighted lines
line 1
AWS_SECRET_ACCESS_KEY=abcd1234
AWS secret-like key
line 2
DATABASE_URL=postgres://user:pass@example/db
Database URL with credentials
line 3
sk-live-1234567890abcdef
API key-like token
Fix checklist
Rotate the key if it left a trusted boundary and replace it with a redacted placeholder.
Revoke or rotate exposed keys and scrub logs, screenshots, and fixtures.
Rotate passwords and redact username, password, host, and database name before sharing.
Do not paste production secrets into issues or screenshots.
Rotate any token that left a trusted boundary.
Replace values with stable placeholders that preserve format only.

DebugTools product

Secret Scanner

Secret Scanner is a focused DebugTools mini-product for developers. Scan pasted logs, env snippets, configs, and stack traces for likely tokens, keys, credentials, and redaction gaps.

Use cases

  • Scan logs and config snippets before sharing them publicly.
  • Find likely API keys, tokens, cookies, private keys, and database URLs.
  • Create safe placeholders while preserving enough shape for debugging.

How it works

  • Paste or load the snippet you want to inspect in Secret Scanner.
  • Run the tool in the browser and review the highlighted output.
  • Copy, export, or turn the result into the next debugging step.

Privacy

  • Secret Scanner is local-first. The core workflow runs in your browser and does not require sending pasted content to DebugTools servers.

This tool history

Recent Secret Scanner sessions

Only visits for this tool are shown. Pasted content, tokens, request bodies, and logs are not stored here.

Loading this tool history...