Cointime

Download App
iOS & Android

The End of Reentrancy Attack: How the Prover Engine is Making the Ethereum Blockchain Secure

Validated Project

Smart contract security is crucial yet challenging. Reentrancy vulnerability has led to massive hacks and financial losses. MetaTrust Labs presents the Prover Engine, the first formally verified solution that proves reentrant safety of smart contracts with mathematical guarantees.

The State of Smart Contract Security

Smart contracts are prone to security issues due to their autonomy and irrevocability. Reentrancy attack is one of the most devastating yet preventable vulnerabilities, which has led to hacks stealing tens of millions of dollars. Existing solutions like manual audits, static analysis, and fuzz testing lack mathematical soundness and scalability. They struggle to gain developers’ trust and fail to solve this critical problem.

A Formally Verified Solution: The Prover Engine

The Prover Engine proves reentrant safety with formal methods and provides mathematical proofs. It gives developers, auditors, and funders assurance that if a contract is proven safe, reentrancy vulnerability does not exist.We define reentrant safety on the contract level instead of the trace level. A contract is reentrant-safe if any potential reentrant call during any method execution will not compromise state consistency. Specifically, no state variable is changed before the call but used after. The Prover Engine decomposes a contract into fragments where each has only one external call. It models how state variables change across each fragment and checks state consistency, scaling to complex contracts where trace analysis fails. By combining results of all fragments, the Prover Engine proves reentrant safety of the entire contractThe guarantees are mathematically sound. Developers can confidently release and funders can securely use contracts proven reentrant-safe by the Prover Engine.

The Potential Impact

The Prover Engine can revolutionize smart contract security with verified, scalable solutions, enabling wide-adoption of secure and reliable smart contracts. It helps developers avoid costly vulnerabilities, allows auditors to focus on logical issues, gives funders ways to identify low-risk opportunities, and builds trust in this transformative technology.We envision the Prover Engine as the first step towards a fully verified smart contract system secured by machines and mathematics rather than fallible human efforts alone. The smart contract ecosystem deserves far more robust security fundamentals, and formal methods can provide foundations as solid as the blockchain itself.

The Prover Engine, redefining what’s possible in smart contract security.

Follow Us

Twitter: @MetaTrustLabs

Website: metatrust.io

Comments

All Comments

Recommended for you

  • Scammers use Google to promote fake Whales Market website to steal cryptocurrency

    According to a report from BleepingComputer, threat actors have discovered a method where scammers use Google's platform to promote phishing websites impersonating Whales Market in order to steal cryptocurrency. These fraudulent websites are placed as sponsored links (i.e. advertisements) at the top of Google search result pages, and despite the domain address displayed on the search result page appearing to be real, users will be redirected to the fake website upon clicking.

  • Cyvers: Hedgey suffered the same vulnerability on Arbitrum and lost about $42.8 million

    Cyvers Alerts on X platform stated that the system detected that the financial derivative agreement Hedgey Finance executed the same vulnerability on the ARB chain and gained approximately 42.8 million US dollars in profit.

  • Tether issues 1 billion USDT on Ethereum (authorized but not yet issued)

    Whale Alert has monitored Tether Treasury's addition of 1 billion USDT on Ethereum. Tether CEO Paolo Ardoino stated that this 1 billion USDT is a supplement to Ethereum inventory. This is an authorized but unissued transaction, which means that this issuance will be used for the next issuance request and cross-chain exchange inventory.

  • CertiK: Hedgey vulnerability was exploited and $1.9 million was stolen

    CertiK Alert posted on social media that it has detected that the on-chain token infrastructure protocol Hedgey has been exploited and stolen approximately 1.9 million US dollars.The attacker abused the createLockedCampaign function in flash loans to obtain approval for the use of tokens on the victim's contract. The USDC, NOBL, and MASA tokens in the victim's contract have been depleted.

  • Binance executives' bail application postponed again, still in custody

    The bail hearing for Binance executive Tigran Gambaryan has been postponed again by a Nigerian court, and he remains detained at the Kuje Correctional Center. The hearing is now scheduled for April 22, with the EFCC requesting time to respond to new arguments from the defense. Gambaryan's lawyer criticized the prosecution for failing to respond promptly. Binance has been accused of concealing the source of its income, while Gambaryan is accused of money laundering. In addition, he has also filed a lawsuit against the government for violating his human rights.

  • BTC breaks through $64,000

    The market shows BTC breaking through $64,000, now reporting at $64,012.44, with an intraday increase of 4.95%. The market fluctuates greatly, so please be prepared for risk control.

  • SEC accuses Justin Sun of frequent trips to the U.S. to sell tokens

    The US SEC has amended its lawsuit against Tron founder Sun Yuchen, stating that his frequent travel to multiple locations in the US allows the court to have corresponding jurisdiction. The SEC accuses Sun Yuchen and his company of selling unregistered securities through Tron and BitTorrent (BTT) tokens and engaging in manipulative money laundering transactions. The SEC claims that Sun Yuchen spent more than 380 days in the US from 2017 to 2019, with travel destinations including New York, Boston, and San Francisco. Sun Yuchen argues that the token sales were conducted entirely overseas, avoiding the US market, and therefore the SEC has no jurisdiction over him and the Tron Foundation, which is headquartered in Singapore. (Cointelegraph)

  • Cyvers Alerts: Multiple phishing transactions detected this morning

    Cyvers Alerts reported on X platform that multiple phishing transactions were discovered by the system this morning. The victims have approved the external owned accounts (EOA) of the phishers. We strongly recommend revoking the relevant approvals.

  • BTC breaks through $63,000

    The market shows BTC has broken through $63,000 and is currently trading at $63,062.48, with an intraday increase of 3.53%. The market is volatile, so please be prepared for risk control.

  • CZ: Bitcoin halving is different from stock split, happy halving

    CZ wrote on X platform that Bitcoin halving is different from stock splitting. The fact that people are asking such questions shows that we are still in the early stages. He then attached a picture to explain his views on what might happen before and after the Bitcoin halving in 2023, and said "happy halving!"