Large Language Model based Smart Contract Auditing with LLMBugScanner
Not on the map. Why?
Abstract (arXiv)
This paper presents LLMBugScanner, a large language model (LLM) based framework for smart contract vulnerability detection using fine-tuning and ensemble learning. Smart contract auditing presents several challenges for LLMs: different pretrained models exhibit varying reasoning abilities, and no single model performs consistently well across all vulnerability types or contract structures. These limitations persist even after fine-tuning individual LLMs. To address these challenges, LLMBugScanner combines domain knowledge adaptation with ensemble reasoning to improve robustness and generalization. Through domain knowledge adaptation, we fine-tune LLMs on complementary datasets to capture both general code semantics and instruction-guided vulnerability reasoning, using parameter-efficient tuning to reduce computational cost. Through ensemble reasoning, we leverage the complementary strengths of multiple LLMs and apply a consensus-based conflict resolution strategy to produce more reliable vulnerability assessments. We conduct extensive experiments across multiple popular LLMs and compare LLMBugScanner with both pretrained and fine-tuned individual models. Results show that LLMBugScanner achieves consistent accuracy improvements and stronger generalization, demonstrating that it provides a principled, cost-effective, and extensible framework for smart contract auditing.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 25 of its 49 references that are in the map. First posted on arXiv 29 Nov 2025.
Builds on
25 of 49 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
- 2023Universal Self-Consistency for Large Language Model Generationcited by 198
- 2024CodeGemma: Open Code Models Based on Gemmacited by 145
- 2024A Survey on Large Language Model-Based Game Agentscited by 106
- 2024SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationalescited by 102
- 2023DiverseVul: A New Vulnerable Source Code Dataset for Deep Learning Based Vulnerability Detectioncited by 98
13 more
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 88
- 2018Securify: Practical Security Analysis of Smart Contractscited by 61
- 2023Large Language Model-Powered Smart Contract Vulnerability Detection: New Perspectivescited by 48
- 2022An Empirical Study of Deep Learning Models for Vulnerability Detectioncited by 44
- 2019Manticore: A User-Friendly Symbolic Execution Framework for Binaries and Smart Contractscited by 36
- 2019Empirical Review of Automated Analysis Tools on 47,587 Ethereum Smart Contractscited by 35
- 2023Do you still need a manual smart contract audit?cited by 34
- 2024Generalization-Enhanced Code Vulnerability Detection via Multi-Task Instruction Fine-Tuningcited by 30
- 2018Finding The Greedy, Prodigal, and Suicidal Contracts at Scalecited by 19
- 2023BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detectioncited by 19
- 2024LLM-SmartAudit: Advanced Smart Contract Vulnerability Detectioncited by 10
- 2024EnStack: An Ensemble Stacking Framework of Large Language Models for Enhanced Vulnerability Detection in Source Codecited by 4
- 2024Smart Contract Vulnerabilities, Tools, and Benchmarks: an Updated Systematic Literature Reviewcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025SAEL: Leveraging Large Language Models with Adaptive Mixture-of-Experts for Smart Contract Vulnerability Detection
- 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justifications
- 2025LLMs as verification oracles for Solidity
- 2025SmartLLM: Smart Contract Auditing using Custom Generative AI
- 2025Smart-LLaMA-DPO: Reinforced Large Language Model for Explainable Smart Contract Vulnerability Detection
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection
- 2024Retrieval Augmented Generation Integrated Large Language Models in Smart Contract Vulnerability Detection
- 2026On the Shoulders of Giants: Empowering Automated Smart Contract Auditing via the GiAnt Corpus ↗