mlsanityData to 14 Oct 2026

LLMs as verification oracles for Solidity

arXiv 2509.19153 ↗First posted 23 Sep 2025cs.CR cs.AI cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Ensuring the correctness of smart contracts is critical, as even subtle flaws can lead to severe financial losses. While bug detection tools able to spot common vulnerability patterns can serve as a first line of defense, most real-world exploits and losses stem from errors in the contract business logic. Formal verification tools such as SolCMC and the Certora Prover address this challenge, but their impact remains limited by steep learning curves and restricted specification languages. Recent works have begun to explore the use of large language models (LLMs) for security-related tasks such as vulnerability detection and test generation. Yet, a fundamental question remains open: can LLMs aid in assessing the validity of arbitrary contract-specific properties? In this paper, we provide the first systematic empirical evaluation of GPT-5, a state-of-the-art reasoning LLM, in this role. We benchmark its performance on a large dataset of verification tasks, compare its outputs against those of established formal verification tools, and assess its practical effectiveness in real-world auditing scenarios. Our study combines quantitative metrics with qualitative analysis, and shows that recent reasoning-oriented LLMs - although lacking soundness guarantees - can be surprisingly effective at predicting the (in)validity of complex properties, suggesting a new frontier in the convergence of AI and formal methods for secure smart contract development and auditing.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 55 references that are in the map. First posted on arXiv 23 Sep 2025.

Builds on

21 of 55 references.

References · 21

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  4. 2023Evaluating the Logical Reasoning Ability of ChatGPT and GPT-4cited by 202
  5. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
  6. 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 37
  7. 2023Do you still need a manual smart contract audit?cited by 35
  8. 2024Proof Automation with Large Language Modelscited by 22
  9. 2020How Effective are Smart Contract Analysis Tools? Evaluating Smart Contract Static Analysis Tools Using Bug Injectioncited by 20
  10. 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofscited by 18
  11. 2020A Survey of Smart Contract Formal Specification and Verificationcited by 14
  12. 2025AI Agent Smart Contract Exploit Generationcited by 9
9 more
  1. 2019solc-verify: A Modular Verifier for Solidity Smart Contractscited by 5
  2. 2021Clockwork Finance: Automated Analysis of Economic Security in Smart Contractscited by 5
  3. 2025Prompt to Pwn: Automated Exploit Generation for Smart Contractscited by 4
  4. 2016Zero-Collateral Lotteries in Bitcoin and Ethereumcited by 1
  5. 2018Quantitative Analysis of Smart Contractscited by 1
  6. 2024Towards benchmarking of Solidity verification toolscited by 1
  7. 2024Solvent: liquidity verification of smart contractscited by 1
  8. 2025Formal verification in Solidity and Move: insights from a comparative analysiscited by 1
  9. 2025A theory of Lending Protocols in DeFicited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Large Language Model based Smart Contract Auditing with LLMBugScanner
  2. 2026Decoupled Smart Contract Audits: Lightweight LLM Framework via Distillation and Aggregation
  3. 2024LLM-SmartAudit: Advanced Smart Contract Vulnerability Detection
  4. 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justifications
  5. 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection
  6. 2024FTSmartAudit: A Knowledge Distillation-Enhanced Framework for Automated Smart Contract Auditing Using Fine-Tuned LLMs
  7. 2025SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection
  8. 2025SmartLLM: Smart Contract Auditing using Custom Generative AI