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

Bitcoin Weekly RSI Entering Power Zone – Last Time BTC Soared 80%
Este artículo también está disponible en español. Bitcoin experienced an explosive surge yesterday, with bulls driving the price to a new all-time high (gain) at $89,980.
Felix Ng2 hours agoETH DeFi ‘circuit breaker’ could cut hack losses by 70% — DeveloperDiyahir Campos, a smart contract developer behind the new ERC proposal, sought action after falling victim to the Euler Finance
Biden Administration May Roll Back Some Crypto Regulations, Top Banking Regulator Warns
Biden Administration May Roll Back Some Crypto Regulations, Top Banking Regulator Warns The top U.S. banking regulator is concerned that the Biden administration
Report: South Sudan Government Bans US Dollar Transactions
Report: South Sudan Government Bans US Dollar Transactions The government of South Sudan has reportedly prohibited U.S. dollar-based transactions and has directed that all local pa
Russia to Supply Electricity to Kazakhstan’s Cryptocurrency Miners
Russia to Supply Electricity to Kazakhstan’s Cryptocurrency Miners Russia is preparing to provide Kazakhstan with additional energy needed to operate crypto mining farms in the C
Dogwifhat (WIF) Shines With 15% Rally In The Past Week — Is $2.8 The Next Stop?
Este artículo también está disponible en español. The emergence of Donald Trump as the president-elect of the United States has been one of the biggest catalysts the cryp
Crypto-friendly Switzerland Outclasses U.S. as Facebook Libra’s Regulator
Switzerland crypto laws have appealed to blockchain enthusiasts for years. Facebook’s head of blockchain, David Marcus, is no exception. He released a statement announcing that he expects the new coin to be govern
Total Value Locked in Defi Reaches $250 Billion — Uniswap, Quickswap, Trader Joe Dominate Dex Volumes
Total Value Locked in Defi Reaches $250 Billion — Uniswap, Quickswap, Trader Joe Dominate Dex Volumes During the second week of October, the total value locked (TVL) in decentral
Fidelity amends Ether ETF Filing, discloses $4.7M in seed capital
Ana Paula Pereira6 hours agoFidelity amends Ether ETF Filing, discloses $4.7M in seed capitalBloomberg analyst Eric Balchunas anticipates that additional asset managers will update their filings on June 21, with Ether ET
Brayden Lindrea19 hours agoFake Ledger Live app sneaks into Microsoft’s app store, $588K stolenThe $588,000 was stolen across 38 transactions, with the largest transfer totaling $81,200.23329 Total views124 Total share
Ana Paula Pereira5 hours agoDeFi protocols Exactly, Harbor hacked in separate attacksA fresh round of attacks targeted the DeFi ecosystem on Aug. 18. The Exactly protocol was exploited for nearly $7.3 million, while the
Ground Reports Concerning Salvadoran Bitcoin Law Highlight False Narrative Painted by Influencers
Ground Reports Concerning Salvadoran Bitcoin Law Highlight False Narrative Painted by Influencers On Tuesday, Bitcoin.com News spoke with Marc Falzon, an individual who has been do