Install
$ agentstack add mcp-deconvolute-labs-mcp-deconvolute-demo ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Live MCP Attack Scenarios
[](https://www.python.org/downloads/) [](https://opensource.org/licenses/Apache-2.0) [](https://github.com/astral-sh/uv) [](https://github.com/deconvolute-labs/deconvolute)
Runnable exploits against the Model Context Protocol and how to stop them in a few lines of code.
Each scenario is a deterministic local environment: run the attack, watch it succeed, then activate the Deconvolute firewall and watch it fail.
Scenarios
1. [Rug Pull (Schema Tampering)](/scenarios/rug_pull/Readme.md)
A compromised MCP server silently swaps a tool definition mid-session to steal your agent's API keys. Demonstrates how mcp_guard cryptographically seals tool definitions and enforces policy-as-code. Blog post
2. [DNS Rebinding (SSRF via Transport Hijacking)](/scenarios/dns_rebinding/Readme.md)
A malicious server flips its DNS record after the initial handshake, tricking the MCP client into firing payloads into your private internal network. Demonstrates how secure_sse_session pins network routing and blocks transport manipulation.
3. [Agent Policy Enforcement and Observability (Issue Triage)](/scenarios/policyenforcementcowork/Readme.md)
A GitHub issue triage agent in Claude Cowork attempts a tool call outside its declared policy. The Deconvolute proxy intercepts it, blocks it, and logs it in real time. Demonstrates policy-as-code enforcement at the MCP tool call surface and live observability via the enterprise platform dashboard. Requires Claude Desktop with Cowork enabled. Blog post
Setup
Prerequisites: Python 3.13, uv (recommended)
git clone https://github.com/deconvolute-labs/mcp-deconvolute-demo.git
cd mcp-deconvolute-demo
uv sync
uv run dcv-demo setup # Seeds the local SQLite databases for the rug pull demo
Scenario 3 requires additional setup. See the [Readme](/scenarios/policyenforcementcowork/Readme.md) for details.
Deconvolute SDK
Each scenario in this repo runs in two modes: unprotected and protected. The protected mode uses the Deconvolute SDK, an open-source MCP security SDK that wraps your existing agent session and enforces runtime policy.
In the rug pull scenario it cryptographically seals tool definitions at discovery time, so any mid-session swap is caught before the LLM ever sees the modified schema. In the DNS rebinding scenario it pins the resolved IP address to the network socket at connection time, so DNS manipulation has no effect on where requests actually go. In the policy enforcement scenario it enforces argument-level policy via CEL conditions at the MCP tool call surface, blocking cross-scope tool calls before they reach the upstream server.
pip install deconvolute
Protect your own agents · Integration docs · deconvolutelabs.com
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: deconvolute-labs
- Source: deconvolute-labs/mcp-deconvolute-demo
- License: Apache-2.0
- Homepage: https://deconvolutelabs.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.