Cointime

Download App
iOS & Android

MetaTrust's AI Scan Engine: Harnessing the Power of GPT and Static Analysis

Validated Project

We are excited to announce that MetaTrust Labs has developed an innovative GPT-based auditing engine, specifically designed to analyze logic smart contract vulnerabilities that were previously deemed un-auditable by machines, as per the ICSE'23 Web3Bugs paper.

In contrast to other companies that solely rely on GPT for scanning, resulting in a high number of false positives, we believe that the true potential of GPT can be fully harnessed when combined with a powerful static analysis tool like MetaScan. Specifically, while ChatGPT excels at reading code and recognizing its properties, it struggles to effectively analyze the control and data dependencies of key variables, often misidentifying patched code as vulnerable. On the other hand, static analysis may not be adept at intelligently recognizing code scenarios or properties, but it provides accurate dependency analysis and formal verification. To leverage the strengths of both GPT and static analysis, we have designed a novel architecture for a GPT-based scanning engine (details to be introduced in a forthcoming academic paper). This engine has been seamlessly integrated into MetaTrust's MetaScan service.

We have tested this AI scan engine on various Web3Bugs. One example is https://github.com/metatrust-demo/LogicBug-Prepo, which was audited on Code4rena. As depicted in the following screenshot, our engine was successful in detecting a high-risk logic vulnerability that allowed the first depositor to disrupt the minting of shares.

Another example is from a past attack incident that led to a BSC token named ATK suffering a $127k loss on October 12, 2022. By scanning this vulnerable contract with MetaScan, our AI engine was able to effectively pinpoint the following vulnerable function:

The application of AI in blockchain security is exciting. We believe that combining GPT and static analysis with AI technologies can detect potential vulnerabilities that human auditors find difficult to identify. Although AI will not completely replace manual audits, it can greatly enhance audit efficiency and coverage. We are working to build a reliable AI system to protect blockchain users and help build a safer cryptocurrency ecosystem. While there is still a long way to go, the future is promising. We firmly believe that the blockchain industry will continue to benefit from the development of AI.

AI has huge potential in the field of blockchain security. By combining GPT and static analysis with AI technologies, we can detect potential vulnerabilities that human auditors find difficult to identify. We are constantly improving our AI scanning engine to provide the best results, working to build a reliable AI system to protect on-chain assets and project security. The AI scanning engine of MetaScan is an important step towards achieving this goal. Try MetaScan for FREE now.

Follow Us

Website: metatrust.io

Twitter: @MetaTrustLabs

Comments

All Comments

Recommended for you

  • BTC breaks through $110,500

    the market shows that BTC has broken through $110,500, now reporting $110,549.33, with a 24-hour increase of 3.48%. The market is fluctuating significantly, please manage the risk.

  • BTC breaks through $109,800

    the market shows BTC breaking through $109,800, now trading at $109,819.99, with a 24-hour increase of 4.22%. The market is fluctuating significantly, so please manage your risks.

  • BTC breaks through $109,500

    the market shows that BTC has broken through $109,500, now reported at $109,521, with a 24-hour increase of 4.01%. The market is volatile, so please be prepared for risk control.

  • Bitcoin's market value surpasses Amazon, becoming the fifth largest asset in the world

    data shows that the current market value of Bitcoin has exceeded the market value of Amazon, becoming the fifth largest asset in the global market value ranking. This market value surpass is mainly due to the recent continuous rise in the price of Bitcoin.

  • Asset management giant GraniteShares launches two ETFs involving Bitcoin and Nvidia

    asset management giant GraniteShares has announced the launch of two exchange-traded funds involving Bitcoin and Nvidia to complement its existing YieldBOOST products, namely: GraniteShares YieldBOOST NVDA ETF (NVYY) and GraniteShares YieldBOOST Bitcoin ETF (XBTY), with the Bitcoin ETF aiming to generate income through options strategies linked to 2x long Bitcoin daily ETF. At the end of last year, the company also filed for leveraged ETF applications for MicroStrategy and other crypto-related companies.

  • BTC breaks through $107,000

    the market shows BTC breaking through $107,000, now reporting $107,010.7, with a 24-hour increase of 2.62%. The market is fluctuating greatly, please manage risks.

  • Binance HODLer Airdrop Launches Haedal (HAEDAL)

    according to the official announcement, Binance HODLer airdrop is online Haedal (HAEDAL).

  • Musk says artificial intelligence could hit power generation bottleneck by mid-next year

    Musk said on Tuesday that as the technology industry builds increasingly large data centers, the development of artificial intelligence may encounter a power generation bottleneck by the middle of next year. Musk said in an interview that his AI startup xAI is planning to build a gigawatt-level facility near Memphis, Tennessee, which will be completed within six to nine months. According to data from the US Department of Energy, 1 gigawatt is equivalent to the power generation capacity of an average nuclear power plant in the United States. Musk pointed out that artificial intelligence faces three major limitations when scaling up: chips, transformers, and power generation capacity. Musk said, "When we solve the shortage of transformers, we will fundamentally solve the shortage of power generation. My guess is that maybe by the middle or end of next year, people will start facing challenges in power generation." Google also warned in February that the United States is facing a power crisis. Caroline Golin, head of global market development for Google Energy, said that the company began exploring the application of nuclear energy after realizing that renewable energy could lead to an unstable power grid.

  • a16z's AI studio Promise reaches partnership with Google

    On May 21st, it was announced that the generative AI studio Promise has established a partnership with Google to integrate Google's AI technology into its production pipeline and Muse workflow software. This collaboration will also involve researchers from Google's DeepMind.

  • 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.