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

Chainlink Token Down 60% in Under 40 Days: Opponents Ask If the Bubble Has Finally Burst?
Chainlink Token Down 60% in Under 40 Days: Opponents Ask If the Bubble Has Finally Burst?After reaching an all-time high of $19.20 on August 14, the Chainlink token now trades lower
Tesla CEO Elon Musk Takes Stake in Twitter — Analyst Says It Could Lead to a Buyout
Tesla CEO Elon Musk Takes Stake in Twitter — Analyst Says It Could Lead to a Buyout Tesla CEO Elon Musk has taken a stake in Twitter Inc. after stating that he is “giving
EURST Creator Simone Mazzuca Explains What Differentiates It From Other Stablecoins and Why It Is Here to Stay
EURST Creator Simone Mazzuca Explains What Differentiates It From Other Stablecoins and Why It Is Here to Stay Simone Mazzuca is the creator of EURST – the first representat
US Lawmakers Accuse Gary Gensler of ‘Hypocritical Mismanagement of SEC’ — Say the Chairman ‘Refuses to Practice What He Preaches’
US Lawmakers Accuse Gary Gensler of "Hypocritical Mismanagement of SEC" — Say the Chairman "Refuses to Practice What He Preaches" Four congressmen have accused the U.S. Securitie
Bitcoin market cap reaches a new high, briefly surpassing silver
Zoltan Vardai10 hours agoBitcoin market cap reaches a new high, briefly surpassing silverBitcoin briefly became the eighth-largest asset in the world after temporarily surpassing the market cap of silver.4313 Total views
Binance to Drop USDC Trading Pairs, Plans to Auto-Convert Specific Stablecoin Balances to BUSD
Binance to Drop USDC Trading Pairs, Plans to Auto-Convert Specific Stablecoin Balances to BUSD The world’s largest cryptocurrency trading platform by trade volume, Binance,
Whale Loads Up $300M Ethereum Onchain: Did He Just Catch The Bottom?
Reason to trust Strict editorial policy that focuses on accuracy, relevance, and impartiality Created by industry experts and meticulously reviewed The highest standards in reporting and pu
Shariah Council Permits Cryptocurrency Investing and Trading
Shariah Council Permits Cryptocurrency Investing and TradingThe Shariah Advisory Council of Malaysia’s securities commission has advised that it is permissible to invest and t
Experts say latest SCOTUS opinions will limit SEC power over crypto
Turner Wright3 hours agoExperts say latest SCOTUS opinions will limit SEC power over cryptoThe conservative members of the U.S. Supreme Court sided with two majority opinions that could have lasting implications for fede
Jesse Coghlan6 hours agoSolana gains 80% in a month as Firedancer goes live on testnetSolana’s scaling solution, Firedancer, is seen as a long-term solution to the blockchain’s once-frequent outages.2963 Total views9
Experts Predict More Bank Failures in the US Following Interest Rate Hike and Unsettled Banking Crisis
Experts Predict More Bank Failures in the US Following Interest Rate Hike and Unsettled Banking Crisis After the recent bank collapses in the U.S., a number of people believe that
Dollar-Cost Averaging Crypto Profits: Low-Risk Bitcoin Investing Without All the Stress
Dollar-Cost Averaging Crypto Profits: Low-Risk Bitcoin Investing Without All the Stress Bitcoin prices and a number of other digital assets have grown significan