The market corrects what the mind refuses to see. For months, the AI agent narrative in Web3 has been one of autonomous on-chain execution, trustless orchestration, and the end of human intermediation. But a new security research paper, presented at DEF CON 34’s AI Village, reveals a blind spot that should make every builder rethink their architecture. The attack surface is not the model. It is the framework.
SADF—Systematic Assessment of Delegation Frameworks—by Julie Brunias and her team, is a methodologically rigorous study that quantifies how much security risk is introduced by the four most popular orchestration frameworks: CrewAI, LangChain, AutoGen, and SmolAgents. The headline finding: Attack Completion Rate (ACR) varies from 11.9% (CrewAI) to 31.1% (SmolAgents), compared to a baseline of 15.5% when using a direct API call to Claude Sonnet. In other words, adding a framework can increase the probability of a successful attack by up to 2.6 times.
Context: The Narrative That Was Never True
When I started auditing smart contracts in 2017, the industry believed that code was law and that security was a feature of the blockchain itself. We learned the hard way that reentrancy, oracle manipulation, and governance attacks were not bugs in the protocol but in the layers of abstraction built on top. The same pattern is repeating itself with AI agents. The prevailing narrative in Web3 is that the model—Claude, GPT, Llama—is the most critical security component. If the model is safe, the agent is safe. SADF proves this is a dangerous oversimplification.
Brunias’s team fixed the model to Claude Sonnet and compared the ACR across five configurations: Direct API (no framework), CrewAI, LangChain, AutoGen, and SmolAgents. The framework itself is the variable. The result is a clear, reproducible attribution of risk to the orchestration layer. This is not a theoretical exercise. The study used 32 adversarial payloads across 5,119 evaluation rows, covering eight failure modes—Tool Call Hijacking, Output Poisoning, Cross-Tool Injection, Memory Poisoning, RAG Poisoning, Delegated Authority Abuse, Multi-Agent Propagation, and Context Boundary Violation. The data is publicly available, and the methodology includes a critical self-correction: they discovered that naive substring matching overestimates Claude’s ACR by 4-6x, so they implemented a refusal-filtered scoring system. This kind of self-awareness is rare in security research.
Core: The Numbers That Matter
Let’s talk about the raw numbers. Direct API ACR: 15.5%. CrewAI: 11.9%—actually lower than the baseline. On the surface, that looks like a win for CrewAI, but dig deeper. CrewAI’s architecture uses discrete task isolation, which reduces the attack surface. LangChain: 18.1%. AutoGen: 20.0%. SmolAgents: 31.1%. The worst performer is not just 2x worse than the best; it is 2.6x worse than the baseline. SmolAgents showed a unique vulnerability: RAG Poisoning at 20% and Context Boundary Violation at 64%. These are not trivial bugs. They represent fundamental architectural flaws.

From my experience auditing DeFi protocols, I’ve seen teams choose frameworks based on developer experience or community size, not security. The same mistake is happening with AI agents. A Web3 project building an autonomous trading agent on SmolAgents might be exposing itself to a 31.1% chance that an attacker can complete a malicious action. That is not a marginal risk. That is a systemic one.

Trust is not a feature, it is a failed audit. The research also reveals that the failure modes are not evenly distributed. For example, RAG Poisoning—where the attacker contaminates the knowledge base—was only present in SmolAgents. Multi-Agent Propagation, where an attack spreads across agents, was most severe in AutoGen. This means that the framework choice determines not just the probability of an attack, but the type of attack you are most vulnerable to. In Web3, where composability and interoperability are prized, this is a nightmare. If your agent interacts with a protocol that uses a different framework, the attack surface multiplies.
Contrarian: Why This Research Is Both a Warning and a Trap
Here is the counter-intuitive angle. The SADF study is rigorous, but it is also a trap if taken as gospel. The 32 payloads were selected by the researchers. They may not represent the real-world distribution of attacks. The simulated environment, while ethical, does not capture the full chaos of a production Web3 environment—real API rate limits, cross-chain messages, MEV bots, and malicious oracles. The ACR numbers are lower bounds, not upper bounds. In a real deployment, the attack surface is larger, not smaller.
Moreover, the study uses a single model: Claude Sonnet. What happens when you swap the model to GPT-5.4 or DeepSeek? The model×framework interaction effect is unknown. It is possible that the ranking changes entirely. I have seen similar issues in smart contract audits: a vulnerability that is critical in Solidity 0.8 might be mitigated in 0.8.20. The framework providers are already patching. CrewAI’s 11.9% might become 5% after a security update, while SmolAgents might drop to 15%. The market will correct, but only if builders pay attention.
Another blind spot: the study does not decompose the impact of default configurations. Temperature, system prompts, tool permission granularity—these are levers that can dramatically affect ACR. A LangChain instance with conservative settings might outperform a tuned CrewAI. The research is a starting point, not a final verdict.

Transparency reveals the cracks that opacity hides. The fact that SADF was published on a Web3 news source raises eyebrows. Is the audience ready for this? Many Web3 founders are still in the “AI agent will change everything” hype phase. They are not asking about ACR. They are asking about tokenomics. This research will be ignored by many until the first major exploit. Then it will be cited as obvious.
Takeaway: The Next Narrative
Volatility is the price of admission to the future. The SADF research is a watershed moment for AI agent security in Web3. It shifts the conversation from “is the model safe?” to “is the framework safe?” The next wave of due diligence will include framework security audits, just as we now require smart contract audits. Protocols that ignore this will be the next victims of a $100M exploit. The question is not if, but when.
I have been in this industry long enough to know that the market corrects what the mind refuses to see. The mind is now refusing to see framework-level risk. The correction will come. Builders, start your audits now.