跳到主要导航 跳到搜索 跳到主要内容

SmartAuditFlow: A Dynamic Plan-Execute Framework for Advanced Smart Contract Security Analysis

  • Zhiyuan Wei
  • , Jing Sun
  • , Zhe Hou
  • , Zijian Zhang*
  • , Zixiao Zhao
  • , Chunmiao Li
  • , Mingchao Wan
  • , Jin Dong
  • *此作品的通讯作者
  • Beijing Institute of Technology
  • The University of Auckland
  • Griffith University Queensland
  • Beijing Academy of Blockchain and Edge Computing

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

Large Language Models (LLMs) have demonstrated significant potential in smart contract auditing. However, they are still susceptible to hallucinations and limited context-aware reasoning. In this article, we propose SmartAuditFlow, a dynamic Plan-Execute framework that customizes audit strategies based on the unique characteristics of each smart contract. Unlike static, rule-based workflows, our approach iteratively generates and refines audit plans in response to intermediate outputs and newly detected vulnerabilities. To improve reliability, the framework incorporates structured reasoning, prompt optimization, and external tools such as static analyzers and Retrieval-Augmented Generation (RAG). This multi-layered design reduces false positives and enhances the accuracy of vulnerability detection. Experimental results show that SmartAuditFlow achieves 100% accuracy on common vulnerability benchmarks and successfully identifies 13 additional CVEs missed by existing methods. These findings underscore the framework’s adaptability, precision, and practical utility as a robust solution for automated smart contract security auditing. The source code is available at: https://github.com/JimmyLin-afk/SmartAuditFlow.

源语言英语
期刊论文编号233
页(从-至)1-43
页数43
期刊ACM Transactions on Software Engineering and Methodology
卷35
期8
DOI
出版状态已出版 - 16 7月 2026

学术指纹

探究 'SmartAuditFlow: A Dynamic Plan-Execute Framework for Advanced Smart Contract Security Analysis' 的科研主题。它们共同构成独一无二的学术指纹。

引用此