EIP-7702 order dependent delegated-status mismatch enables persistent free chain DoS
The transaction pool and block policy disagree on when an EIP-7702 authority becomes delegated, so a carefully ordered pair of transactions can make a block fail a reserve-balance check before execution. An attacker can repeat this to stall the chain without paying gas.
Submitted by oct0pwn, also found by 0xPhantom, DieEmpty, and RadiantLabs
bft/monad-eth-txpool/src/pool/tracked/sequencer.rs#L248-L253bft/monad-eth-block-policy/src/lib.rs#L1212-L1219bft/monad-eth-block-policy/src/lib.rs#L1347-L1354
Txpool marks an authority as delegated in order dependent way - once it includes the EIP-7702-carrying transaction in the proposal (ordering-sensitive). However, block policy globally sets all recovered EIP-7702 authorities as delegated for the entire block before any per-transaction reserve checks (NOT-ordering-sensitive).
A user can exploit this mismatch by submitting:
- X: an EIP-1559 (≤30M gas) transaction tuned to pass the emptying path (balance ≥
txn_max_gas) but fail the non-emptying reserve-only path (txn_max_gas>max_reserve_balance), with a very high tip. - Y: a valid-chain EIP-7702 transaction carrying an authorization for the same authority as X, with a slightly lower tip so it is included after X in the txpool’s ordering.
Txpool admits X first under emptying rules, then adds Y and flips delegation. When proposed, consensus peers treat the authority as delegated globally for the whole block, reclassify X as non-emptying, and reject the block for InsufficientReserveBalance. Because the block fails pre-execution, the attacker pays no gas; the transactions remain in the pool and are re-proposed, enabling repeated DoS.
Impact
-
Repeated, full, user-triggered DoS across leader slots; blocks built atop the invalid block are also rejected.
-
Chain can stall nearly completely due to each proposer continually trying to build invalid blocks.
-
Honest proposers/validators lose rewards/fees; attacker never pays gas (pre-execution rejection).
-
Broken invariants:
- “Chain finality: Speculative execution results of a previous block will be finalized within the designated system parameters if a supermajority of nodes are participating in consensus”. Finality is repeatedly prevented.
- “Transactions: The total token deduction from a sender’s balance must be equal to the sum of value and the product of
gas_priceandgas_limit. A transaction’s max_expenditure shall not exceed the sender’s available balance at the time of consensus.”
Affected Code
-
Txpool proposal sequencing (delegation flips only after a 7702 tx is included):
- Marks
is_delegated = trueonly after including a 7702-carrying tx (ordering-dependent): - https://github.com/code-423n4/2025-09-monad/blob/main/bft/monad-eth-txpool/src/pool/tracked/sequencer.rs#L248-L253
- Marks
-
Block policy global pre-marking (ordering-insensitive):
- Collects 7702 authorities up-front from all txs in the block (no ordering dependence here):
- https://github.com/code-423n4/2025-09-monad/blob/main/bft/monad-eth-block-policy/src/lib.rs#L1212-L1219
- Pre-marks all collected authorities as delegated before per-tx reserve checks:
- https://github.com/code-423n4/2025-09-monad/blob/main/bft/monad-eth-block-policy/src/lib.rs#L1347-L1354
Root cause
-
Semantic and timing mismatch for when
is_delegatedis derived:- Txpool: delegated status is applied lazily during proposal assembly as Y is included.
- Block policy: delegated status is applied at once to all authorities present anywhere in the block before checking any tx.
-
This reclassifies X between components: txpool admits X as emptying; policy re-evaluates X as non-emptying and rejects it under reserve rules.
Attack path
-
User submits two transactions targeting the same authority A:
- X (EIP‑1559): ≤30M gas, very high tip so
gas_at_bid * gas_limit > max_reserve_balance;value = 0. - Y (EIP‑7702): valid
chain_id, contains an authorization signed by A, with a slightly lower tip so it is included after X in the txpool ordering.
- X (EIP‑1559): ≤30M gas, very high tip so
-
Txpool proposal assembly selects X first (higher tip) while A is not yet marked delegated, admitting X under emptying rules (gas-only check).
-
Txpool then includes Y and marks A as delegated (ordering-dependent state flip) after Y’s inclusion.
-
Block policy coherency validation collects 7702 authorities from the whole block up-front and pre-marks A as delegated for the entire block.
-
The same X is re-evaluated under non-emptying rules and fails the reserve-only check with
InsufficientReserveBalance. -
The block is rejected pre-execution; proposer loses the slot. Transactions stay in the pool and will be re-proposed. By repeating across leaders (optionally rotating senders), the attacker achieves persistent DoS and liveness degradation.
Recommended mitigation steps
Unify delegation semantics across components, apply the order-sensitive semantics at the consensus level.
View detailed Proof of Concept
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the txpool applies delegated status lazily as each transaction is included, while the block policy pre-marks every EIP-7702 authority in the block as delegated before any per-transaction reserve check, so the same transaction is classified differently by the two components.
Impact
The attacker could repeatedly cause full, user-triggered denial of service across leader slots, stalling the chain and preventing finality, while paying no gas because blocks are rejected before execution.
What the attacker needed
Ability to submit transactions to the network; two transactions targeting the same authority; no gas cost because rejection is pre-execution
The fix
Delegation semantics should be unified across components so the order-sensitive behaviour is applied consistently at the consensus level.
How it was found
- Submit transaction X, an EIP-1559 transaction with a very high tip that passes the emptying-path balance check but would fail the reserve-only check.
- Submit transaction Y, a valid EIP-7702 transaction carrying an authorization for the same authority as X, with a slightly lower tip so it is ordered after X.
- The txpool selects X first while the authority is not yet marked delegated, admitting X under emptying rules.
- The txpool then includes Y and marks the authority as delegated.
- The block policy collects all EIP-7702 authorities up-front and pre-marks the authority as delegated for the whole block.
- The block policy re-evaluates X as non-emptying and rejects the block for insufficient reserve balance before execution.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A transaction pool decides which pending transactions go into a block, and a block policy checks that the block is valid. Here the two parts disagree about whether an account has delegated its spending rights to another account, depending on the order transactions are processed. An attacker can arrange two transactions so the pool accepts them but the policy then rejects the whole block, and because the block is rejected before any code runs, the attacker pays nothing while the chain keeps stalling.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.