Diğer Açık Erişim

OpenAI ChatGPT for Smart Contract Security Testing: Discussion and Future Directions

   Alıcı, Uzay Işın; Oksuztepe, Ayca; Kilincceker, Onur; Karaarslan, Enis

Decentralized applications (Dapps) have the potential to revolutionize many systems and are increasingly used, eg. in Web3 solutions. Smart contracts often manage valuable assets and sensitive data as the loss of any digital asset can be irreversible. There is a growing need for the security of these systems as any vulnerability can lead to irreversible financial losses. However, traditional software development and testing systems fall short of providing security for Blockchain technologies and Web3 developers. Considering the current potential of artificial intelligence, it can be used as a solution to secure Dapps. LLMs can analyze smart contract code for vulnerabilities, generate test cases, and provide recommendations for improvement. In this article, we question the use of ChatGPT for this purpose. It is shown that ChatGPT has the potential to aid developers. Advantages, limitations and improvement methods are given. Possible future work is given.

Dosyalar (984.2 kB)
Dosya adı Boyutu
2023-ChatGPTforSmartContractTesting.docx-1.pdf
md5:42eaf6ef42ae3a0e318f435e9a2763e4
984.2 kB İndir