IntegraChain

Market Prices

BTC Bitcoin
$79,844.6 +0.07%
ETH Ethereum
$2,480.86 +1.04%
SOL Solana
$103.77 +1.99%
BNB BNB Chain
$770.9 +7.29%
XRP XRP Ledger
$1.42 +1.25%
DOGE Dogecoin
$0.0911 +7.38%
ADA Cardano
$0.2198 +3.34%
AVAX Avalanche
$7.61 +3.09%
DOT Polkadot
$0.9164 +4.49%
LINK Chainlink
$12.06 +3.32%

Event Calendar

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

Raises validator limit and account abstraction

28
03
unlock Arbitrum Token Unlock

92 million ARB released

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

12
05
halving BCH Halving

Block reward halving event

18
03
unlock Sui Token Unlock

Team and early investor shares released

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

Tools

All →

Altseason Index

41

Bitcoin Season

BTC Dominance Altseason

Market Cap

All →
# Coin Price
1
Bitcoin BTC
$79,844.6
1
Ethereum ETH
$2,480.86
1
Solana SOL
$103.77
1
BNB Chain BNB
$770.9
1
XRP Ledger XRP
$1.42
1
Dogecoin DOGE
$0.0911
1
Cardano ADA
$0.2198
1
Avalanche AVAX
$7.61
1
Polkadot DOT
$0.9164
1
Chainlink LINK
$12.06

🐋 Whale Tracker

🟢
0xa9b7...5344
30m ago
In
304,354 DOGE
🔴
0x359f...6fc7
12m ago
Out
4,413.88 BTC
🔴
0xa8c9...4d7e
5m ago
Out
882,024 USDC
ETF

Agentjacking: The Hidden Attack Vector That Could Drain Your Crypto Wallet Through Your AI Coding Assistant

CryptoPrime

The numbers don't lie, but they do whisper. This week, a DEF CON 34 presentation by Tenet Security revealed that 2,388 organizations have publicly exposed Sentry DSNs—seemingly innocuous error reporting tokens. But when combined with AI coding agents like Claude Code or Cursor, these DSNs become a silent pipeline for credential theft. For the crypto world, this is not just a code vulnerability; it's a direct threat to the private keys, API tokens, and wallet secrets that developers store on their machines.

I've spent years tracing on-chain data flows, from the 2017 Parity wallet hack to the 2022 Terra collapse. The pattern is always the same: trust boundaries are the weakest link. This attack exploits a trust boundary between AI agents and their data sources. And the crypto industry, which increasingly relies on AI coding assistants to build and debug smart contracts, is sitting on a ticking time bomb.

Context: The Infrastructure at Risk

Sentry is a widely used error monitoring platform. Developers integrate it into their applications to capture crashes and performance issues. Every Sentry project has a Data Source Name (DSN)—a token that identifies where to send error events. The critical flaw: Sentry's ingestion endpoint accepts any POST request with a valid DSN, without authentication. Anyone can inject fake error events into any public Sentry project.

Meanwhile, the Model Context Protocol (MCP) is an open standard developed by Anthropic that allows AI agents to connect to external tools and data sources. Both Claude Code and Cursor, the two most popular AI coding agents, use MCP to integrate with Sentry. When a developer asks their agent to debug an error, the agent queries Sentry via MCP, reads the issue details, and often suggests a fix based on the error context.

Here's where the attack lands. An attacker can find a public Sentry DSN—there are 2,388 such organizations, including 71 in the Tranco top 1 million websites and roughly 27% of Fortune 1000 companies exposed through Cloudflare's MCP integration. They then POST a malicious error event to that project. The event contains markdown that appears to be a legitimate fix suggestion, but actually contains an indirect prompt injection: instructions for the AI agent to execute a command that installs a malicious npm package.

When the developer later asks their AI agent to investigate a crash, the agent reads the poisoned issue, interprets the fake fix as a valid instruction, and runs the command. The malicious package then exfiltrates credentials from the developer's machine—AWS keys, GitHub OAuth tokens, npm registry tokens, and critically, crypto wallet private keys and deployment secrets.

The attack chain is complete, scalable, and low cost. A single HTTP POST establishes the condition. No persistence, no interaction, no complex exploit. The attacker can automate DSN discovery and poison thousands of projects simultaneously.

Core: The On-Chain Evidence Chain

Let me be clear: the attack is not a model failure—it's a data provenance failure. The AI agent cannot distinguish between data and instructions in the context stream. The Sentry issue is just text, and the agent treats it as ground truth. This is a classic indirect prompt injection, elevated to a production-grade attack vector.

Based on my own experience building risk models for DeFi protocols, I know that the most dangerous vulnerabilities are those that cross trust boundaries. In 2020, I traced impermanent loss for 150 Uniswap V2 positions and found that 68% of retail LPs lost money despite high APYs. The problem was structural, not intentional. Same here: the Sentry ingestion endpoint and MCP integration are both individually reasonable design choices. Their intersection creates a gaping hole.

The attack's feasibility is underscored by Tenet's success rate: 85% in controlled tests across 100+ organizations. While the test conditions may not perfectly replicate real-world developer behavior, the number is alarming. The attack requires only that a developer asks their AI agent to debug a Sentry issue—a common workflow. The 15% failure rate likely comes from cases where the developer manually reviews the suggested command before executing it, or where the agent is configured to require explicit approval for all command execution.

But here's the hidden truth: the attack is asymmetric. The attacker's cost is near zero. The defender's cost is high—requiring network white-listing, command approval flows, and credential isolation. Tenet's own mitigation tool, agent-jackstop, is a drop-in configuration that adds these controls for Cursor and Claude Code. It's a good start, but it's a band-aid, not a cure.

Sentry's response reveals the deeper issue. They deployed a content filter against specific payload strings—a classic IoC-level blacklist that can be trivially bypassed with encoding variations. They refused to change the DSN ingestion model, claiming it's "technically untenable." That's a polite way of saying their platform's architecture is fundamentally incompatible with authentication at the ingestion layer. This is the same logic that led to the 2017 Parity wallet hack: a design decision that was secure in isolation became catastrophic when combined with other systems.

The ledger remembers everything. And the ledger here shows that the attack surface is not a single bug, but a systemic architectural flaw in how AI agents trust external data.

Contrarian: Correlation ≠ Causation

Now, let me challenge the prevailing narrative. Many will say this is a failure of AI models—that we need better guardrails, better prompt isolation, or even that we should halt AI coding agent adoption. I disagree.

The root cause is not the AI model. It's the assumption that any data source an agent connects to is inherently trustworthy. This is the same blind spot we saw in DeFi summer: protocols assumed that liquidity providers were rational actors, when in fact most were chasing APYs without understanding impermanent loss. The data showed the risk, but the narrative ignored it.

Similarly, the MCP protocol assumes that tool outputs are factual and benign. But any tool that ingests user-generated content (like Sentry's error events) can be weaponized. The fix is not to kill the agent, but to redefine the trust boundary: agents should treat all external data as potentially malicious, just as smart contracts should treat all external calls as reentrancy risks.

The contrarian angle is that this attack is actually a gift to the industry. It forces us to address the trust problem before AI agents are entrusted with even more sensitive tasks—like signing blockchain transactions autonomously. Imagine a future where an AI agent is authorized to execute a smart contract deployment. A similar injection could trick it into deploying a backdoored contract. The DEF CON 34 presentation is a warning shot, not a catastrophe.

But there's a darker side. Sentry's refusal to fix the root issue suggests that many platforms will choose convenience over security until forced by regulation or market loss. The 2,388 exposed organizations are a canary in the coal mine. If even one of them had a developer whose crypto wallet was drained, the headlines would be different. But because the attack is still in the research phase, the industry is complacent.

Another contrarian point: the 85% success rate is a controlled experiment. In the wild, the attack requires a specific sequence of user actions. The attacker must first identify a public DSN that the developer's agent actually queries. Then they must craft a luring error that matches the developer's context. And the developer must ask the agent to debug that specific issue. The attack is not a push-button weapon. It's a targeted spear-phishing campaign against AI agents.

However, the low cost of the attack means it can be scaled. An attacker can poison thousands of DSNs, then wait for any developer to query any of them. The probability of a hit increases with the number of baits. This is the same logic as dusting attacks in crypto: send tiny amounts to thousands of wallets, then track the ones that move. The attack is probabilistic, but given enough trials, it becomes deterministic.

Takeaway: The Next Week Signal

Over the next week, I expect three things to happen. First, the crypto security community will scramble to adopt agent-jackstop or similar controls. Expect to see GitHub repositories with "MCP Security Best Practices" appear overnight. Second, Anthropic and other MCP proponents will be forced to address the protocol's trust model. We may see a proposal for "MCP Security Extensions" that include content provenance flags and output sanitization. Third, Sentry will face increasing pressure from enterprise customers to provide authenticated ingestion, even if it means breaking backward compatibility. The quiet accumulation of risk in AI agent integrations is now public.

But the real signal is for the crypto builders. If you use AI coding agents to write or debug smart contracts, your private keys are at risk. The attack doesn't require a vulnerability in your code—it requires a vulnerability in your workflow. The safest path is to isolate your credentials: use hardware wallets for signing, keep deployment keys on air-gapped machines, and never let your AI agent have access to your mainnet credentials. The ledger remembers everything, and the lesson here is that trust boundaries are the new attack surface.

Following the money, always. The attack steals credentials, and credentials move money. The on-chain evidence will show the theft if it happens, but prevention is better than forensic analysis. Don't let your AI agent become the vector that drains your treasury.

On-chain evidence > Hype. The numbers don't lie, but they do whisper. Listen to the silence between the error logs.

Fear & Greed

73

Greed

Market Sentiment

Gas Tracker

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

💡 Smart Money

0x98f2...319f
Arbitrage Bot
+$3.7M
74%
0x3461...47c4
Top DeFi Miner
+$3.1M
73%
0x40f4...581b
Experienced On-chain Trader
+$0.4M
62%