The Ethereum Foundation’s Trillion Dollar Security initiative is spearheading a critical research effort to address systemic vulnerabilities in transaction execution, specifically targeting the persistent risks of blind signing and transaction uncertainty. As decentralized finance (DeFi) continues to evolve, the disparity between what a user authorizes and what actually executes on the blockchain has become a focal point for security researchers. The foundation is now exploring the implementation of native transaction assertions—a mechanism designed to enforce the final outcome of a transaction—as a vital evolution alongside the previously announced Clear Signing standard. This initiative aims to bridge the gap between user intent and on-chain reality, addressing the core issue that a valid digital signature does not currently guarantee the desired transaction result.
The Architecture of Risk: Why Signatures Fail
The fundamental design of the Ethereum Virtual Machine (EVM) operates on the principle of executing explicit instructions without evaluating whether the resulting state aligns with the user’s economic goals. When a user signs a transaction, they are essentially providing a cryptographic commitment to a specific request—comprising the target contract, value, and calldata. However, this commitment is vulnerable to the volatile environment of the blockchain. The actual execution is contingent upon the contract code and the state of the network at the exact moment the transaction is included in a block.
This architecture creates two primary failure vectors: intent mismatches and outcome mismatches. An intent mismatch occurs when a user believes they are authorizing one action, while the underlying request—often manipulated by a compromised interface—executes another. Historical incidents have underscored the severity of this risk. During the Bybit and Safe wallet incident, attackers utilized compromised frontends to request signatures that, if authorized, would have replaced the Safe’s implementation contract. Similarly, the BadgerDAO attack saw users granting token spending permissions to malicious contracts under the guise of legitimate interactions. These events demonstrate that traditional signature verification is insufficient if the interface presenting the request is untrustworthy.
Conversely, an outcome mismatch occurs when a user approves a seemingly benign transaction, but the execution environment produces a result that defies the user’s safety policies or economic goals. The 2024 Aave and CoW Swap incident remains a cautionary tale of this phenomenon. A user attempted to swap approximately $50.4 million of aEthUSDT for aEthAAVE. Due to thin liquidity and complex gas-related limitations within the protocol’s solver-based flow, the execution resulted in a significant price impact. Despite the interface displaying a 99.9% price impact warning, the lack of an on-chain, enforced "minimum output" rule—independent of the frontend—meant the user received tokens worth only $36,000. These cases highlight that Ethereum lacks a robust, native mechanism for on-chain code to verify the net state changes and events produced by a transaction before finality.
Evolution of Security: From Simulation to Assertions
For years, the industry has relied on external defenses to mitigate these risks. Simulation services, for instance, predict a transaction’s effects based on a snapshot of the current chain state. While helpful, simulations are inherently reactive and subject to "sandwich attacks" or front-running, where the state of the blockchain changes between the time of simulation and the time of transaction inclusion. The Radiant Capital exploit serves as a stark example; even when a wallet’s simulation displayed the intended transaction, malware on the user’s local machine surreptitiously substituted the malicious payload at the moment of signing.

Clear Signing, another pillar of the Ethereum Foundation’s security roadmap, attempts to demystify complex calldata by providing human-readable explanations of the transaction’s purpose. While this significantly improves user transparency, it remains dependent on the signer’s ability to interpret and identify deviations from their intent. Furthermore, while protocols like Uniswap utilize amountOutMinimum to prevent slippage and Safe’s checkAfterExecution hook allows for guard-based security, these are piecemeal solutions. They require developers to manually choose which state variables to inspect and, more importantly, they are often limited by the functions a contract chooses to expose. They cannot, for example, inspect the entirety of the network’s state changes, leaving them blind to unforeseen side effects.
EIP-7906: Defining the Future of Transaction Integrity
The proposed solution, formalized under EIP-7906 (Transaction Assertions via State Diff Opcode), introduces a paradigm shift in how transactions are validated. Building upon the foundation of EIP-8141, which defines frame transactions—a structured sequence of validation and action steps—EIP-7906 introduces a "POST_TX" frame. This frame acts as a read-only checkpoint at the conclusion of the transaction.
By leveraging new EVM instructions—TXTRACE, TXDIFF, and EVENTDATACOPY—this mechanism enables on-chain code to perform a comprehensive audit of the transaction’s outcome. TXTRACE provides an enumeration of net state changes and events, TXDIFF retrieves the specific start and end values for addresses or storage slots, and EVENTDATACOPY facilitates the extraction of event data into memory.
Crucially, this check happens as a static call, meaning it cannot modify the state; it only confirms whether the transaction met the pre-defined safety rules. If the rule is violated, the entire transaction reverts, ensuring that assets are not lost to malicious or unexpected execution paths. Importantly, the gas payer is still charged for the execution, a deliberate design choice to prevent spamming the network with failed transactions.
Strategic Implications and Challenges
The implementation of native transaction assertions presents significant opportunities for strengthening the ecosystem, particularly in the realm of delegation. As users increasingly utilize agents or smart accounts to manage their assets, the ability to define granular, outcome-based constraints becomes paramount. Users could, for example, authorize an agent to trade on their behalf while enforcing a rule that ensures the agent cannot drain a specific liquidity pool or change the contract’s administrative logic.
However, the efficacy of this system relies heavily on the source of the rules. A rule defined by a compromised interface is useless; therefore, the industry must develop standards where these assertions are derived from independently verified user intent or immutable policy sets. Furthermore, because EIP-7906 does not mandate the inclusion of assertions in every transaction, the onus falls on wallet providers to integrate these protections into their default workflows.

The integration also poses challenges for existing protocols. Immutable contracts deployed today cannot be retrofitted to verify these assertions. Future protocols, however, could mandate that all interactions occur via frame transactions that include specific, signed assertions, effectively creating a "walled garden" of safety for their users.
Moving Toward Consensus
The Ethereum Foundation’s focus on this research is part of a broader, multi-year effort to secure the ecosystem against the multi-billion dollar threats posed by interface manipulation and execution risk. As of mid-2026, while EIP-8141 is slated for the upcoming "Hegot" upgrade, EIP-7906 remains in the "Considered for Inclusion" phase.
The technical community is currently engaged in robust debate regarding the potential trade-offs of these opcodes, particularly concerning gas costs and potential impacts on node performance. Yet, the consensus among security researchers is that the current status quo—where the end user bears the full weight of complex, opaque, and non-deterministic transaction execution—is unsustainable for mass adoption.
The Ethereum Foundation has invited developers, wallet architects, and protocol teams to contribute to this research. By refining the design of transaction assertions, the community hopes to move closer to a network where "what you sign is truly what you get." As the initiative continues, the focus will shift from theoretical frameworks to practical implementation, testing these assertions in diverse environments to ensure they provide the intended security without compromising the composability and efficiency that define the Ethereum network. Through these efforts, the foundation aims to build a more resilient infrastructure, transforming the user experience from one of blind trust to one of verifiable certainty.
