Bouncer: An MCP Proxy That Blocks Agents from Leaking API Keys, Cutting Attack Success to 0
eccentric_ez · reddit · 2026-08-15
A developer built Bouncer, a local MCP proxy that prevents AI agents from executing malicious instructions (like leaking API keys) after reading untrusted content. It uses deterministic Python (no LLM) to gate outbound tool calls: destinations from untrusted output are denied, explicitly trusted ones allowed, and new ones ask once and remember. In benchmarks on AgentDojo's workspace suite, attack success dropped from 0.33 to 0.00 while benign utility remained 1.00. Currently MCP-only and stdio-only, with documented limits including cross-server taint propagation. The author invites discussion on potential attack paths.
More from Safety
- 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
- Philosophy Is 'Antifragile': Could Diverse-Argument Reasoning Bypass MIRI-Style Alignment Problems? — jessi_cata · 2026-11-30