Secret (API key, token, password)
Any piece of text that proves to a service that you are allowed in, such as an API key, a database password or an access token.
In plain words
It is the key to your office, written down. If it ends up on a public noticeboard, anyone can copy it and walk in.
When it affects you
Anyone who builds with AI tools and cloud services. Secrets often leak by accident: pasted into code, a public repository, a chat with an AI assistant or a shared document.
What to do today
- Keep secrets in the settings of your hosting service or in a secrets manager, not in the code.
- If a secret was ever public, treat it as stolen: create a new one and revoke the old one.
- Use the keys check on this site to look for keys left in a page.
← All termsNo. 25 / 32
Related on this site
News
- Railway says customer secrets may have been exposed: rotate them now
- MCP SDK flaw: a malicious server could collect your saved sign-in credentials
Tools
Runbook
Last reviewed: 2026-10-27. Written for non-experts. Check an advisory or your vendor for the details of a specific flaw.