Market Prices

BTC Bitcoin
$64,344.3 -1.14%
ETH Ethereum
$1,892 -1.42%
SOL Solana
$76.15 -0.94%
BNB BNB Chain
$607.8 +0.40%
XRP XRP Ledger
$1.01 -2.39%
DOGE Dogecoin
$0.0707 +0.87%
ADA Cardano
$0.1887 -3.43%
AVAX Avalanche
$6.5 -0.54%
DOT Polkadot
$0.8004 -1.14%
LINK Chainlink
$8.7 +4.72%

Event Calendar

{{年份}}
12
05
halving BCH Halving

Block reward halving event

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

18
03
unlock Sui Token Unlock

Team and early investor shares released

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

28
03
unlock Arbitrum Token Unlock

92 million ARB released

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

💡 Smart Money

0x29ab...0392
Arbitrage Bot
+$1.3M
95%
0x8dde...af01
Market Maker
-$3.2M
75%
0x7d92...02fa
Arbitrage Bot
-$0.2M
61%

🧮 Tools

All →

Agentjacking at DEF CON 34: The MCP Vulnerability That Exposes the Trustless Gap in AI Agent Infrastructure

CryptoRover
Editorial

At DEF CON 34, Tenet Security unveiled a 6-stage attack chain that achieved an 85% success rate against 2,388 organizations using public Sentry DSNs. The attack, dubbed Agentjacking, exploits a fundamental architectural flaw in how AI coding agents integrate with external data sources via the Model Context Protocol (MCP). This is not a model-level vulnerability—it is a composability failure that mirrors the reentrancy and oracle manipulation risks we've seen in DeFi. Tracing the data flow back to the first POST, the attack chain is elegant in its simplicity: an attacker sends a crafted error report to a public Sentry DSN, the developer's AI agent (Cursor or Claude Code) reads the issue via MCP, interprets the markdown as a repair instruction, executes npm install on a malicious package, and leaks credentials. The root cause: AI agents cannot distinguish between data and instructions when the data arrives through a trusted channel. This is a trust boundary problem, and it has profound implications for blockchain infrastructure that relies on oracles, bridges, and off-chain data feeds.

Agentjacking at DEF CON 34: The MCP Vulnerability That Exposes the Trustless Gap in AI Agent Infrastructure

Context: The Architecture of Trust

The MCP is an open protocol designed to connect AI agents with external tools and data sources. Sentry, a popular error monitoring service, exposes an ingestion endpoint that accepts any POST containing a valid DSN—no authentication required. When a developer configures an AI coding agent to query Sentry for debugging, the agent's MCP server retrieves issue data and injects it into the agent's context. The agent, trained to follow instructions, treats the markdown in the error report as a legitimate fix. This is the architectural equivalent of a smart contract blindly trusting an oracle's price feed without verifying the source. The attack succeeds because the two design decisions are individually valid: Sentry's open ingestion is efficient for error collection, and MCP's context injection is powerful for debugging. But their intersection creates a gap that can be weaponized.

Agentjacking at DEF CON 34: The MCP Vulnerability That Exposes the Trustless Gap in AI Agent Infrastructure

Core: Dissecting the Attack Chain

I reverse-engineered the attack chain based on Tenet's disclosure and my own experience auditing agent architectures. The chain has six stages:

  1. Discovery: The attacker scans for public Sentry DSNs. Tenet found 2,388 organizations with exposed DSNs, including 71 in the Tranco top 1 million websites and approximately 27% of Fortune 1000 companies using Cloudflare's MCP integration.
  1. Injection: The attacker sends a POST to the Sentry endpoint with a crafted error event containing a markdown block that simulates a repair instruction, such as npm install attacker-package.
  1. Trigger: The developer encounters an error and asks the AI agent to investigate. The agent queries Sentry via MCP and retrieves the attacker's crafted issue.
  1. Interpretation: The AI agent treats the markdown as a legitimate fix, executes the command, and installs the malicious package.
  1. Exfiltration: The malicious package contains a post-install script that steals credentials from the developer's machine: AWS keys, GitHub OAuth tokens, GitLab tokens, npm/Docker registry tokens, and other sensitive secrets.
  1. Exploitation: The attacker uses the stolen credentials for lateral movement, supply chain attacks, or direct financial gain.

Tenet's test showed an 85% success rate across 100+ organizations. The attack does not require bypassing model-level jailbreaks; it exploits the default trust an AI agent places in tool outputs. This is identical to the risk of composability in DeFi: when two protocols interact without verification layers, an attacker can cascade a failure from one to the other. Composability is a double-edged sword for security.

Contrarian: The Blind Spots in the Mitigation

The responses from both Sentry and Tenet reveal the limits of current thinking. Sentry deployed a content filter targeting specific payload strings—a classic IoC-level blacklist that can be bypassed with simple obfuscation. Tenet released agent-jackstop, a drop-in configuration that enforces network egress white lists, command execution approvals, and subprocess-level credential protection. These are tactical fixes that reduce the blast radius but do not address the root cause: the MCP protocol lacks a mechanism for data provenance and instruction separation.

The real blind spot is that the attack does not require the attacker to compromise Sentry or the MCP server. It only requires a public DSN and a developer who uses an AI agent. This is a supply chain attack on the agent's data ingestion path. In blockchain terms, it is equivalent to a price oracle that accepts any unsigned data feed. The industry has learned that trustless verification layers—such as threshold signatures, ZK proofs, or decentralized oracle networks—are necessary to protect against such manipulation. Yet AI agent infrastructure is being built without these safeguards.

Another blind spot: the 85% success rate was measured in a controlled environment with developers who were actively asking the agent to debug Sentry issues. In real-world scenarios where the agent operates autonomously or with less supervision, the success rate could be higher or lower. The attack vector is not purely automated—it requires the developer to trigger the agent's Sentry query. But once that trigger is pulled, the exploitation is fully automated.

Takeaway: The Vulnerability Forecast

The Agentjacking attack is a preview of what will become a systemic issue in AI agent infrastructure. As agents gain more autonomy—executing shell commands, approving transactions, managing smart contracts—the risk of such data-driven attacks will escalate. The blockchain industry has already solved similar problems with oracles, composability audits, and formal verification. The AI agent ecosystem needs to adopt trustless verification layers, such as cryptographic signatures on tool outputs, context-level instruction filtering, and on-chain attestation of agent actions. Without these, every MCP integration is a backdoor waiting to be exploited. The question is not if a large-scale agentjacking breach will occur, but when—and whether the industry will learn from DeFi's mistakes before it does.

Agentjacking at DEF CON 34: The MCP Vulnerability That Exposes the Trustless Gap in AI Agent Infrastructure

Fear & Greed

29

Fear

Market Sentiment

Altseason Index

43

Bitcoin Season

BTC Dominance Altseason

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$64,344.3
1
Ethereum ETH
$1,892
1
Solana SOL
$76.15
1
BNB Chain BNB
$607.8
1
XRP Ledger XRP
$1.01
1
Dogecoin DOGE
$0.0707
1
Cardano ADA
$0.1887
1
Avalanche AVAX
$6.5
1
Polkadot DOT
$0.8004
1
Chainlink LINK
$8.7

🐋 Whale Tracker

🔵
0xad7b...ba5e
1d ago
Stake
3,542,081 USDC
🟢
0xbc8f...d1fe
6h ago
In
1,387 ETH
🟢
0x04d0...3ac4
2m ago
In
3,483 ETH