{"note": {"noteId": 523, "projectId": 18, "author": "0xbf9fe7767f57780b106756fcd22dfe53394eb81c", "authorName": "0xbf9f...b81c", "authorHandle": null, "authorVerified": false, "authorShort": "0xbf9f...b81c", "source": "reef", "status": "", "alsoReports": 0, "separateFrom": 0, "kind": 3, "kindLabel": "context", "inReplyTo": 0, "fingerprint": "0xfa21aff015c2651cc6876cf37958616c540e21be74bd3ab845475e6483001421", "content": "{\"action\":\"added\",\"credit\":\"Kept by SunWeb3Sec (github.com/SunWeb3Sec/DeFiHackLabs), Apache-2.0.\",\"day\":\"2026-11-01\",\"kind\":\"watch-hack\",\"lost\":\"Lost: ~400.5K USD reported across the campaign; this PoC reproduces the WBTC vault leg end to end. Forking one block before the setup tx, a fresh EOA deploys a pool for the vault's market with an attacker-chosen strike and maturity, seeds LC range orders across three operators at one tick, and after Premia's 60s withdrawal delay forces the vault to underwrite via one permissionless UnderwriterVault.trade(buy 3.75), routing 3.6441 WBTC (97% of victim vault A) into the pool. Eight wash round-trips walk the market price across the tick and the three operators settle their dust orders, corrupting the tick's fee growth so pool.claim() on the attacker's range order pays out 4.4904 WBTC, the exact on-chain figure. After its own LP collateral and the premium, and after repaying a real 0.9 WBTC Balancer flash loan, the attacker nets 3.62484445 WBTC of the vault's collateral, matching the on-chain net on pool A. Typed interface calls on the real verified contracts, no vm.mock, no vm.store, no vm.prank and no bytecode or calldata replay.\",\"name\":\"Premia\",\"path\":\"src/test/2026-11/Premia_exp.sol\",\"receipts\":[{\"label\":\"The commit\",\"url\":\"https://github.com/SunWeb3Sec/DeFiHackLabs/commit/26c2c3fe14d72cab11e3234709b63a02dd2ac1f4\"},{\"label\":\"Replay file\",\"url\":\"https://github.com/SunWeb3Sec/DeFiHackLabs/blob/49c6604ed67b5c41e005f067c8987567d9e8ab22/src/test/2026-11/Premia_exp.sol\"},{\"label\":\"README section\",\"url\":\"https://github.com/SunWeb3Sec/DeFiHackLabs/blob/49c6604ed67b5c41e005f067c8987567d9e8ab22/README.md#20261101-premia-premia-v3-underwritervault-on-arbitrum-resolves-the-pool-it-underwrites-with-getpooladdress-which-fixes-base-quote-and-oracle-to-the-vault-market-but-lets-the-caller-choose-strike-and-maturity-so-an-attacker-deployed-pool-for-that-market-is-accepted-deploypool-and-underwritervault-trade-are-both-permissionless-external-nonreentrant-no-role-so-a-buy-forces-the-vault-to-writefrom-the-attacker-pool-posting-the-position-s-full-collateral-as-the-short-underwriter-and-handing-the-caller-the-long-for-only-a-tiny-black-scholes-premium-which-the-caller-then-recovers-as-fees-it-holds-lc-range-orders-spread-across-several-operators-at-one-tick-walks-the-pool-s-market-price-across-that-tick-with-wash-trades-and-the-resulting-per-tick-fee-growth-makes-claim-pay-its-range-order-roughly-the-whole-pool-collateral\"}],\"recordedAt\":\"2026-11-22T03:34:33Z\",\"sourceId\":\"defihacklabs\",\"text\":\"DeFiHackLabs added a replay of the Premia attack from November 1, 2026. The replay is a test anyone can run to see how it worked. Their notes say: Lost: ~400.5K USD reported across the campaign; this PoC reproduces the WBTC vault leg end to end. Forking one block before the setup tx, a fresh EOA deploys a pool for the vault's market with an attacker-chosen strike and maturity, seeds LC range orders across three operators at one tick, and after Premia's 60s withdrawal delay forces the vault to underwrite via one permissionless UnderwriterVault.trade(buy 3.75), routing 3.6441 WBTC (97% of victim vault A) into the pool. Eight wash round-trips walk the market price across the tick and the three operators settle their dust orders, corrupting the tick's fee growth so pool.claim() on the attacker's range order pays out 4.4904 WBTC, the exact on-chain figure. After its own LP collateral and the premium, and after repaying a real 0.9 WBTC Balancer flash loan, the attacker nets 3.62484445 WBTC of the vault's collateral, matching the on-chain net on pool A. Typed interface calls on the real verified contracts, no vm.mock, no vm.store, no vm.prank and no bytecode or calldata replay..\",\"v\":1}", "structured": null, "uri": "", "txHash": "0xea9d17b7ca8f3b00e82ec11236df6e057e520b04374f2f56b41192555bbfa082", "receiptUrl": "https://flare-explorer.flare.network/tx/0xea9d17b7ca8f3b00e82ec11236df6e057e520b04374f2f56b41192555bbfa082", "blockNumber": 75097919, "voice": null, "voiceReceipt": null, "amendmentReason": null, "amendmentFingerprint": null, "retractedReason": null, "authorTier": 1, "factors": ["Verified"], "withheld": null, "checkResults": [], "parsed": {"action": "added", "credit": "Kept by SunWeb3Sec (github.com/SunWeb3Sec/DeFiHackLabs), Apache-2.0.", "day": "2026-11-01", "kind": "watch-hack", "lost": "Lost: ~400.5K USD reported across the campaign; this PoC reproduces the WBTC vault leg end to end. Forking one block before the setup tx, a fresh EOA deploys a pool for the vault's market with an attacker-chosen strike and maturity, seeds LC range orders across three operators at one tick, and after Premia's 60s withdrawal delay forces the vault to underwrite via one permissionless UnderwriterVault.trade(buy 3.75), routing 3.6441 WBTC (97% of victim vault A) into the pool. Eight wash round-trips walk the market price across the tick and the three operators settle their dust orders, corrupting the tick's fee growth so pool.claim() on the attacker's range order pays out 4.4904 WBTC, the exact on-chain figure. After its own LP collateral and the premium, and after repaying a real 0.9 WBTC Balancer flash loan, the attacker nets 3.62484445 WBTC of the vault's collateral, matching the on-chain net on pool A. Typed interface calls on the real verified contracts, no vm.mock, no vm.store, no vm.prank and no bytecode or calldata replay.", "name": "Premia", "path": "src/test/2026-11/Premia_exp.sol", "receipts": [{"label": "The commit", "url": "https://github.com/SunWeb3Sec/DeFiHackLabs/commit/26c2c3fe14d72cab11e3234709b63a02dd2ac1f4"}, {"label": "Replay file", "url": "https://github.com/SunWeb3Sec/DeFiHackLabs/blob/49c6604ed67b5c41e005f067c8987567d9e8ab22/src/test/2026-11/Premia_exp.sol"}, {"label": "README section", "url": "https://github.com/SunWeb3Sec/DeFiHackLabs/blob/49c6604ed67b5c41e005f067c8987567d9e8ab22/README.md#20261101-premia-premia-v3-underwritervault-on-arbitrum-resolves-the-pool-it-underwrites-with-getpooladdress-which-fixes-base-quote-and-oracle-to-the-vault-market-but-lets-the-caller-choose-strike-and-maturity-so-an-attacker-deployed-pool-for-that-market-is-accepted-deploypool-and-underwritervault-trade-are-both-permissionless-external-nonreentrant-no-role-so-a-buy-forces-the-vault-to-writefrom-the-attacker-pool-posting-the-position-s-full-collateral-as-the-short-underwriter-and-handing-the-caller-the-long-for-only-a-tiny-black-scholes-premium-which-the-caller-then-recovers-as-fees-it-holds-lc-range-orders-spread-across-several-operators-at-one-tick-walks-the-pool-s-market-price-across-that-tick-with-wash-trades-and-the-resulting-per-tick-fee-growth-makes-claim-pay-its-range-order-roughly-the-whole-pool-collateral"}], "recordedAt": "2026-11-22T03:34:33Z", "sourceId": "defihacklabs", "text": "DeFiHackLabs added a replay of the Premia attack from November 1, 2026. The replay is a test anyone can run to see how it worked. Their notes say: Lost: ~400.5K USD reported across the campaign; this PoC reproduces the WBTC vault leg end to end. Forking one block before the setup tx, a fresh EOA deploys a pool for the vault's market with an attacker-chosen strike and maturity, seeds LC range orders across three operators at one tick, and after Premia's 60s withdrawal delay forces the vault to underwrite via one permissionless UnderwriterVault.trade(buy 3.75), routing 3.6441 WBTC (97% of victim vault A) into the pool. Eight wash round-trips walk the market price across the tick and the three operators settle their dust orders, corrupting the tick's fee growth so pool.claim() on the attacker's range order pays out 4.4904 WBTC, the exact on-chain figure. After its own LP collateral and the premium, and after repaying a real 0.9 WBTC Balancer flash loan, the attacker nets 3.62484445 WBTC of the vault's collateral, matching the on-chain net on pool A. Typed interface calls on the real verified contracts, no vm.mock, no vm.store, no vm.prank and no bytecode or calldata replay..", "v": 1}}, "parsed": {"action": "added", "credit": "Kept by SunWeb3Sec (github.com/SunWeb3Sec/DeFiHackLabs), Apache-2.0.", "day": "2026-11-01", "kind": "watch-hack", "lost": "Lost: ~400.5K USD reported across the campaign; this PoC reproduces the WBTC vault leg end to end. Forking one block before the setup tx, a fresh EOA deploys a pool for the vault's market with an attacker-chosen strike and maturity, seeds LC range orders across three operators at one tick, and after Premia's 60s withdrawal delay forces the vault to underwrite via one permissionless UnderwriterVault.trade(buy 3.75), routing 3.6441 WBTC (97% of victim vault A) into the pool. Eight wash round-trips walk the market price across the tick and the three operators settle their dust orders, corrupting the tick's fee growth so pool.claim() on the attacker's range order pays out 4.4904 WBTC, the exact on-chain figure. After its own LP collateral and the premium, and after repaying a real 0.9 WBTC Balancer flash loan, the attacker nets 3.62484445 WBTC of the vault's collateral, matching the on-chain net on pool A. Typed interface calls on the real verified contracts, no vm.mock, no vm.store, no vm.prank and no bytecode or calldata replay.", "name": "Premia", "path": "src/test/2026-11/Premia_exp.sol", "receipts": [{"label": "The commit", "url": "https://github.com/SunWeb3Sec/DeFiHackLabs/commit/26c2c3fe14d72cab11e3234709b63a02dd2ac1f4"}, {"label": "Replay file", "url": "https://github.com/SunWeb3Sec/DeFiHackLabs/blob/49c6604ed67b5c41e005f067c8987567d9e8ab22/src/test/2026-11/Premia_exp.sol"}, {"label": "README section", "url": "https://github.com/SunWeb3Sec/DeFiHackLabs/blob/49c6604ed67b5c41e005f067c8987567d9e8ab22/README.md#20261101-premia-premia-v3-underwritervault-on-arbitrum-resolves-the-pool-it-underwrites-with-getpooladdress-which-fixes-base-quote-and-oracle-to-the-vault-market-but-lets-the-caller-choose-strike-and-maturity-so-an-attacker-deployed-pool-for-that-market-is-accepted-deploypool-and-underwritervault-trade-are-both-permissionless-external-nonreentrant-no-role-so-a-buy-forces-the-vault-to-writefrom-the-attacker-pool-posting-the-position-s-full-collateral-as-the-short-underwriter-and-handing-the-caller-the-long-for-only-a-tiny-black-scholes-premium-which-the-caller-then-recovers-as-fees-it-holds-lc-range-orders-spread-across-several-operators-at-one-tick-walks-the-pool-s-market-price-across-that-tick-with-wash-trades-and-the-resulting-per-tick-fee-growth-makes-claim-pay-its-range-order-roughly-the-whole-pool-collateral"}], "recordedAt": "2026-11-22T03:34:33Z", "sourceId": "defihacklabs", "text": "DeFiHackLabs added a replay of the Premia attack from November 1, 2026. The replay is a test anyone can run to see how it worked. Their notes say: Lost: ~400.5K USD reported across the campaign; this PoC reproduces the WBTC vault leg end to end. Forking one block before the setup tx, a fresh EOA deploys a pool for the vault's market with an attacker-chosen strike and maturity, seeds LC range orders across three operators at one tick, and after Premia's 60s withdrawal delay forces the vault to underwrite via one permissionless UnderwriterVault.trade(buy 3.75), routing 3.6441 WBTC (97% of victim vault A) into the pool. Eight wash round-trips walk the market price across the tick and the three operators settle their dust orders, corrupting the tick's fee growth so pool.claim() on the attacker's range order pays out 4.4904 WBTC, the exact on-chain figure. After its own LP collateral and the premium, and after repaying a real 0.9 WBTC Balancer flash loan, the attacker nets 3.62484445 WBTC of the vault's collateral, matching the on-chain net on pool A. Typed interface calls on the real verified contracts, no vm.mock, no vm.store, no vm.prank and no bytecode or calldata replay..", "v": 1}, "project": {"projectId": 18, "name": "DeFi hack replays (DeFiHackLabs)", "kind": "watch", "keeper": "SunWeb3Sec", "jurisdiction": "", "markText": "DH", "shape": "", "what": "DeFiHackLabs, a collection of tests that replay public DeFi attacks so anyone can see how they worked", "repoUrl": "https://github.com/SunWeb3Sec/DeFiHackLabs", "credit": "Kept by SunWeb3Sec (github.com/SunWeb3Sec/DeFiHackLabs), Apache-2.0.", "chunk": "item"}, "date": "2026-11-22", "author": {"name": "Flare Reef watcher", "handle": "", "verified": false}}