SmartLLMSentry: A Comprehensive LLM Based Smart Contract Vulnerability Detection Framework
Not on the map. Why?
Abstract (arXiv)
Smart contracts are essential for managing digital assets in blockchain networks, highlighting the need for effective security measures. This paper introduces SmartLLMSentry, a novel framework that leverages large language models (LLMs), specifically ChatGPT with in-context training, to advance smart contract vulnerability detection. Traditional rule-based frameworks have limitations in integrating new detection rules efficiently. In contrast, SmartLLMSentry utilizes LLMs to streamline this process. We created a specialized dataset of five randomly selected vulnerabilities for model training and evaluation. Our results show an exact match accuracy of 91.1% with sufficient data, although GPT-4 demonstrated reduced performance compared to GPT-3 in rule generation. This study illustrates that SmartLLMSentry significantly enhances the speed and accuracy of vulnerability detection through LLMdriven rule integration, offering a new approach to improving Blockchain security and addressing previously underexplored vulnerabilities in smart contracts.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 35 of its 61 references that are in the map. First posted on arXiv 28 Nov 2024.
Builds on
35 of 61 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2023A Survey of Large Language Modelscited by 2,576
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2019How Can We Know What Language Models Know?cited by 959
23 more
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
- 2021Design Guidelines for Prompt Engineering Text-to-Image Generative Modelscited by 218
- 2022Active Example Selection for In-Context Learningcited by 196
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 152
- 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 110
- 2023When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunitiescited by 90
- 2019Slither: A Static Analysis Framework For Smart Contractscited by 89
- 2023ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Designcited by 66
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 59
- 2023Large Language Model-Powered Smart Contract Vulnerability Detection: New Perspectivescited by 48
- 2019Growing a Brain: Fine-Tuning by Increasing Model Capacitycited by 43
- 2024Capabilities of Large Language Models in Control Engineering: A Benchmark Study on GPT-4, Claude 3 Opus, and Gemini 1.0 Ultracited by 37
- 2023Boosted Prompt Ensembles for Large Language Modelscited by 36
- 2023Improving ChatGPT Prompt for Code Generationcited by 28
- 2023A study on Prompt Design, Advantages and Limitations of ChatGPT for Deep Learning Program Repaircited by 26
- 2020sFuzz: An Efficient Adaptive Fuzzer for Solidity Smart Contractscited by 19
- 2020eThor: Practical and Provably Sound Static Analysis of Ethereum Smart Contractscited by 11
- 2021Eth2Vec: Learning Contract-Wide Code Representations for Vulnerability Detection on Ethereum Smart Contractscited by 7
- 2021sGUARD: Towards Fixing Vulnerable Smart Contracts Automaticallycited by 3
- 2020WANA: Symbolic Execution of Wasm Bytecode for Cross-Platform Smart Contract Vulnerability Detectioncited by 1
- 2021Reentrancy Vulnerability Identification in Ethereum Smart Contractscited by 1
- 2023Unveiling the Landscape of Smart Contract Vulnerabilities: A Detailed Examination and Codification of Vulnerabilities in Prominent Blockchainscited by 1
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026SPEAR: An Engineering Case Study of Multi-Agent Coordination for Smart Contract Auditingcited by 0
- 2026Tailored Prompts, Targeted Protection: Vulnerability-Specific LLM Analysis for Smart Contractscited by 0
- 2026Decoupled Smart Contract Audits: Lightweight LLM Framework via Distillation and Aggregationcited by 0
- 2026Decoupled Smart Contract Audits: Lightweight LLM Framework via Distillation and Aggregation2 Jun 2026
- 2026Tailored Prompts, Targeted Protection: Vulnerability-Specific LLM Analysis for Smart Contracts5 May 2026
- 2026SPEAR: An Engineering Case Study of Multi-Agent Coordination for Smart Contract Auditing4 Feb 2026