CONNECT WITH US
Web3 & Blockchain

Web3 & Blockchain

Lithe: A Formally Verifiable EVM Language Built for AI Agents

Blockchain.News logo

Published on

Add as a preferred source on Google
Lithe: A Formally Verifiable EVM Language Built for AI Agents

Lithe, a new EVM language developed by AI agents, offers smaller bytecode, formal verification, and enhanced security for smart contracts.

Lithe, a new smart contract language for the Ethereum Virtual Machine (EVM), has been introduced as a tool designed and built by AI agents. Developed in just 12 days using the Recur agent workflow tool, Lithe features smaller bytecode, built-in formal verification, and enhanced security mechanisms. According to Celestia Labs, the language aims to address common vulnerabilities in smart contracts while improving efficiency and auditability.

One of the key motivations behind Lithe's development is the prevalence of security flaws in existing smart contracts. A 2024 OWASP review found that access-control flaws accounted for two-thirds of $1.42 billion in losses, with Solidity often relying on conventions that both humans and AI models can overlook. Lithe mitigates these risks by embedding security rules directly into its compiler, making it easier to identify and prevent errors such as missing caller checks.

Unlike Solidity, which allows state-changing calls to execute before a function completes, Lithe ensures that every entry point represents a single state transition. This design prevents vulnerabilities like the reentrancy bug that caused the 2016 Ethereum DAO hack. For example, Lithe's defer keyword delays external calls until the current state is fully updated, ensuring consistency and security.

Lithe integrates formal verification into its workflow through the lithe prove tool, which checks deployed bytecode against developer-written specifications. This process ensures that contracts behave as intended across all inputs and call orders. Additionally, tools like lithe abi-tree and lithe footprint provide detailed insights into function paths, state changes, and error declarations, simplifying the auditing process.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.