Reproduced Exploit
sBOLD — swap credits BOLD that the approved collateral never paid for
sBOLD is an ERC-4626 vault over Liquity V2 BOLD stability pools. swap() is permissionless. It approves a stability-pool token to a fixed 1inch v6 adapter and then only checks that the vault's BOLD balance rose by at least minOut. The adapter's generic swap lets the caller name the executor. The att…
Loss
4.219135442551128639 WETH, 5.768363658222702678 wstETH, and 0.388632737229426117 rETH on one representative t…
Chain
Ethereum
Category
defi
Date
Nov 2026
Source
DeFiHackLabs
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. Exploit reproduction, trace data, and analysis adapted from DeFiHackLabs by SunWeb3Sec — an open registry of reproduced on-chain exploits. Standalone Foundry PoC and full write-up: 2026-11-sBOLD_exp in the
evm-hack-registrymirror. Upstream DeFiHackLabs PoC:src/test/…/sBOLD_exp.sol.
Vulnerability classes: vuln/defi/share-inflation · vuln/logic/swap-check Reproduction: the PoC compiles and runs in an isolated Foundry project at this project folder. Full verbose trace: output.txt. The trace forks Ethereum mainnet at block 26,441,928 and
[PASS] testExploitplus[PASS] testControl_DepositRedeemNoProfit.
Key info#
| Loss | 4.219135442551128639 WETH, 5.768363658222702678 wstETH, and 0.388632737229426117 rETH on one representative transaction. The campaign is reported near $3.43M across about 34 transactions |
| Vault | sBOLD 0x50bd66d59911f5e086ec87ae43c811e0d059dd11 |
| Example tx | 0xaa3c7f00c5e449abb4d871b3fdad91e44d6a61c7d83c36eff23faf783d4e84cf |
| Chain / block / date | Ethereum mainnet / fork block 26,441,928 / 2026-11-18 |
TL;DR#
sBOLD is an ERC-4626 vault over Liquity V2 BOLD stability pools. swap() is permissionless. It approves a stability-pool token to a fixed 1inch v6 adapter and then only checks that the vault's BOLD balance rose by at least minOut. The adapter's generic swap lets the caller name the executor. The attacker names their own contract, which delivers BOLD from a Liquity trove. The approved collateral is not spent on the first swap, and the second swap pulls the prefunded WETH back out through the leftover approval.
Each cycle deposits 9,000,000 BOLD, transfers 4 WETH into the vault so totalAssets counts it, injects BOLD, redeems the shares at the higher rate, and recovers the 4 WETH. After eight cycles the skim is about 21,480 BOLD. Redeeming that BOLD through Liquity's collateral registry pays the three collateral tokens above, and the BOLD balance returns to about zero.
A deposit of 8,000,000 BOLD followed by a redeem, with no swap, returns less than was deposited.
The call#
// The vault approves collateral, then accepts any BOLD balance increase.
SBOLD.swap(sd, address(this)); // @> VULN: the executor delivers BOLD the collateral did not pay
Diagrams#
How to reproduce#
Offline, from this folder:
bash ../_shared/run-poc/run_poc.sh 2026-11-sBOLD_exp -vv
testExploit asserts the three collateral nets. testControl_DepositRedeemNoProfit asserts a plain deposit and redeem does not profit.
Sources & further analysis#
Reproductions & code
- Standalone PoC + full trace: 2026-11-sBOLD_exp (evm-hack-registry mirror).
- Upstream DeFiHackLabs PoC:
sBOLD_exp.sol. - Attack transaction: view on explorer.
Alerts & third-party analyses
- DeFiHackLabs incident explorer: search "sBOLD".
- Web3Sec X hacked database: search.
- Rekt leaderboard: search.
- Solodit incident search: search.
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.