mlsanityData to 7 Oct 2026

AiRacleX: Automated Detection of Price Oracle Manipulations via LLM-Driven Knowledge Mining and Prompt Generation

arXiv 2502.06348 ↗First posted 10 Feb 2025cs.CR cs.AIcited by 3

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

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  4. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  5. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
  6. 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
  7. 2024Understanding the Impact of Negative Prompts: When and How Do They Take Effect?cited by 50
  8. 2019Manticore: A User-Friendly Symbolic Execution Framework for Binaries and Smart Contractscited by 36
  9. 2023Do you still need a manual smart contract audit?cited by 34
  10. 2020sFuzz: An Efficient Adaptive Fuzzer for Solidity Smart Contractscited by 19
  11. 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
  12. 2019SoK: Transparent Dishonesty: front-running attacks on Blockchaincited by 9
3 more
  1. 2021SoK: Oracles from the Ground Truth to Market Manipulationcited by 7
  2. 2024FORAY: Towards Effective Attack Synthesis against Deep Logical Vulnerabilities in DeFi Protocolscited by 3
  3. 2024Safeguarding DeFi Smart Contracts against Oracle Deviationscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM-Powered Detection of Price Manipulation in DeFi
  2. 2025Detecting Various DeFi Price Manipulations with LLM Reasoning
  3. 2025ETrace:Event-Driven Vulnerability Detection in Smart Contracts via LLM-Based Trace Analysis
  4. 2025SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection
  5. 2025SmartLLM: Smart Contract Auditing using Custom Generative AI
  6. 2025Smart-LLaMA-DPO: Reinforced Large Language Model for Explainable Smart Contract Vulnerability Detection
  7. 2024LLM-SmartAudit: Advanced Smart Contract Vulnerability Detection
  8. 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection