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

BTC price needs 5% dip to liquidate $2B of Bitcoin longs
William Suberg7 hours agoBTC price needs 5% dip to liquidate $2B of Bitcoin longsBitcoin traders are precariously betting on current sideways BTC price action soon ending.7152 Total views20 Total sharesListen to article
HUMAN Protocol Foundation Awards Grant to VeritaTrust to Build on-Chain Rewards for Reviews
HUMAN Protocol Foundation Awards Grant to VeritaTrust to Build on-Chain Rewards for Reviews press release PRESS RELEASE.Georgetown, Cayman Islands, May 10, 2022– Today, HUMAN
Jesse Coghlan4 hours agoFTX users name Mercedes F1 team and MLB in new promo lawsuitsThe group of FTX users is taking aim at the Mercedes Formula One team and Major League Baseball for allegedly helping FTX commit fraud
SEC sues Bitcoin miner Geosyn, accusing founders of $5.6M fraud
Jesse Coghlan3 hours agoSEC sues Bitcoin miner Geosyn, accusing founders of $5.6M fraudThe SEC alleged Geosyn Mining’s co-founders misappropriated $1.2 million of its investors’ funds, spending it on holidays, nightc
Zain Jaffer10 hours agoTradFi shifts perspectives on crypto assetsBut again, there was a progression where the analog versions of this entertainment content were with us. So, many of us in the older crowd have grown to a
Bitcoin prepping breakout with ‘$90K+’ BTC price target — New analysis
William Suberg19 hours agoBitcoin prepping breakout with ‘$90K+’ BTC price target — New analysisBitcoin faces a key weekly close as BTC price indicators keep bulls’ hopes alive when it comes to new all-time high
Russia’s Telecom Watchdog Roskomnadzor Targets Another 6 VPN Providers
Russia’s Telecom Watchdog Roskomnadzor Targets Another 6 VPN Providers Roskomnadzor, the government body responsible for oversight of communications in Russia, is taking steps to
Bitcoin Dips Below $95K as January CPI Data Shows Increasing Inflation. Can $MEMEX 100x?
The January US CPI data is in, and it’s not what the market anticipated. Consumer prices surged by 0.5% in the first month of 2025, exceeding the expected 0.3% increase. On a year
Stacks (STX) price outperforms the market as interest in layer-2 Bitcoin grows
Nancy Lubale5 hours agoStacks (STX) price outperforms the market as interest in layer-2 Bitcoin growsSTX emerges as a top performer as market participants’ interest in layer-2 Bitcoin continues to grow.542 Total views2
Fund Managers Increasingly Prefer Bitcoin Over Gold — Say It’s a Better Store of Value
Fund Managers Increasingly Prefer Bitcoin Over Gold — Say It"s a Better Store of Value A growing number of fund managers and institutional investors now prefer bitcoin over gold.
Recent Bitcoin Bull Run and Prior Run-up Data Suggests a Softer Bear Market Is in the Cards
Recent Bitcoin Bull Run and Prior Run-up Data Suggests a Softer Bear Market Is in the Cards It’s been six months or roughly 180 days since bitcoin reached an all-time high a
Terraform Labs Co-Founder Daniel Shin’s Firm Chai Reportedly Raided by Seoul Prosecutors
Terraform Labs Co-Founder Daniel Shin"s Firm Chai Reportedly Raided by Seoul Prosecutors Following the collapse of FTX, law enforcement officials are still dealing with the Terra b