审计
计算机科学
业务
计算机安全
工程管理
智能合约
过程管理
系统工程
风险分析(工程)
合同管理
作者
Longxiang Wang,Yufeng Hu,Lei Wu,Yajin Zhou,Wei‐Bin Lee,Cong Wang
标识
DOI:10.1109/tdsc.2026.3753410
摘要
While large language models (LLMs) have demon strated impressive capabilities in smart contract analysis, existing LLM-based auditing approaches either rely on pre-defined rules that limit their generalizability, or apply LLMs as general purpose auditors that yields high false positive rates. Moreover, most approaches also focus on vulnerabilities within individual functions and become less effective when reasoning across functions, where the relevant context is dispersed. To address these challenges, we propose ForkSentry, an LLM enhanced multi-agent framework specifically designed for au diting forked smart contracts. ForkSentry performs fork-based differential analysis against trusted foundation protocols, using retrieval-augmented generation together with logical difference filtering and combination to precisely locate vulnerabilities in forked contracts, and applies an iterative multi-agent refinement process to reduce false positives. To further enhance detection of vulnerabilities spanning multiple functions, ForkSentry incorporates a dynamic inter-procedural context retrieval component (IPCR). In addition, to comprehensively evaluate ForkSentry, we develop a mutation-based approach that simulates real-world fork process to construct a benchmark dataset. Our experiments demonstrate that ForkSentry achieves an F1-score of 68.0%, outperforming advanced reasoning LLMs (DeepSeek-R1 and Gemini-2.5-Pro) and prior alternatives.
科研通智能强力驱动
Strongly Powered by AbleSci AI