Adaptive Plan-Execute Framework for Smart Contract Security Auditing
Zhiyuan Wei, Jing Sun, Zijian Zhang, Zhe Hou, Zixiao Zhao

TL;DR
SmartAuditFlow is an adaptive framework that dynamically plans and executes smart contract security audits using LLMs, static analysis, and external knowledge to improve accuracy and reduce errors.
Contribution
It introduces a novel dynamic plan-execute framework that enhances smart contract security auditing by adapting strategies based on intermediate outputs and external knowledge sources.
Findings
Achieved 100% accuracy on critical vulnerabilities
Improved coverage of known smart contract weaknesses by 41.2%
Successfully identified all tested CVEs
Abstract
Large Language Models (LLMs) have shown great promise in code analysis and auditing; however, they still struggle with hallucinations and limited context-aware reasoning. We introduce SmartAuditFlow, a novel Plan-Execute framework that enhances smart contract security analysis through dynamic audit planning and structured execution. Unlike conventional LLM-based auditing approaches that follow fixed workflows and predefined steps, SmartAuditFlow dynamically generates and refines audit plans based on the unique characteristics of each smart contract. It continuously adjusts its auditing strategy in response to intermediate LLM outputs and newly detected vulnerabilities, ensuring a more adaptive and precise security assessment. The framework then executes these plans step by step, applying a structured reasoning process to enhance vulnerability detection accuracy while minimizing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Adversarial Robustness in Machine Learning · Advanced Malware Detection Techniques
