Title : ( Collaborative LLM Reasoning for Vulnerability Detection in Smart Contracts )
Authors: AmirReza Samari , parsa hedayatnia , Seyyed Javad Bozorg Zadeh Razavi , Mohammad Allahbakhsh , Haleh Amintoosi ,Access to full-text not allowed by authors
Abstract
Smart contracts play a pivotal role in decentralized applications but are subject to security vulnerabilities often difficult to detect. Traditional static and symbolic analysis tools cannot handle intricate logic and are limited in adaptability and explainability. Recent development of large language models (LLMs) provide new opportunities for vulnerability detection, but singlemodel methods often suffer from inconsistency and prompt sensitivity. This paper introduces a collaborative LLM-based model that enhances detection robustness through semantic similarity-based few-shot prompting and multi-LLM reasoning. Our model integrates diverse LLMs (ChatGPT, Gemini, Grok) as worker nodes, along with an aggregator model to resolve disagreements via justification analysis and final prediction consolidation. Experimental evaluations on the SmartBugs benchmark demonstrated a remarkable enhancement in detection accuracy (96.25%) and response time compared to other models. The proposed model provides a scalable and explainable solution for smart contract auditing, illustrating the strength of LLM collaboration in securitycritical applications.
Keywords
, Smart Contract Security, Vulnerability Detection, Large Language Models (LLMs), Collaborative LLM Reasoning, Blockchain@inproceedings{paperid:1106798,
author = {Samari, AmirReza and Hedayatnia, Parsa and Bozorg Zadeh Razavi, Seyyed Javad and Allahbakhsh, Mohammad and Amintoosi, Haleh},
title = {Collaborative LLM Reasoning for Vulnerability Detection in Smart Contracts},
booktitle = {2025 15th International Conference on Computer and Knowledge Engineering (ICCKE)},
year = {2025},
location = {IRAN},
keywords = {Smart Contract Security; Vulnerability Detection; Large Language Models (LLMs); Collaborative LLM Reasoning; Blockchain},
}
%0 Conference Proceedings
%T Collaborative LLM Reasoning for Vulnerability Detection in Smart Contracts
%A Samari, AmirReza
%A Hedayatnia, Parsa
%A Bozorg Zadeh Razavi, Seyyed Javad
%A Allahbakhsh, Mohammad
%A Amintoosi, Haleh
%J 2025 15th International Conference on Computer and Knowledge Engineering (ICCKE)
%D 2025
دانلود فایل برای اعضای دانشگاه