AiRacleX: Automated Detection of Price Oracle Manipulations via LLM-Driven Knowledge Mining and Prompt Generation
Not on the map. Why?
Abstract (arXiv)
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 to generate structured, context-aware chain of thought prompts, which guide a third LLM model in accurately identifying manipulation patterns in smart contracts. We validate the effectiveness of framework through experiments on 60 known vulnerabilities from 46 real-world DeFi attacks or projects spanning 2021 to 2023. The best performing combination of LLMs (Haiku-Haiku-4o-mini) identified by AiRacleX demonstrate a 2.58-times improvement in recall (0.667 vs 0.259) compared to the state-of-the-art tool GPTScan, while maintaining comparable precision. Furthermore, our framework demonstrates the feasibility of replacing commercial models with open-source alternatives, enhancing privacy and security for developers.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 15 of its 47 references that are in the map. First posted on arXiv 10 Feb 2025.
Builds on
15 of 47 references.
References · 15
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
- 2024Understanding the Impact of Negative Prompts: When and How Do They Take Effect?cited by 50
- 2019Manticore: A User-Friendly Symbolic Execution Framework for Binaries and Smart Contractscited by 36
- 2023Do you still need a manual smart contract audit?cited by 34
- 2020sFuzz: An Efficient Adaptive Fuzzer for Solidity Smart Contractscited by 19
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
- 2019SoK: Transparent Dishonesty: front-running attacks on Blockchaincited by 9
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2026TxRay: Agentic Postmortem of Live Blockchain Attackscited by 2
- 2026Resisting Manipulative Bots in Meme Coin Copy Trading: A Multi-Agent Approach with Chain-of-Thought Reasoningcited by 1
- 2025Can Artificial Intelligence solve the blockchain oracle problem? Unpacking the Challenges and Possibilitiescited by 0
- 2026TxRay: Agentic Postmortem of Live Blockchain Attacks1 Feb 2026
- 2026Resisting Manipulative Bots in Meme Coin Copy Trading: A Multi-Agent Approach with Chain-of-Thought Reasoning13 Jan 2026
- 2025Can Artificial Intelligence solve the blockchain oracle problem? Unpacking the Challenges and Possibilities2 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025LLM-Powered Detection of Price Manipulation in DeFi
- 2025Detecting Various DeFi Price Manipulations with LLM Reasoning
- 2025ETrace:Event-Driven Vulnerability Detection in Smart Contracts via LLM-Based Trace Analysis
- 2025SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection
- 2025SmartLLM: Smart Contract Auditing using Custom Generative AI
- 2025Smart-LLaMA-DPO: Reinforced Large Language Model for Explainable Smart Contract Vulnerability Detection
- 2024LLM-SmartAudit: Advanced Smart Contract Vulnerability Detection
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection