An Effective and Cost-Efficient Agentic Framework for Ethereum Smart Contract Auditing
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
Smart contract security is paramount, but identifying intricate business logic vulnerabilities remains a persistent challenge because existing solutions consistently fall short: manual auditing is unscalable, static analysis tools are plagued by false positives, and fuzzers struggle to navigate deep logic states within complex systems. Even emerging AI-based methods suffer from hallucinations, context constraints, and a heavy reliance on expensive, proprietary Large Language Models. In this paper, we introduce Heimdallr, an automated auditing agent designed to overcome these hurdles through four core innovations. By reorganizing code at the function level, Heimdallr minimizes context overhead while preserving essential business logic. It then employs heuristic reasoning to detect complex vulnerabilities and automatically chain functional exploits. Finally, a cascaded verification layer validates these findings to eliminate false positives. Notably, this approach achieves high performance on lightweight, open-source models like GPToss-120B without relying on proprietary systems. Our evaluations demonstrate exceptional performance, as Heimdallr successfully reconstructed 17 out of 20 real-world attacks post June 2025, resulting in total losses of 384M, and uncovered 4 confirmed zero-day vulnerabilities that safeguarded 400M in TVL. Compared to SOTA baselines including both official industrial tools and academic tools, Heimdallr at most reduces analysis time by 97.59% and financial costs by 98.77% while boosting detection precision by over 93.66%. Notably, when applied to auditing contests, Heimdallr can achieve a 92.45% detection rate at a negligible cost of 2.31 per 10K LOC. We provide production-ready auditing services and release valuable benchmarks for future work.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 17 of its 45 references that are in the map. First posted on arXiv 25 Jan 2026.
Builds on
17 of 45 references.
Closest ancestors · 1
Same direction, newest first
- 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justifications24 Mar
Other references · 16
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
- 2024AutoAct: Automatic Agent Learning from Scratch for QA via Self-Planningcited by 81
- 2018Securify: Practical Security Analysis of Smart Contractscited by 61
- 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 56
- 2018ContractFuzzer: Fuzzing Smart Contracts for Vulnerability Detectioncited by 32
- 2020sFuzz: An Efficient Adaptive Fuzzer for Solidity Smart Contractscited by 19
- 2025Is GPT-OSS Good? A Comprehensive Evaluation of OpenAI's Latest Open Source Modelscited by 11
- 2024LLM-SmartAudit: Advanced Smart Contract Vulnerability Detectioncited by 10
- 2024AuditGPT: Auditing Smart Contracts with ChatGPTcited by 9
4 more
- 2020Stablecoins 2.0: Economic Foundations and Risk-based Modelscited by 4
- 2020DeFi Protocols for Loanable Funds: Interest Rates, Liquidity and Market Efficiencycited by 2
- 2024All Your Tokens are Belong to Us: Demystifying Address Verification Vulnerabilities in Solidity Smart Contractscited by 1
- 2025Hound: Relation-First Knowledge Graphs for Complex-System Reasoning in Security Auditscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026DeXposure-Claw: An Agentic System for DeFi Risk Supervision17 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditing
- 2026Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impact
- 2025PoCo: Agentic Proof-of-Concept Exploit Generation for Smart Contracts
- 2026Beyond Detection: Agentic Attack Synthesis and Simulation for Smart Contracts
- 2025SmartLLM: Smart Contract Auditing using Custom Generative AI
- 2026Knowdit: Agentic Smart Contract Vulnerability Detection with Auditing Knowledge Summarization
- 2025Multi-Agent Collaborative Fuzzing with Continuous Reflection for Smart Contracts Vulnerability Detection
- 2026CyberChainBench: Can AI Agents Secure Smart Contracts Against Real-World On-Chain Vulnerabilities?