Smart Contract Vulnerability Detection using Prompt Engineering with Reasoning Models

The increasing deployment of smart contracts has drawn significant attention to the urgent need for robust and scalable vulnerability detection techniques to mitigate substantial financial risks associated with their immutable nature on blockchain platforms. This paper introduces structured reasoning prompts using agent-role chaining for vulnerability detection that utilizes model capacity to enhance smart contract security through zero-shot and structured prompt engineering without fine-tuning. By carefully defining agent roles and embedding explicit reasoning steps within structured prompts for large language models (LLMs), the proposed method exploits the inherent reasoning capabilities of LLMs to identify security flaws in smart contracts without extensive model retraining. Experimental results demonstrate the effectiveness of the system in achieving competitive performance compared to existing vulnerability detection techniques, highlighting the potential of prompt engineering as an efficient and adaptable strategy for enhancing smart contract security.

Authors

Publication Details

Published
2025-08-14
DOI
https://doi.org/10.1109/mapr67746.2025.11133797
Primary Topic
Insurance and Financial Risk Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Smart Contract Vulnerability Detection using Prompt Engineering with Reasoning Models

Phan The Duy, Van-Hau Pham, Lê Thái Hùng, Do Tran Anh Duc et al.
Insurance and Financial Risk Management
article

Smart Contract Vulnerability Detection using Prompt Engineering with Reasoning Models

Phan The Duy, Van-Hau Pham, Lê Thái Hùng, Do Tran Anh Duc, Hoang-Phuong Chu-Nguyen
article en

Abstract

The increasing deployment of smart contracts has drawn significant attention to the urgent need for robust and scalable vulnerability detection techniques to mitigate substantial financial risks associated with their immutable nature on blockchain platforms. This paper introduces structured reasoning prompts using agent-role chaining for vulnerability detection that utilizes model capacity to enhance smart contract security through zero-shot and structured prompt engineering without fine-tuning. By carefully defining agent roles and embedding explicit reasoning steps within structured prompts for large language models (LLMs), the proposed method exploits the inherent reasoning capabilities of LLMs to identify security flaws in smart contracts without extensive model retraining. Experimental results demonstrate the effectiveness of the system in achieving competitive performance compared to existing vulnerability detection techniques, highlighting the potential of prompt engineering as an efficient and adaptable strategy for enhancing smart contract security.

Openalex Percentile: Top 69%
Insurance and Financial Risk Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Smart Contract Vulnerability Detection using Prompt Engineering with Reasoning Models — Phan The Duy, Van-Hau Pham, et al. · (2025) | TGRS Research Map | TGRS