Market Prices

BTC Bitcoin
$77,194.4 -2.03%
ETH Ethereum
$2,447.12 -3.14%
SOL Solana
$100.22 -2.55%
BNB BNB Chain
$724.3 -0.03%
XRP XRP Ledger
$1.41 -1.09%
DOGE Dogecoin
$0.0825 -2.58%
ADA Cardano
$0.2043 -3.27%
AVAX Avalanche
$7.52 -0.95%
DOT Polkadot
$0.9924 -1.54%
LINK Chainlink
$11.4 -1.56%

Event Calendar

{{年份}}
10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

12
05
halving BCH Halving

Block reward halving event

28
03
unlock Arbitrum Token Unlock

92 million ARB released

18
03
unlock Sui Token Unlock

Team and early investor shares released

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

0x3b1d...a717
Arbitrage Bot
+$3.8M
63%
0x9fcd...04f4
Early Investor
+$2.5M
75%
0x3e03...d60b
Institutional Custody
-$3.5M
62%

🧮 Tools

All →

Agentjacking at DEF CON 34: How Public Sentry DSNs Become a Crypto Developer's Nightmare

StackShark Cryptopedia

Metadata mismatch found.

A freshly disclosed attack vector at DEF CON 34 weaponizes public Sentry DSNs—the seemingly harmless error ingestion endpoints—to hijack AI coding agents. The target: developer machines holding AWS keys, GitHub OAuth tokens, and crucially, crypto wallet private keys and smart contract deployment credentials. Based on my audit experience, this is not a model-level flaw; it is a composition attack. Two independently safe design decisions—Sentry's unauthenticated POST endpoint and AI agents' blind trust in MCP tool output—intersect to create a dangerous gap. The result: a 6-step chain that post a malicious error event, waits for a developer to ask an agent to debug, then injects a fake fix instruction into the agent's context. The agent, unable to distinguish data from commands, executes npm install on a malicious package, steals credentials, and exfiltrates them. Tenet Security's demonstration achieved 85% success in controlled tests across 100+ organizations. Over 2,388 public DSNs were found, with 71 in the top 1 million websites, and approximately 27% of Fortune 1000 companies exposed through Cloudflare's MCP integration. This is not a laboratory curiosity; it is a sellable attack chain.

Context: why now. The attack exploits the convergence of two mainstream trends: AI coding agents (Cursor, Claude Code) adopting the Model Context Protocol (MCP) to read external tools, and Sentry's decades-old error monitoring infrastructure. Sentry's DSN (Data Source Name) is a public identifier that allows anyone to POST error events. This design assumes the endpoint is write-only and harmless. But MCP changes that. AI agents now read Sentry issues as context during debugging. An attacker can POST a crafted error event containing a markdown-formatted "fix suggestion" that includes a malicious npm package. When the developer asks the agent to resolve the issue, the agent reads the event, sees the markdown, and executes it—treating a fake fix as a legitimate instruction. The attack requires no authentication bypass, no zero-day exploit, just a single HTTP POST against a public endpoint. The blockchain connection is direct: developers building on Ethereum, Solana, or Cosmos use these same agents to write, test, and deploy contracts. Stolen credentials can drain wallets, tamper with deployment pipelines, or inject backdoors into smart contracts before they go live.

Agentjacking at DEF CON 34: How Public Sentry DSNs Become a Crypto Developer's Nightmare

Core: the technical anatomy. The attack chain is closed-loop and automatable. Step 1: attacker discovers public DSN via Shodan or GitHub scanning. Step 2: attacker POSTs a malicious error event containing a markdown block with a fake npm package install command. Step 3: developer, using an AI coding agent with MCP integration, asks the agent to investigate a Sentry issue. Step 4: agent fetches the issue context, including the markdown, and interprets it as a repair instruction. Step 5: agent executes npm install inside the developer's environment, pulling a malicious package that steals credentials stored in environment variables, SSH keys, or keychain. Step 6: credentials are exfiltrated via DNS or HTTP callback. The attack is an indirect prompt injection variant—the model is not tricked into jailbreaking; it is simply following what it sees as authoritative data from a trusted tool. Pattern emerging from chaos: this is the first demonstration that error monitoring feeds can be weaponized as a supply chain attack vector against AI-assisted development. Tenet's mitigation, agent-jackstop, is a drop-in configuration that enforces network egress whitelisting, command execution approval, subprocess credential isolation, and marks all tool output as untrusted. It covers Cursor and Claude Code, with personal and MDM enterprise deployment options. But this is endpoint hardening, not root cause fix. The root cause sits in the MCP protocol's lack of semantic separation between data and instructions. The model cannot tell that a markdown block from Sentry is attacker-controlled, not a verified fix. Based on my audit experience, content filters—like the one Sentry deployed—are IoC-level string blacklists. They can be bypassed with simple encoding or alternative payloads. The real fix requires either (a) authenticated, signed error ingestion at the platform level, or (b) a new MCP standard that forces tool outputs to carry a 'trusted data' flag and a separate 'instruction' flag. Neither is trivial.

Contrarian angle: the blind spot is not AI, but decades-old infrastructure trust. The industry is rushing to label this an 'AI agent security' problem. Fork in the road ahead. The actual vulnerability is in the assumption that error ingestion endpoints are harmless. Sentry has known for years that DSNs are public—they disclose it in their own docs. But they never anticipated that an AI agent would read the error data and execute it. The contrarian insight: this attack would still work if the AI agent were replaced by a human developer who blindly copies a markdown block from a bug report. The AI simply amplifies the speed and scale of the mistake. The 85% success rate is a red herring; it tests a specific scenario where the developer explicitly asks the agent to fix a Sentry issue. In real-world workflows, the attack surface is narrower but still significant—any developer using an AI agent for debugging is one remote error event away from compromise. The hidden risk for blockchain developers is even higher: they often run multiple chains locally, hold testnet tokens, and have access to production deployment keys. A single stolen GitHub token can expose smart contract source code, private repositories, and CI/CD secrets. The crypto industry has been focused on smart contract audits and wallet security, but the toolchain itself—the IDE, the AI agent, the error monitor—is now the weakest link. Liquidity evaporation detected: trust in error monitoring SaaS is draining. Sentry's refusal to do a platform-level fix (arguing it's 'technically untenable') means that enterprises will either self-host error monitoring with signed envelopes or adopt a new generation of MCP-aware security gateways. Tenet is positioning itself as the first mover in this 'Agent Supply Chain Security' category, but the real money will be in the middleware that sits between the agent and its data sources, inspecting and sanitizing every piece of context before it reaches the model.

Takeaway: what to watch next. The next 12 months will see (1) MCP protocol extensions for content trust markers, (2) a surge in 'agent firewall' startups, and (3) security questionnaires from DeFi protocols asking their developers: "Do you use AI coding agents? If so, what is your MCP data source policy?" The attack is not widespread yet, but the proof-of-concept is public. Expect automated scanners to start harvesting DSNs and dropping malicious error events. The fork is ahead: either the industry fixes the data-versus-instruction ambiguity at the protocol level, or we accept that every AI coding agent is one bad error report away from total compromise. For blockchain developers, the message is clear: your AI copilot is only as safe as the data it reads. Treat every external data source—especially public error endpoints—as untrusted. And if you are still using default Sentry DSNs without MCP security hardening, you are already exposed.

Agentjacking at DEF CON 34: How Public Sentry DSNs Become a Crypto Developer's Nightmare

Fear & Greed

69

Greed

Market Sentiment

Altseason Index

42

Bitcoin Season

BTC Dominance Altseason

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$77,194.4
1
Ethereum ETH
$2,447.12
1
Solana SOL
$100.22
1
BNB Chain BNB
$724.3
1
XRP Ledger XRP
$1.41
1
Dogecoin DOGE
$0.0825
1
Cardano ADA
$0.2043
1
Avalanche AVAX
$7.52
1
Polkadot DOT
$0.9924
1
Chainlink LINK
$11.4

🐋 Whale Tracker

🟢
0x69f3...d43d
5m ago
In
2,133,191 USDC
🔵
0x6cd9...f65e
1h ago
Stake
24,116 BNB
🟢
0xe02f...d594
12h ago
In
15,418 BNB