MCP Rug Pull: Approved-Then-Mutated Agent Tools
A server or configuration approved as clean later changed its tool descriptions, code, or launch config, so the agent kept trusting it without a new approval prompt — including Cursor, where an MCP configuration flaw (CVE-2025-54136) let a mutated tool run without re-validation.
What happened
Invariant Labs introduced the MCP rug-pull pattern alongside tool poisoning in April 2025: a server or configuration approved as clean later changes its tool descriptions, code, or launch config, and the agent keeps trusting it without a new approval prompt. The trust decision, not the description content, is the vulnerability.
The pattern became a catalogued vulnerability in Cursor: CVE-2025-54136, disclosed by Check Point Research in July 2025 (CVSS 8.8) and patched in Cursor 1.3 in late July 2025, because Cursor did not re-validate tool definitions after initial approval of an MCP configuration.
Why it maps to ATLAS
- AML.T0109 — AI Supply Chain Rug Pull: a trusted tool is turned malicious after gaining adoption, without a new trust decision.
- AML.T0010.005 — Supply Chain Compromise: AI Agent Tool: the agent-tool distribution channel is the thing subverted.
Detection notes
The cited defence is tool pinning: hash descriptions at approval and refuse to execute when the hash changes, snapshot each server’s tool list at approval, and diff snapshots in CI. No vendor SIEM rule is quoted in the cited sources; the signal is the change itself — a trusted tool whose definition moved without a new approval.
Detection
Log sources
- MCP tool-list snapshots at approval vs at runtime
- MCP server version / integrity audit
- Agent tool-invocation logs
Signals
- A previously approved tool whose description, code, or launch config changed without a new approval
- A pinned tool suddenly behaving differently or reaching new destinations
Mitigations
- Pin tools at approval: hash descriptions, snapshot the tool list, refuse on change
- Pin exact server versions and diff tool-list snapshots in CI
- Re-validate tool definitions after initial approval of an MCP configuration