PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generation
On the map: Retrieval-augmented generation → Privacy and security of RAG
Abstract (arXiv)
With recent advances in large language models (LLMs), this paper explores the potential of leveraging state-of-the-art LLMs,such as GPT-4, to transfer existing human-written properties (e.g.,those from Certora auditing reports) and automatically generate customized properties for unknown code. To this end, we embed existing properties into a vector database and retrieve a reference property for LLM-based in-context learning to generate a new property for a given code. While this basic process is relatively straightforward, ensuring that the generated properties are (i) compilable, (ii) appropriate, and (iii) verifiable presents challenges. To address (i), we use the compilation and static analysis feedback as an external oracle to guide LLMs in iteratively revising the generated properties. For (ii), we consider multiple dimensions of similarity to rank the properties and employ a weighted algorithm to identify the top-K properties as the final result. For (iii), we design a dedicated prover to formally verify the correctness of the generated properties. We have implemented these strategies into a novel LLM-based property generation tool called PropertyGPT. Our experiments show that PropertyGPT can generate comprehensive and high-quality properties, achieving an 80% recall compared to the ground truth. It successfully detected 26 CVEs/attack incidents out of 37 tested and also uncovered 12 zero-day vulnerabilities, leading to 8,256 in bug bounty rewards.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 30 of its 67 references that are in the map. First posted on arXiv 4 May 2024.
Builds on
30 of 67 references.
References · 30
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
- 2023AutoChip: Automating HDL Generation Using LLM Feedbackcited by 80
18 more
- 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 78
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2018Securify: Practical Security Analysis of Smart Contractscited by 61
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 57
- 2019Manticore: A User-Friendly Symbolic Execution Framework for Binaries and Smart Contractscited by 36
- 2018ContractFuzzer: Fuzzing Smart Contracts for Vulnerability Detectioncited by 32
- 2024Can Large Language Models Understand Context?cited by 26
- 2018FixMiner: Mining Relevant Fix Patterns for Automated Program Repaircited by 22
- 2020sFuzz: An Efficient Adaptive Fuzzer for Solidity Smart Contractscited by 19
- 2018Sereum: Protecting Existing Smart Contracts Against Re-Entrancy Attackscited by 17
- 2024ACFIX: Guiding LLMs with Mined Common RBAC Practices for Context-Aware Repair of Access Control Vulnerabilities in Smart Contractscited by 15
- 2020A Survey of Smart Contract Formal Specification and Verificationcited by 14
- 2021DeFiRanger: Detecting Price Manipulation Attacks on DeFi Applicationscited by 5
- 2019Oracle-Supported Dynamic Exploit Generation for Smart Contractscited by 4
- 2021Formal Analysis of Composable DeFi Protocolscited by 3
- 2018Formal Specification and Verification of Smart Contracts for Azure Blockchaincited by 2
- 2021An Empirical Study of Blockchain System Vulnerabilities: Modules, Types, and Patternscited by 2
- 2024Automated Invariant Generation for Solidity Smart Contractscited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 22; 2026: 12.
36 papers.
Sort:
By area:
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Mannercited by 57
- 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 52
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 14
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 10
- 2025Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucinationcited by 10
- 2025SCALM: Detecting Bad Practices in Smart Contracts Through LLMscited by 8
- 2025Vulnerability Detection: From Formal Verification to Large Language Models and Hybrid Approaches: A Comprehensive Overviewcited by 7
- 2025Knowledge-Based Multi-Agent Framework for Automated Software Architecture Designcited by 7
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesiscited by 5
- 2025Detecting Various DeFi Price Manipulations with LLM Reasoningcited by 4
- 2025RulePilot: An LLM-Powered Agent for Security Rule Generationcited by 4
24 more
- 2025DataGovBench: Benchmarking LLM Agents for Real-World Data Governance Workflowscited by 4
- 2025Agentic Specification Generator for Move Programscited by 3
- 2025Inferring multiple helper Dafny assertions with LLMscited by 3
- 2025SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Modelscited by 2
- 2025Towards Secure Program Partitioning for Smart Contracts with LLM's In-Context Learningcited by 2
- 2025Adaptive Plan-Execute Framework for Smart Contract Security Auditingcited by 2
- 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditingcited by 2
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolutioncited by 2
- 2024FTSmartAudit: A Knowledge Distillation-Enhanced Framework for Automated Smart Contract Auditing Using Fine-Tuned LLMscited by 1
- 2025Towards Automated Formal Verification of Backend Systems with LLMscited by 1
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detectioncited by 1
- 2025The 4/δ Bound: Designing Predictable LLM-Verifier Systems for Formal Method Guaranteecited by 1
- 2026Hallucination-Resistant Security Planning with a Large Language Modelcited by 1
- 2026Knowdit: Agentic Smart Contract Vulnerability Detection with Auditing Knowledge Summarizationcited by 1
- 2026IsabeLLM: Automated Theorem Proving Applied to Formally Verifying Consensuscited by 1
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
- 2025LLMs as verification oracles for Soliditycited by 0
- 2026CHAINTRIX: A multi-pipeline LLM-augmented framework for automated smart-contract security auditingcited by 0
- 2026Combining Mechanical and Agentic Specification Inference for Movecited by 0
- 2026AutoACSL: Synthesizing ACSL Specifications by Integrating LLMs with CPG-Based Static Analysiscited by 0
- 2026Beyond Detection: Agentic Attack Synthesis and Simulation for Smart Contractscited by 0
- 2026Frequency-Aware Continual Learning for Smart Contract Vulnerability Detection with Large Language Modelscited by 0
- 2026Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impactcited by 0
- 2026Self-Spec Verifiable Code Generationcited by 0
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impact24 Sep 2026
- 2026Frequency-Aware Continual Learning for Smart Contract Vulnerability Detection with Large Language Models20 Aug 2026
- 2026Beyond Detection: Agentic Attack Synthesis and Simulation for Smart Contracts17 Jul 2026
- 2026AutoACSL: Synthesizing ACSL Specifications by Integrating LLMs with CPG-Based Static Analysis18 Jun 2026
- 2026IsabeLLM: Automated Theorem Proving Applied to Formally Verifying Consensus16 Jun 2026
- 2026Combining Mechanical and Agentic Specification Inference for Move11 May 2026
- 2026CHAINTRIX: A multi-pipeline LLM-augmented framework for automated smart-contract security auditing10 May 2026
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesis1 May 2026
- 2026Knowdit: Agentic Smart Contract Vulnerability Detection with Auditing Knowledge Summarization27 Mar 2026
- 2026Hallucination-Resistant Security Planning with a Large Language Model5 Feb 2026
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution20 Jan 2026
24 more
- 2025DataGovBench: Benchmarking LLM Agents for Real-World Data Governance Workflows4 Dec 2025
- 2025The 4/δ Bound: Designing Predictable LLM-Verifier Systems for Formal Method Guarantee30 Nov 2025
- 2025RulePilot: An LLM-Powered Agent for Security Rule Generation15 Nov 2025
- 2025Inferring multiple helper Dafny assertions with LLMs31 Oct 2025
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection20 Oct 2025
- 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditing29 Sep 2025
- 2025Agentic Specification Generator for Move Programs29 Sep 2025
- 2025LLMs as verification oracles for Solidity23 Sep 2025
- 2025Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucination7 Aug 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challenges21 Jun 2025
- 2025Adaptive Plan-Execute Framework for Smart Contract Security Auditing21 May 2025
- 2025ACE: A Security Architecture for LLM-Integrated App Systems29 Apr 2025
- 2025Towards Automated Formal Verification of Backend Systems with LLMs13 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025Knowledge-Based Multi-Agent Framework for Automated Software Architecture Design26 Mar 2025
- 2025Vulnerability Detection: From Formal Verification to Large Language Models and Hybrid Approaches: A Comprehensive Overview13 Mar 2025
- 2025Towards Secure Program Partitioning for Smart Contracts with LLM's In-Context Learning20 Feb 2025
- 2025Detecting Various DeFi Price Manipulations with LLM Reasoning17 Feb 2025
- 2025SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Models11 Feb 2025
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysis5 Feb 2025
- 2025SCALM: Detecting Bad Practices in Smart Contracts Through LLMs4 Feb 2025
- 2024FTSmartAudit: A Knowledge Distillation-Enhanced Framework for Automated Smart Contract Auditing Using Fine-Tuned LLMs17 Oct 2024
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Manner8 Jun 2024
- 2025Knowledge-Based Multi-Agent Framework for Automated Software Architecture Designcited by 7
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesiscited by 5
- 2025RulePilot: An LLM-Powered Agent for Security Rule Generationcited by 4
- 2025DataGovBench: Benchmarking LLM Agents for Real-World Data Governance Workflowscited by 4
- 2025Agentic Specification Generator for Move Programscited by 3
- 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditingcited by 2
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolutioncited by 2
- 2026Knowdit: Agentic Smart Contract Vulnerability Detection with Auditing Knowledge Summarizationcited by 1
- 2026Combining Mechanical and Agentic Specification Inference for Movecited by 0
- 2026Beyond Detection: Agentic Attack Synthesis and Simulation for Smart Contractscited by 0
- 2026Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impactcited by 0
- 2026Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impact24 Sep 2026
- 2026Beyond Detection: Agentic Attack Synthesis and Simulation for Smart Contracts17 Jul 2026
- 2026Combining Mechanical and Agentic Specification Inference for Move11 May 2026
- 2026Semia: Auditing Agent Skills via Constraint-Guided Representation Synthesis1 May 2026
- 2026Knowdit: Agentic Smart Contract Vulnerability Detection with Auditing Knowledge Summarization27 Mar 2026
- 2026VulnResolver: A Hybrid Agent Framework for LLM-Based Automated Vulnerability Issue Resolution20 Jan 2026
- 2025DataGovBench: Benchmarking LLM Agents for Real-World Data Governance Workflows4 Dec 2025
- 2025RulePilot: An LLM-Powered Agent for Security Rule Generation15 Nov 2025
- 2025LISA Technical Report: An Agentic Framework for Smart Contract Auditing29 Sep 2025
- 2025Agentic Specification Generator for Move Programs29 Sep 2025
- 2025Knowledge-Based Multi-Agent Framework for Automated Software Architecture Design26 Mar 2025
- 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 52
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 14
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 10
- 2025Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucinationcited by 10
- 2025SCALM: Detecting Bad Practices in Smart Contracts Through LLMscited by 8
- 2025Vulnerability Detection: From Formal Verification to Large Language Models and Hybrid Approaches: A Comprehensive Overviewcited by 7
- 2025Detecting Various DeFi Price Manipulations with LLM Reasoningcited by 4
- 2025Inferring multiple helper Dafny assertions with LLMscited by 3
- 2025SymGPT: Auditing Smart Contracts via Combining Symbolic Execution with Large Language Modelscited by 2
- 2025Towards Secure Program Partitioning for Smart Contracts with LLM's In-Context Learningcited by 2
- 2025Adaptive Plan-Execute Framework for Smart Contract Security Auditingcited by 2
12 most cited of 23 All 23 (JSON)
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026Frequency-Aware Continual Learning for Smart Contract Vulnerability Detection with Large Language Models20 Aug 2026
- 2026AutoACSL: Synthesizing ACSL Specifications by Integrating LLMs with CPG-Based Static Analysis18 Jun 2026
- 2026IsabeLLM: Automated Theorem Proving Applied to Formally Verifying Consensus16 Jun 2026
- 2026CHAINTRIX: A multi-pipeline LLM-augmented framework for automated smart-contract security auditing10 May 2026
- 2026Hallucination-Resistant Security Planning with a Large Language Model5 Feb 2026
- 2025The 4/δ Bound: Designing Predictable LLM-Verifier Systems for Formal Method Guarantee30 Nov 2025
- 2025Inferring multiple helper Dafny assertions with LLMs31 Oct 2025
- 2025LLMs as verification oracles for Solidity23 Sep 2025
- 2025Incident Response Planning Using a Lightweight Large Language Model with Reduced Hallucination7 Aug 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challenges21 Jun 2025
12 newest of 23 All 23 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Beyond Code Similarity: Benchmarking the Plausibility, Efficiency, and Complexity of LLM-Generated Smart Contracts
- 2026Repository-Level Solidity Code Generation with Large Language Models: From Prompting to Fine-Tuning
- 2025Large Language Model based Smart Contract Auditing with LLMBugScanner
- 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justifications
- 2026An end-to-end agentic pipeline for smart contract translation and quality evaluation
- 2025SmartLLM: Smart Contract Auditing using Custom Generative AI
- 2025Towards Automated Smart Contract Generation: Evaluation, Benchmarking, and Retrieval-Augmented Repair
- 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMs