Status DataClose notification

How Responsible Disclosure Through HackenProof Fixed a High-Severity ERC-4337 Vulnerability Before It Reached Users

TrustSec researchers identified a denial-of-service and griefing flaw in earlier versions of ERC-4337 Account Abstraction. HackenProof coordinated responsible disclosure with the Ethereum Foundation, leading to a targeted fix in EntryPoint v0.9.

  • ResearcherTrustSec
  • ProtocolERC-4337 / Ethereum AA
  • Program TypeBug Bounty (Responsible Disclosure)
  • ScopeEntryPoint Contract · AA Mempool

01 — Case Overview

ERC-4337 Account Abstractiondocs.erc4337.io

ERC-4337 introduces Account Abstraction to Ethereum without changes at the consensus layer—enabling advanced wallet features like custom authentication, batched transactions, and gas sponsorship through a shared EntryPoint contract. The TrustSec security research team identified a high-severity flaw affecting earlier versions of this standard and disclosed it responsibly through the Account Abstraction bug bounty program on HackenProof.

HackenProof served as the coordination channel between TrustSec and the Ethereum Foundation—managing the disclosure process, supporting communication, and ensuring mitigations were implemented before public disclosure.

CRITICAL FINDING
1High-severity vulnerability identified—enabling DoS and griefing attacks on certain AA transactions
FIX RELEASED IN
v0.9EntryPoint version that implemented the targeted fix, restricting handleOps to EOA-only top-level calls
FUNDS AT RISK
0User funds at risk—the issue did not enable theft, only denial-of-service and gas loss for victims
ATTACK VECTORS
2Common exploit entry points: the ERC-4337 off-chain mempool and the public Ethereum mempool

02 — Challenges

ERC-4337 introduced new execution model assumptions that created a security gap missed by the protocol's original design.

Broken execution isolation assumption

Existing DeFi protocols—including reentrancy guards—were designed assuming no attacker-controlled code runs earlier in the same call stack. ERC-4337's execution model doesn't always guarantee this.

Observable mempool enables exploit

For the attack to succeed, the UserOperation needed to be observable before execution—possible through both the ERC-4337 off-chain mempool and the public Ethereum mempool.

Scope limited but growing

At discovery, ERC-4337 mempool usage was in the early stages. But as AA adoption grows and interactions with DeFi infrastructure increase, the potential impact scales significantly.

Protocol-level coordination required

Fixing the issue required coordinated action across bundlers, wallets, and infrastructure providers—not just a contract patch. Responsible disclosure timing was critical.

03 — The Finding

HackenProof coordinated the disclosure process between TrustSec and the Ethereum Foundation in three structured phases.

  1. 1

    Vulnerability identification

    TrustSec identified that UserOperation signatures bind intended transaction parameters but don't guarantee a fully isolated execution context—allowing pre-existing safety checks like reentrancy guards to be manipulated.

  2. 2

    Responsible disclosure via HackenProof

    The finding was submitted through the Account Abstraction bug bounty program on HackenProof. HackenProof managed communication with the Ethereum Foundation, giving time for assessment and mitigation before public disclosure.

  3. 3

    Exploit conditions clarified

    For exploitation, the UserOperation must be observable before execution—via the ERC-4337 off-chain mempool or a handleOps transaction in the public Ethereum mempool. An attacker observes the pending operation, temporarily modifies relevant contract state, and causes the inner transaction to revert while still consuming gas.

  4. 4

    Targeted fix in EntryPoint v0.9

    The mitigation enforces that handleOps and handleAggregatedOps can only be invoked by externally owned accounts in a top-level transaction context—removing the conditions required for the griefing scenario.

  5. 5

    Coordinated ecosystem notification

    Relevant ecosystem participants—wallets, bundlers, infrastructure providers—were notified before public disclosure to allow impact assessment and migration to v0.9.

  • ERC-4337
  • EntryPoint
  • Mempool
  • Reentrancy
  • Responsible disclosure
  • Ethereum Foundation

04 — Results

STATUS
FixedVulnerability patched in EntryPoint v0.9 before any exploitation in production
SEVERITY
HighSeverity classification—DoS and griefing scenario with gas cost impact on victims
FUND THEFT
NoFund theft was possible—the issue enabled service disruption and gas loss, not asset compromise
PATCH VERSION
v0.9EntryPoint release containing the fix—recommended upgrade for all wallets, bundlers, and infrastructure providers

05 — KEY TAKEAWAY

This case demonstrates the value of structured bug bounty programs for protocol-level research. TrustSec's findings were acknowledged and rewarded through the Account Abstraction program, and additional coordination with affected applications helped reduce downstream risk. HackenProof's role as a neutral coordination channel enabled a fast, transparent, and professionally managed disclosure process.