Fun

ChatGPT can write smart contracts; just don’t use it as a security auditor

News Feed - 2024-02-21 01:02:30

Tristan Greene11 hours agoChatGPT can write smart contracts; just don’t use it as a security auditorResearchers from Salus Security tested GPT-4 and other artificial intelligence systems’ ability to detect seven common security vulnerabilities.1718 Total views8 Total sharesListen to article 0:00NewsOwn this piece of crypto historyCollect this article as NFTJoin us on social networksA pair of researchers from Salus Security, a blockchain security company with offices in North America, Europe and Asia, recently published research showcasing GPT-4’s talents when it comes to parsing and auditing smart contracts.


As it turns out, artificial intelligence (AI) is pretty good at generating and parsing code, but you wouldn’t want to use it as a security auditor.


Per the paper:“GPT-4 can be a useful tool in assisting with smart contract auditing, especially in code parsing and providing vulnerability hints. However, given its limitations in vulnerability detection, it cannot fully replace professional auditing tools and experienced auditors at this time.”


The Salus researchers used a data set of 35 smart contracts (called the SolidiFI-benchmark vulnerability library), which contained a total of 732 vulnerabilities, to judge the AI’s ability to detect potential security weaknesses across seven common types of vulnerabilities.


Related:Crypto lost in BNB Chain heists down by 85% in 2023: Report


According to their findings, ChatGPT is good at detecting true positives — actual vulnerabilities that, outside of a testing environment, would be worth investigating. It reached greater than 80% precision in testing.


However, it has an apparent problem with generating false negatives. This is expressed through a statistic called “recall rate,” and in the Salus team’s experiments, GPT-4’s recall rate was as low as only 11% (higher is better).


This indicates, as the researchers concluded, “that GPT-4’s vulnerability detection capabilities are lacking, with the highest accuracy being only 33%.” As such, the researchers recommend using dedicated auditing tools and good old-fashioned human know-how for auditing smart contracts until AI systems such as GPT-4 can be brought up to speed.“In summary, GPT-4 can be a useful tool in assisting with smart contract auditing, especially in code parsing and providing vulnerability hints. ... When using GPT-4, it should be combined with other auditing methods and tools to enhance the overall accuracy and efficiency of the audit.”# Blockchain# Smart Contracts# AI# ChatGPT# OpenAIAdd reactionAdd reactionRead moreCircle to cease minting USDC on Tron Network effective immediatelyStarknet airdrop largely successful despite controversies$56M moved from defunct exchange after executives fled: Report

News Feed

50 Cent, Talib Kweli, Snoop Dogg and Nas: Celebrities Who Could Be Bitcoin Millionaires
50 Cent, Talib Kweli, Snoop Dogg and Nas: Celebrities Who Could Be Bitcoin Millionaires Many celebrities have mentioned the benefits of bitcoin and leveraged the asset for certai
Digital Ruble: Russia Unveils Plans to Test Central Bank Digital Currency
Digital Ruble: Russia Unveils Plans to Test Central Bank Digital Currency As China is actively testing its digital yuan, Russia is now planning to build and test
Amaka Nwaokocha10 hours agoCoinbase stock surges after favorable federal ruling for GrayscaleIn the final moments of the trading session on Aug. 29, the value of COIN stood at $85.13 per share, a jump of 15% over the pre
Tom Mitchelhill1 hour agoCoinbase layer-2 network Base suffers first major outage since launchBlock production on Base abruptly halted for 43 minutes as developers rushed to implement a fix.380 Total views20 Total shares
Moscow Not Planning to Ban Russians From Buying Crypto Abroad
Moscow Not Planning to Ban Russians From Buying Crypto Abroad Russia is not going to follow China’s course and does not plan to ban its citizens from purchasing cryptocurren
Ancient Bitcoin Block Rewards See Decrease in Spending After Record Activity in 2020 and 2021
Ancient Bitcoin Block Rewards See Decrease in Spending After Record Activity in 2020 and 2021 In 2021, a number of 2010 block rewards were spent after the bitcoins sat idle for mor
Renault Inks Partnership With The Sandbox to Bring Automotive Experiences to the Metaverse
Renault Inks Partnership With The Sandbox to Bring Automotive Experiences to the Metaverse The Korean subsidiary of Renault, a historic brand in the automotive industry, is establi
‘Oracle’ Vinny Lingham Expects High Bitcoin Volatility, BTC Price Likely to Hold $12K Handle for 30 Days
"Oracle" Vinny Lingham Expects High Bitcoin Volatility, BTC Price Likely to Hold $12K Handle for 30 Days Four years ago, Vinny Lingham predicted bitcoin’s
Turner Wright2 hours agoGrayscale resolves lawsuit with Fir Tree over proposed changes to Bitcoin TrustFir Tree hinted at potential additional litigation against Grayscale and parent company Digital Currency Group based
Helen Partz8 hours agoARK, 21Shares update spot Bitcoin ETF application as next SEC deadline loomsThe latest update is the third amendment to ARK and 21Shares’ Bitcoin exchange-traded fund prospectus since the firms fi
Jesse Coghlan7 hours agoGirlfriends, murdered kids, assassin androids — is AI cursed?Artificial intelligence has provided the world with tools that might make life easier. But there has also been a slew of disturbing d
Arie Trouw11 hours agoDecentralization and sovereignty: Debunking our approach to digital sovereigntyWhether it"s browser data or sensitive information, our digital snail trail is frequently extrapolated and shared under