Crypto exploits

Aztec Connect exploit proof of concept

A numRealTxs field outside the hashed region of RollupProcessorV3's rollup proof let an attacker mint unbacked deposits into Aztec Connect's L2 state across 14 chained rollups and withdraw them as real assets. DeFiHackLabs and a dev.to write-up report about $2.19M; Etherscan's own per-asset valuations of the same transaction's transfers sum closer to $2.8M.

David

Security ·

Reported loss
~$2.19M per DeFiHackLabs and dev.to (908.99 ETH + 270.5K DAI + 167.9 wstETH + yvDAI/yvWETH/LUSD/yvLUSD); Etherscan's own per-asset valuation of the same transfers, totals closer to $2.8M
Occurred
Logged
Chain
Ethereum

Logged as “2026-06-14: Numrealtxs Proofsettlement Mismatch Permissionless Rollupprocessorv3 on Aztec Connect”.

Analysis3 min read

Aztec Connect was a shielded-transaction bridge that let users move funds privately in and out of Aztec's original rollup, settling net balances back to Ethereum through a contract called RollupProcessor. Aztec Labs deprecated it in March 2023, stopped new deposits, and renounced the contract's admin keys so the team itself could no longer pause, upgrade or patch it, a decision Halborn's write-up on the hack states directly. That immutability is what let a flaw sit untouched in the processor for more than three years before anyone used it.

The contract exploited, RollupProcessorV3 at 0xFF1F2B4ADb9dF6FC8eAFecDcbF96A2B351680455, settled a rollup batch by reading a field called numRealTxs from the submitted calldata and processing exactly that many of the batch's transaction rows through processDepositsAndWithdrawals(): for each real row it called decreasePendingDepositBalance and checked the deposit's shield signature before accepting it. The zero-knowledge proof verified alongside it worked differently. decodeProof() hashed the public inputs in whole inner-rollup chunks of 32 rows, so any numRealTxs value from 1 to 32 produced the identical single-chunk hash and the identical valid proof. A gist published by Aztec contributor Lasse Herskind describes the resulting gap plainly: L1 trusted the proof to make every row after numRealTxs harmless, but the proof made no such guarantee, because the verifier's public-input hash commits to the whole first 32-slot inner-rollup chunk, so a state-changing row after numRealTxs was part of the accepted state transition. A deposit placed at row index 1 while numRealTxs was declared as 1 would be proven into Aztec's private L2 state by the accepted proof, while the corresponding L1 deposit accounting for that row was simply never run.

The attacker, address 0x0F18D8b44a740272f0be4d08338d2b165b7EdD17 and labeled "Aztec Exploiter 1" by Etherscan, used that gap across 14 chained rollups, ids 13277 through 13290, submitted through an orchestrator contract at 0x06f585F74e0DA633Ae813A0f23Fb9900B61d0fcD. The sequence:

  1. Rollup 13277 declared numRealTxs = 1 while its second row carried a real deposit of 908.99 ETH; the deposit was proven and minted into L2 state, but the L1 deposit check that should have required matching collateral never ran.
  2. Rollups 13278 through 13283 repeated the same trick for DAI, wstETH, yvDAI, yvWETH, LUSD and yvLUSD, minting unbacked L2 balances in each.
  3. Rollups 13284 through 13289 withdrew each of those six assets, now settled as ordinary real transactions, straight to the attacker's address.
  4. Rollup 13290 withdrew the 908.99 ETH the same way.

processRollup() on the deprecated V3 contract carried no caller restriction, since the rollup-provider gate had been removed to let any late user exit before the sunset, so nothing stopped an outside address from submitting the crafted rollups directly.

The attack transaction, 0x074ec9317d8336db37e8c348fbdd7515573ff4088239c77ab429f522509aeeb1 on Etherscan, landed in block 25,315,715 on June 14, 2026 at 12:26:23 UTC. Sources disagree on the total taken. DeFiHackLabs and a dev.to write-up of the incident both put it at about $2.19 million, covering the 908.99 ETH leg plus the six other assets. Etherscan's own valuation of the same transaction's transfers runs higher: 908.99 ETH at roughly $2.02 million, 270,513 DAI at about $270,511, 167.89 wstETH at about $467,534, 4,873.86 yvDAI at about $5,995, 16.57 yvWETH at about $41,816, 9,273.73 LUSD at about $9,783 and 359.05 yvLUSD at about $460, a sum closer to $2.8 million (the sum of Etherscan's per-asset values; Herskind's gist gives token amounts but no dollar total). The gap is likely which token prices each source applied at settlement; no source resolves it, so both figures are given here rather than one chosen.

A second drain within days

Four days later, on June 18, 2026, a second attacker used a different flaw, a forgeable proof on the contract's escapeHatch() exit path that accepted an unauthorized withdrawal once the rollup size was set to zero, to drain Aztec's original V1 rollup contract for a reported 1,158 ETH, 150,000 DAI and 0.4696 renBTC, covered separately as the Aztec V1 incident. The two drains hit different contracts in the same deprecated Aztec Connect system through unrelated validation gaps, four days apart.

Aztec's team could not respond with a patch or a pause to either incident. Its public position, given to press after the second hack, was that deprecated Aztec infrastructure runs on immutable contracts the team cannot pause, upgrade or modify, and that neither incident touched the live Aztec Network, its current privacy rollup, or the AZTEC token. No bounty or recovery was reported for either drain.

What would have prevented the first exploit is binding numRealTxs inside the region the zero-knowledge proof actually commits to, or having the L1 contract settle every row the proof covers rather than trusting an unverified count of how many rows to process. Herskind's write-up recommends exactly that, on either the contract side or the circuit side.

Sources read (8)

Other exploits

Query every incident yourself — free, no signup

Updated 8 Nov 2026. Figures are as reported by the sources listed above and are not independently verified.