Capturing Monetarily Exploitable Vulnerability in Smart Contracts via Auditor Knowledge-Learning Fuzzing
Bowen Cai, Weiheng Bai, Hangyun Tang, Youshui Lu, Kangjie Lu
TLDR
FAUDITOR is a new fuzzer that uses auditor knowledge and self-learning to detect monetarily exploitable vulnerabilities (MEVuls) in smart contracts.
Key contributions
- Formalizes Monetarily Exploitable Vulnerabilities (MEVuls) from real-world financial exploits.
- FAUDITOR fuzzer targets MEVuls using finance-related interfaces for precise detection.
- Leverages auditor reports via NLP to learn exploitation patterns and enhance search strategy.
- Incorporates a self-learning mechanism to continuously refine its vulnerability detection.
Why it matters
Financially motivated exploits (MEVuls) are a major threat to DeFi, often missed by current tools. FAUDITOR addresses this by formalizing MEVuls and using auditor knowledge to detect them. This improves smart contract security, protecting complex financial applications.
Original Abstract
Smart contracts extended blockchain functionality beyond simple transactions, powering complex applications like decentralized finance (DeFi). However, this complexity introduces serious security challenges, including price manipulation and inflation attacks. Despite the development of various security tools, the rapid rise in financially motivated exploits continues to pose a significant threat to the blockchain ecosystem. These financially motivated exploits often stem from Monetarily Exploitable Vulnerabilities (MEVuls), which refer to vulnerabilities arising from exploitable implementations in monetary transactions or value-transfer logic. Due to their complexity, intricate chains of function calls, multifaceted logic, and diverse manifestations across different smart contracts, MEVuls are particularly challenging for current security tools to identify. Instead of providing actionable insights, existing tools frequently generate excessive warnings that overwhelm developers without effectively mitigating risks. To address the challenge of recognizing MEVuls, we first formalize MEVuls based on common real-world financial exploits. Then, we introduce FAUDITOR, a specialized fuzzer designed to detect MEVuls in smart contracts. The key insight is that leveraging smart contracts' finance-related interfaces directly exposes critical vulnerabilities, making detection more targeted. We further integrate auditors' reports using NLP to extract valuable insights on exploitation patterns, enabling a more informed search strategy. Additionally, FAUDITOR employs a self-learning mechanism that refines its detection strategies over time, allowing it to improve based on prior fuzzing results. In our evaluation, FAUDITOR impressively reveals 220 zero-day MEVuls. Meanwhile, compared to existing fuzzers, FAUDITOR detects vulnerabilities faster and achieves better instruction coverage.
📬 Weekly AI Paper Digest
Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.