AiRacleX: Automated Detection of Price Oracle Manipulations via LLM-Driven Knowledge Mining and Prompt Generation
Bo Gao, Yuan Wang, Qingsong Wei, Yong Liu, Rick Siow Mong Goh and, David Lo

TL;DR
AiRacleX is an innovative LLM-driven framework that automates the detection of price oracle manipulations in DeFi, significantly improving recall over existing tools by leveraging knowledge mining and prompt engineering.
Contribution
The paper introduces a novel LLM-based approach that automates vulnerability detection in DeFi oracles, reducing manual effort and enhancing detection accuracy using structured prompt generation.
Findings
Achieved 2.58 times higher recall than GPTScan
Validated on 60 vulnerabilities from 46 DeFi projects
Open-source models can effectively replace commercial LLMs
Abstract
Decentralized finance (DeFi) applications depend on accurate price oracles to ensure secure transactions, yet these oracles are highly vulnerable to manipulation, enabling attackers to exploit smart contract vulnerabilities for unfair asset valuation and financial gain. Detecting such manipulations traditionally relies on the manual effort of experienced experts, presenting significant challenges. In this paper, we propose a novel LLM-driven framework that automates the detection of price oracle manipulations by leveraging the complementary strengths of different LLM models (LLMs). Our approach begins with domain-specific knowledge extraction, where an LLM model synthesizes precise insights about price oracle vulnerabilities from top-tier academic papers, eliminating the need for profound expertise from developers or auditors. This knowledge forms the foundation for a second LLM model…
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
TopicsStock Market Forecasting Methods
