← Back to Research Radar
Academic Publication Academic Publication

When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?

50
Citations
May 31, 2025
Published Date

Research Abstract & Technology Focus

With the development of blockchain technology, smart contracts have become an important component of blockchain applications. Despite their crucial role, the development of smart contracts may introduce vulnerabilities and potentially lead to severe consequences, such as financial losses. Meanwhile, large language models, represented by ChatGPT, have gained great attention, showcasing great capabilities in code analysis tasks. In this article, we presented an empirical study to investigate the performance of ChatGPT in identifying smart contract vulnerabilities. Initially, we evaluated ChatGPT’s effectiveness using a publicly available smart contract dataset. Our findings discover that while ChatGPT achieves a high recall rate, its precision in pinpointing smart contract vulnerabilities is limited. Furthermore, ChatGPT’s performance varies when detecting different vulnerability types. We delved into the root causes for the false positives generated by ChatGPT, and categorized them into four groups. Second, by comparing ChatGPT with other state-of-the-art smart contract vulnerability detection tools, we found that ChatGPT’s F-score is lower than others for 3 out of the 7 vulnerabilities. In the case of the remaining 4 vulnerabilities, ChatGPT exhibits a slight advantage over these tools. Finally, we analyzed the limitation of ChatGPT in smart contract vulnerability detection, revealing that the robustness of ChatGPT in this field needs to be improved from two aspects: its
uncertainty
in answering questions; and the
limited length
of the detected code. In general, our research provides insights into the strengths and weaknesses of employing large language models, specifically ChatGPT, for the detection of smart contract vulnerabilities.
Read Full Literature

AI Semantic Synergy Context

Connecting this academic literature to real-world market discussions and products.

roipad.com › trend story
0%

OpenAI Patches ChatGPT Data Exfiltration Flaw and Codex GitHub Token Vulnerability

A previously unknown vulnerability in OpenAI ChatGPT allowed sensitive conversation data to be exfiltrated without user knowledge or consent, according to new findings from Check Point. "A single m...

crossref.org › academic paper
0%

Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues

Since its introduction in November 2022, ChatGPT has rapidly gained popularity due to its remarkable ability in language understanding and human-like responses. ChatGPT, based on GPT-3.5 architectu...

github.com › AI insight
0%

Address Snyk and Socket security audit findings in skill docs

Security audits by Snyk and Socket identified critical vulnerabilities in the 'codebase-to-course' skill, including risky credential handling, third-party content exposure from arbitrary repo intak...

roipad.com › trend story
0%

ChatGPT Health Underestimates Medical Emergencies, Study Finds

It is also inconsistent with suicide-risk alerts, the researchers said.

roipad.com › narrative analysis
0%

Chatgpt

ChatGPT is expanding into e-commerce, competing directly with Gemini for sales integration, indicating a market shift towards AI-driven shopping. However, OpenAI faces substantial ethical scrutiny ...

Frequently Asked Questions (FAQ)

Curated market intelligence mapped to this research.

What is the core focus of the research titled 'When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?'?

This literature focuses on: With the development of blockchain technology, smart contracts have become an important component of blockchain applications. Despite their crucial role, the development of smart contracts may introduce vulnerabilities and potentially lead to seve...

Are there open-source GitHub repositories related to When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We??

Yes, open-source projects like smartcmd/MinecraftConsoles (A certain block game) are actively building upon these concepts.

Which startups are commercializing the technology behind When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We??

Products like PromptURLs are bringing this to market. Their focus is: Turn any prompt into a shareable URL for ChatGPT, Claude .

Are there commercial applications of 'When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?' in market news publications?

Yes, highly correlated activity was mapped. An entry titled 'OpenAI Patches ChatGPT Data Exfiltration Flaw and Codex GitHub Token Vulnerability' discusses this: A previously unknown vulnerability in OpenAI ChatGPT allowed sensitive conversation data to be exfiltrated without user knowledge or consent, accor...

What other academic literature is closely related to 'When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?'?

Yes, highly correlated activity was mapped. An entry titled 'Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issues' discusses this: Since its introduction in November 2022, ChatGPT has rapidly gained popularity due to its remarkable ability in language understanding and human-li...

Cite this Market Intelligence Report

Reference our AI-mapped synergy between this research and the commercial market to instantly build authority.

Commercial Realization

Startups and Open Source tools heavily associated with the concepts explored in this paper.

Associated Media Narrative