Reproduced Exploit
Astrolab redemption queues the same shares once per operator and pays the other holder 0
requestRedeem checks that the caller owns the shares. It does not check that this owner already has a request, and the operator address is chosen by the caller. Each call adds shares to totalRedemption.
Loss
Bob is paid 0 instead of 50 assets. His 100 shares stay in the vault because totalRedemption is 300 and the v…
Chain
Ethereum
Category
logic
Date
Undated
Source
AuditVault
EVM Playground
Source-level debugger — step opcodes and Solidity in sync
The attack replays in your browser. Step through it by Solidity line or by opcode.
The attack is replayed in an in-browser EVM preloaded with the exact dumped fork state. The execution tree shows every call; step by Solidity line or by opcode across all depths — source, Stack, Memory, Storage, Balances (native / ERC-20 / NFT), Transient storage and Return value stay in sync. Click a tree node, opcode, or source line to jump. Query opens a search over the trace: previous and next writes, balance changes and calls, breakpoints, and a diff of everything that changed between two steps. No backend, no live RPC.
Source & credit. Reproduction of a public audit finding curated by AuditVault — the original finding: 58096-c-01-inflating-redemption-request-and-dos-in-the-vault-pasho. Standalone Foundry PoC and full write-up: 58096-c-01-inflating-redemption-request-and-dos-in-the-vault-pasho_exp in the
evm-hack-registrymirror.
Vulnerability classes: vuln/logic/redemption-accounting · vuln/dos/share-price
Key info#
| Field | Value |
|---|---|
| Loss | Bob is paid 0 instead of 50 assets. His 100 shares stay in the vault because totalRedemption is 300 and the vault holds 200 |
| Vulnerable contract | Vault.requestRedeem |
| Attacker EOA | 0x1111111111111111111111111111111111111111 |
| Attack contract | Exploit at 0x15452ec016c4dc8c549e7fe6ff4b26324ea8b7a4 |
| Attack tx | Exploit.run() |
| Chain / block / date | Ethereum model · block 0 · 1970-01 |
| Compiler | solc 0.8.27, cancun, via IR |
| Bug class | requestRedeem adds the owner's shares again for each new operator |
TL;DR#
requestRedeem checks that the caller owns the shares. It does not check that this owner already has a request, and the operator address is chosen by the caller. Each call adds shares to totalRedemption.
Alice holds 100 shares and Bob holds 100. The vault holds 200 assets. Alice queues 100 shares three times. totalRedemption is 300. Bob's withdraw compares 200 assets with 300 queued and pays 0. His 100 shares stay.
The fixed request stores one queue per owner. The second call reverts. totalRedemption stays 100, 100 assets remain accounted, and Bob's 100 shares are paid 50.
The vulnerable code#
if (owner != msg.sender || shares == 0 || balanceOf(owner) < shares) revert Unauthorized();
totalRedemption += shares; // @> VULN: the same shares are added again for a new operator
requested[operator] = shares;
The quoted requestRedeem uses that owner check and then the redemption total is increased. totalAccountedAssets subtracts the inflated total from totalAssets.
Impact#
Bob is paid 0 instead of 50 assets. His 100 shares remain because the accounted-asset subtraction does not fit in the vault balance.
Sources & further analysis#
Reproductions & code
- Standalone PoC + full trace: 58096-c-01-inflating-redemption-request-and-dos-in-the-vault-pasho_exp (evm-hack-registry mirror).
- AuditVault finding: 58096-c-01-inflating-redemption-request-and-dos-in-the-vault-pasho.
Alerts & third-party analyses
These dashboards index community alerts tweets, post-mortems, and independent write-ups. Reach them through the protocol name above to cross-check this reproduction against other analyses.