• Share this News :        


  • February 22, 2024
  • Anjana Suresh
ChatGPT Can Write Smart Contracts: Salus Security

Researchers at Salus Security, a prominent firm specializing in blockchain security, have unveiled a groundbreaking research paper. This paper sheds light on the potential role of GPT-4, an advanced artificial intelligence model developed by OpenAI, in the parsing and auditing of smart contracts, as reported by Cointelegraph. The research posits that GPT-4 could serve as a valuable tool in the process of auditing smart contracts, particularly in tasks involving code parsing and the provision of hints regarding potential vulnerabilities. However, it is crucial to note that the research underscores the importance of recognizing the limitations of GPT-4 in terms of vulnerability detection. Despite its capabilities, the AI model cannot entirely supplant the need for professional auditing tools and the expertise of experienced auditors in the current landscape, according to insights gleaned from the research paper.

Sources familiar with the matter disclosed that ChatGPT, a component of the GPT-4 model, exhibits proficiency in detecting true positives and identifying actual vulnerabilities within smart contracts. These vulnerabilities, if left unchecked, could pose significant risks, particularly outside the controlled environment of testing. Cointelegraph reports that ChatGPT has the potential to deliver an impressive precision rate of approximately 80% in testing scenarios. While the emergence of ChatGPT as a tool for smart contract auditing marks a notable advancement in the field, experts caution against over-reliance on AI-driven solutions. They emphasize the importance of maintaining a balanced approach that incorporates both automated tools and human expertise in auditing processes. As such, the integration of ChatGPT into existing auditing frameworks is viewed as a supplementary measure rather than a complete replacement for traditional auditing methodologies.

Furthermore, the research conducted by Salus Security underscores the need for ongoing development and refinement of AI-powered solutions in the domain of blockchain security. Continuous efforts in research and innovation are essential to enhance the efficacy and reliability of tools like ChatGPT in identifying and mitigating potential risks associated with smart contracts. The revelation that ChatGPT possesses the capability to engage in smart contract auditing represents a significant milestone in the evolution of blockchain security practices. However, it also highlights the importance of maintaining a nuanced approach that leverages both AI-driven technologies and human expertise to ensure robust security measures within blockchain ecosystems. As the field continues to evolve, stakeholders must remain vigilant in their efforts to adapt and innovate in response to emerging challenges and opportunities.