How MCP Servers Leak Your API Keys — and How to Fix It
MCP configuration files exposed 24,008 secrets in 2025. Here's why AI agent setups leak keys, how the attack works, and how the safe_key pattern keeps real keys out of the agent.
ProphetKey Blog
Practical guides and data-driven research on how API keys leak in AI workflows — and how to keep them safe without giving up the tools you use every day.
MCP configuration files exposed 24,008 secrets in 2025. Here's why AI agent setups leak keys, how the attack works, and how the safe_key pattern keeps real keys out of the agent.
28.6M+ secrets leaked on public GitHub in 2025 (+34% year-over-year) and AI-service keys surged 81%. A digest of the data, the MCP leak vector, and what it means for developers.
Where should your API keys actually live? A practical comparison of a local-first encrypted vault against cloud secret managers for the keys you use with AI coding tools.