Config & design
Secrets Exposure
Credentials, tokens and keys leak through client-side JavaScript and source maps, public repositories and their history, build artifacts, container layers, mobile app packages, logs and error pages. A leaked secret often gives direct access to a cloud account, a database, a payment or messaging provider, or an internal API, so exposure is high impact even when the bug itself is simple. This category lists detection patterns and search commands, not credentials.
- 138 payloads
- 1 file
- README on GitHub
Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.
These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.
Payload files
Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.
secrets-exposure-patterns.txt
138 payloads · 7.2 KBLoading payloads for Secrets Exposure…
Common Attack Vectors#
- Secrets embedded in bundled JavaScript, source maps and HTML comments
- Configuration and environment files, backups and VCS history exposed on the web
- Committed keys in repositories, forks, gists, issues and CI logs
- Keys in mobile apps, desktop installers and container image layers
- Verbose errors and debug pages that print connection strings and tokens
- Pre-signed URLs and tokens with excessive lifetime or scope
- Third-party secrets in public API documentation and Postman collections
Testing Approach#
Collect JavaScript, source maps and public repository content within your scope, then search with the patterns here. Treat every match as a lead and confirm the format and context by reading the code around it. Do not use a discovered credential beyond the minimum your program allows to show that it is live (many programs prohibit any use); never access customer data, never copy secrets into reports in full, and redact all but the first few characters. Report the location, the type, the exposure period if known, and the rotation advice. Rotate a secret as soon as it has been found.
References#
Responsible Use
All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.
- Systems and applications you own
- Authorized penetration testing engagements
- Bug bounty programs with defined scope
- Educational lab environments (DVWA, WebGoat, HackTheBox)