Cyber Risks · Trail of Bits Blog

We built the security layer MCP always needed

Summary: Trail of Bits released a beta security wrapper called mcp-context-protector that proxies tool calls between an LLM app and any MCP server, targeting "line jumping" attacks where a malicious server hides prompt injection in tool descriptions or server instructions before any tool is invoked. The wrapper uses trust-on-first-use: it blocks a new server's tools and descriptions until a user reviews and approves the configuration via CLI, blocks any tool whose description or parameters change, blocks the entire server if its instructions change, and can quarantine tool responses flagged by guardrails such as LlamaFirewall.

Bottom line: The defense depends on a human manually approving every configuration change, and the authors warn that vendors updating MCP servers frequently will cause alert fatigue, leading users to miss malicious behavior or abandon the controls entirely. They recommend centralized review by security engineers rather than leaving each user to protect their own deployment.

Read the original at Trail of Bits Blog ↗

Topics
AI Security
Related