Cointime

Download App
iOS & Android

Breaking Barriers: GPTScan's Game-changing Role in Smart Contract Security

Validated Project

Recently, MetaTrust Lab unveiled its latest AI research report, introducing a groundbreaking weapon in the Web3 security industry's arsenal to combat smart contract vulnerabilities: GPTScan. As a powerful engine, GPTScan integrates generative pre-trained transformers (GPT) with static analysis, seamlessly embedded within the AI-driven security scanning tool, MetaScan. This innovation efficiently detects logical vulnerabilities in smart contracts.

The research paper titled "When GPT Meets Program Analysis: Towards Intelligent Detection of Smart Contract Logic Vulnerabilities in GPTScan" was first publicly disclosed in early August 2023 and is currently under review for a prestigious conference in the software engineering domain. The paper meticulously delves into the architecture, design, and evaluation of GPTScan, showcasing its effectiveness in identifying vulnerabilities within complex smart contracts. Evaluation conducted on a diverse dataset comprising approximately 400 contract projects and 3,000 Solidity files revealed GPTScan's high precision, especially in substantial projects like DefiHacks, where it achieved an impressive accuracy rate exceeding 90%. It effectively identified real logic flaws with a recall rate exceeding 70%.

https://github.com/MetaTrustLabs/GPTScan-DefiHacks

For researchers, GPTScan ushers in a new era in AI-driven security, inspiring further exploration of comprehensive AI capabilities. With GPTScan, the software engineering field can make rapid strides in constructing more robust, reliable, and secure decentralized systems. Researchers at MetaTrust AI Labs commented during an academic visit, stating, "GPTScan is the first tool to harness GPT technology to match potential vulnerability functions based on code-level context and features."

As smart contracts and DeFi projects continue to expand, vulnerabilities in susceptible contracts have led to losses amounting to billions of dollars, emphasizing the urgent need for advanced security solutions in the industry. GPTScan offers a distinct advantage to smart contract developers and auditors by reducing financial and reputational risks through the identification of previously undiscovered vulnerabilities.

Notably, researchers have improved the accuracy of smart contract scanning by guiding GPT to identify critical variables and statements, followed by static confirmation, effectively mitigating the issue of false positives that can occur when relying solely on GPT for vulnerability identification. Furthermore, GPTScan uncovered nine new vulnerabilities not present in the Code4rena audit report, underscoring its value as a complementary tool for human auditors.

https://github.com/MetaTrustLabs/GPTScan-Web3Bugs

This pioneering fusion of AI and blockchain in GPTScan has garnered recognition from researchers in the AI field. "The inherent autonomy of artificial intelligence aligns closely with the decentralization and autonomy features of blockchain and smart contracts. It has the potential to shift the prevailing centralized governance in the blockchain ecosystem to a truly decentralized and autonomous paradigm," remarked AI researchers.

On the path to smart contract security, GPTScan's emergence provides an unprecedented tool for gaining insight into and safeguarding smart contracts from potential threats. Whether you are a developer, auditor, or participant in the blockchain ecosystem, GPTScan offers an effective means to address previously imperceptible logic flaws.

The birth of GPTScan represents the organic union of artificial intelligence and blockchain, bringing forth new opportunities and challenges. We eagerly anticipate witnessing more innovations in the future, further advancing the security and reliability of smart contracts.

About MetaTrust Labs

MetaTrust Labs is the world's leading provider of Web3 AI security services with largest research team in Asia which incubated by Nanyang Technological University in Singapore. Our range of services includes AI Security Scanning, Security Audits, Security Monitoring, and Open Source Smart Contract Templates. We offer fast, accurate, and cost-efficient solutions through every stage of the project development lifecycle to help builders develop secure Web3 applications with ease.

Comments

All Comments

Recommended for you

  • Japan Officially Allows Export of Lethal Weapons Through Cabinet Resolution

    On April 21, according to Kyodo News, the Japanese government officially revised the 'Three Principles on Transfer of Defense Equipment' and its operational guidelines during a cabinet meeting, which will, in principle, allow the export of lethal weapons. (Xinhua News Agency)

  • Trump Claims Iran Will Negotiate

    On April 21, during a phone interview with CNN, U.S. President Trump stated that Iran "will negotiate" and expressed confidence in potential talks set to take place in Pakistan. Trump remarked, "They will negotiate; if they don't, they will face unprecedented problems." He also expressed hope that both sides could reach a "fair agreement" and emphasized that Iran "will not have nuclear weapons." Additionally, he defended military actions against Iran by stating there was "no choice" and claimed that they would ultimately "wrap things up."

  • Amazon to Invest Additional $5 Billion in Anthropic

    On April 21, Amazon announced on Monday that it will invest an additional $5 billion in the artificial intelligence company Anthropic, bringing the total investment to as much as $20 billion. Anthropic develops the Claude chatbot and programming tools, and plans to invest over $100 billion in Amazon's cloud technology and chips over the next decade.

  • Three U.S. Carrier Strike Groups May Deploy Simultaneously in the Middle East

    On April 21, according to CCTV, the U.S. military is expected to deploy three carrier strike groups simultaneously in the Middle East in the coming days. Currently, the USS Lincoln strike group is stationed in the Gulf of Oman, near the Strait of Hormuz, participating in maritime blockade operations; the USS Ford strike group is located in the northern Red Sea; and the USS Bush strike group, which is taking a route around Africa, is heading north from the southeast of Africa and is expected to enter the Arabian Sea—this carrier may replace the USS Ford in its mission. In the short term, the U.S. military may have three aircraft carriers in the Middle East.

  • BTC Surpasses $76,000

    Market data shows that BTC has surpassed $76,000, currently priced at $76,039.83, with a 24-hour increase of 1.67%. The market is highly volatile, so please ensure proper risk management.

  • Trump: Bombs Will Explode if Ceasefire Agreement Expires

    On April 20, according to PBS, U.S. President Trump stated on Monday that if the ceasefire agreement with Iran expires on Tuesday, there will be a large number of bombs exploding. Trump made this remark during a call with White House reporter Liz Landers, focusing on the issue of the Iran war, while a U.S. delegation was preparing for further peace negotiations. When asked whether Iran would still participate in the talks scheduled to take place in Islamabad, Trump replied, "I don't know. I mean, they should show up. It's arranged. We'll see if they come. If they don't, that's fine too." When asked about his expectations for the negotiations, Trump stated, "Very simple, Iran absolutely cannot have nuclear weapons."

  • U.S. Vice President Vance and Delegation to Arrive in Islamabad Today

    On April 20, according to the New York Post: U.S. Vice President Vance and the American delegation will arrive in Islamabad today.

  • BitMine Increases ETH Holdings by Over 100,000, Total Holdings Exceed 4.97 Million ETH

    As of April 19, Eastern Time, BitMine's total cryptocurrency and cash holdings, including the 'Moon Landing Plan,' amount to $12.9 billion. BitMine holds 4,976,485 ETH (an increase of 101,627 ETH from last week), which represents 4.12% of the total Ethereum supply of 120.7 million ETH. Additionally, it holds 199 BTC, shares in Beast Industries worth $200 million, $107 million in Eightco Holdings (NASDAQ: ORBS), and $1.12 billion in unsecured cash. As of April 20, 2026, the total amount of staked ETH by BitMine is 3,334,637 ETH, valued at $7.7 billion based on a price of $2,301 per ETH.

  • Strategy Acquires 34,164 Bitcoins for $2.54 Billion Last Week

    On April 20, Strategy purchased 34,164 Bitcoins last week for a total of approximately $2.54 billion, at a unit price of about $74,395, achieving a 9.5% return on Bitcoin from 2026 to date. As of April 19, 2026, Strategy holds a total of 815,061 Bitcoins, valued at approximately $61.56 billion, with a unit price of about $75,527.

  • Web3 data and AI company Validation Cloud completes $10 million in new round of financing

     Web3 data and AI company Validation Cloud announced a $10 million financing round from True Global Ventures. The company plans to use the funds to expand its AI products and achieve seamless access to Web3 data.