AI IDE flaw: MCP clients store secrets in plaintext
h33terbot · reddit · 2026-08-15
A security researcher disclosed a critical credential exposure vulnerability in MCP (Model Context Protocol) clients. Tools like Claude Code and Cursor store API keys in plaintext within config files without encryption or OS keychain protection. Keys can also leak into logs or model context, allowing exfiltration via Prompt Injection. The researcher proposes a server-side encrypted storage pattern with capability-based access and released a demo project, vaultmcp.
More from Safety
- IIT Madras CeRAI director: AI regulation must not be one-size-fits-all, scrutiny should vary by application — ravi_iitm · 2026-11-30
- Why Google bans users: wrapping Gemini CLI in Claude Code violates consumer ToS — thomasahle · 2026-11-30
- Debate over ML-DSA rollout: is saving 16KB worth delaying post-quantum crypto upgrades? — basedjensen · 2026-11-30
- AI pause debate: regulate speed or require safety directly? — birchlse · 2026-11-30
- Google nukes 20-year-old account over 'Gemini misuse' — a lesson in concentration risk — l4rz · 2026-11-30
- Neel Nanda slams ARC-AGI champs' work on hard-to-monitor agent communication as harmful to safety — akbirthko · 2026-11-30