arxiv.org mcp-cage: Open-Source Security Firewall for AI Coding Agents and MCP Servers
Article Content
- •mcp-cage is an open-source, zero-dependency Python firewall that wraps MCP servers and agent lifecycle hooks for AI coding tools.
- •The project targets the 'Lethal Trifecta' pattern: private data access, untrusted content ingestion, and external egress in one agent session.
- •Claimed capabilities include secret scrubbing for 11+ credential types, tool schema pinning, and blocking of sampling hijacks.
- •The reporting describes a product release and educational material; no active exploitation or affected-user incident is reported.
- •Effectiveness claims are the project's own and have not been independently verified in these sources.
mcp-cage is a Python package (version 0.4.3.post16, published to PyPI) that presents itself as a security firewall for AI coding agents including Claude Code, Cursor, OpenAI Codex CLI, Gemini CLI, Google Antigravity, and Claude Desktop.
The project describes its design as a zero-dependency, Python 3.10+ standard-library tool that wraps stdio MCP servers and plugs into native agent lifecycle hooks.
Its stated purpose is to address the risk when an agent combines access to private data, ingestion of untrusted content, and external egress in one session, which the project calls the 'Lethal Trifecta'.
The project claims to scrub more than 11 credential classes from MCP traffic, pin tool schemas via an mcp-lock.json file, block sampling/createMessage hijacks, and share a cross-process SQLite WAL taint and secret store across hooks.
The project's own pages describe it as addressing indirect prompt injection and poisoned MCP tool definitions, citing MCPTox and CVE-2025-54135 (CurXecute) as examples of the threat.
The articles do not report any attack or incident affecting users; the content is a product description and educational material. The articles do not state any measured effectiveness of the tool.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (5)
Following this threat?
Track Cursor and CVE-2021-42574 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Is there an active threat that this tool responds to?
Does mcp-cage have independently verified effectiveness?
What should a defender do with this information?
Continue Reading
Broadcom patches critical VMware vCenter auth bypass flaws Broadcom disclosed VMware Security Advisory VMSA-2026-0009 on November 19, 2026, covering vulnerabilities in VMware vCenter, Tools, and SDDC Manager. CVE-2026-123890, a CVSS 9.8 authentication bypass in the VMware Directory Service, is listed in CISA's KEV catalog, which the verified record gives as 2026-11-20.…
Critical WP Rocket Path Traversal RCE (CVE-2026-125812) Under Active Exploitation CVE-2026-125812 is a path traversal flaw in the WP Rocket WordPress caching plugin, fixed in version 3.24.2, that allows unauthenticated remote code execution. Patchstack scores it CVSS 3.1 9.8 and says every release before 3.24.2 is affected; WP Media states the plugin is installed on more than 5.6 million sites. The…