Tips

Leaked secrets and API keys tips

Leaked secrets are credentials, API keys and tokens exposed in code, apps, logs or public files. Their impact is what the key can do, so check it carefully and minimally.

Published tips, newest first. Payloads and commands are shown as plain text.

Leaked secrets and API keys: how to hunt it

Where to look

  • JavaScript bundles, source maps and mobile apps that ship keys.
  • Public repositories, gists and CI logs of the company and its developers.
  • Exposed configuration files, environment dumps and debug endpoints.
  • Each key’s provider and scope, checked with the least intrusive read-only call.

What proves it

Show which service and identity the key belongs to with one read-only request, say where you found it, keep the full key out of anything public, and never use it on real data.

Read further

Writeups on Leaked secrets and API keys, by hunters and researchers, most with a short summary.

Related classes