Interactive smart contract auditing with ChatGPT
In this paper, we will analyse the efficacy of a web-based smart contract auditor that uses LLMs to audit smart contracts in Solidity. First, we propose a set of pre-defined prompts to help smart contract developers query the LLM. Next, we allow users different follow-up queries to harness the uniqu...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
Nanyang Technological University
2024
|
Subjects: | |
Online Access: | https://hdl.handle.net/10356/175342 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-175342 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-1753422024-04-26T15:44:53Z Interactive smart contract auditing with ChatGPT Lee, Joash Kai Liu Yang School of Computer Science and Engineering yangliu@ntu.edu.sg Computer and Information Science Smart contract Solidity Large language model Vulnerability detection In this paper, we will analyse the efficacy of a web-based smart contract auditor that uses LLMs to audit smart contracts in Solidity. First, we propose a set of pre-defined prompts to help smart contract developers query the LLM. Next, we allow users different follow-up queries to harness the unique language capabilities of GPT, improving the detection and user experience of the auditing tool. Our solution: AuditGPT is a web-based interface that allows users to select different prompting styles for their code. Our experiments show that flexibility in prompting styles can aid human developers in understanding code vulnerabilities as well as improved detection rates compared to trivial vulnerability checking Bachelor's degree 2024-04-23T12:08:36Z 2024-04-23T12:08:36Z 2024 Final Year Project (FYP) Lee, J. K. (2024). Interactive smart contract auditing with ChatGPT. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/175342 https://hdl.handle.net/10356/175342 en application/pdf Nanyang Technological University |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
Computer and Information Science Smart contract Solidity Large language model Vulnerability detection |
spellingShingle |
Computer and Information Science Smart contract Solidity Large language model Vulnerability detection Lee, Joash Kai Interactive smart contract auditing with ChatGPT |
description |
In this paper, we will analyse the efficacy of a web-based smart contract auditor that uses LLMs to audit smart contracts in Solidity. First, we propose a set of pre-defined prompts to help smart contract developers query the LLM. Next, we allow users different follow-up queries to harness the unique language capabilities of GPT, improving the detection and user experience of the auditing tool. Our solution: AuditGPT is a web-based interface that allows users to select different prompting styles for their code. Our experiments show that flexibility in prompting styles can aid human developers in understanding code vulnerabilities as well as improved detection rates compared to trivial vulnerability checking |
author2 |
Liu Yang |
author_facet |
Liu Yang Lee, Joash Kai |
format |
Final Year Project |
author |
Lee, Joash Kai |
author_sort |
Lee, Joash Kai |
title |
Interactive smart contract auditing with ChatGPT |
title_short |
Interactive smart contract auditing with ChatGPT |
title_full |
Interactive smart contract auditing with ChatGPT |
title_fullStr |
Interactive smart contract auditing with ChatGPT |
title_full_unstemmed |
Interactive smart contract auditing with ChatGPT |
title_sort |
interactive smart contract auditing with chatgpt |
publisher |
Nanyang Technological University |
publishDate |
2024 |
url |
https://hdl.handle.net/10356/175342 |
_version_ |
1806059897029132288 |