An attacker priced a Hegic option NFT through Sharwa Finance's unmigrated Uniswap V3 spot quoter, borrowed against the inflated value, and walked away with a reported 32.85K USDC (about $32,850 per DeFiLlama) on May 1 2026.
Security ·
Logged as “2026-05-01: Hegic Collateral Spot Price Manipulation on SharwaMarginTrading”.
Sharwa Finance is an Arbitrum margin trading and options protocol offering up to 10x leverage. It aggregates liquidity from Uniswap, Hegic and Premia Finance, and lets a margin account hold a Hegic American-style option, held as an ERC-721, as collateral alongside USDC, WETH and WBTC, according to the protocol's own description at sharwa.finance. On May 1 2026 an attacker turned one such option into a drained margin account for a reported 32.85K USDC, per DeFiHackLabs's reconstruction, a figure DeFiLlama's hack-tracking dataset separately lists as $32,850 under "Oracle Manipulation / Spot Price Manipulation" on Arbitrum.
Sharwa's `HegicModule.getOptionValue(id)` reads an option's payoff from Hegic's treasury in USDC.e, then converts it to USDC by calling assetExchangerUSDCetoUSDC.getInputPositionValue(profit). That function, defined in `UniswapModuleBase.sol`, does one thing: it asks Uniswap V3's quoter.quoteExactInput for the output of a simulated swap against the live state of whichever pool the module points at. Sharwa's own audit, run by Pashov Audit Group in June 2024, flagged exactly this pattern as a critical finding, [C-01] "Using Uniswap spot price is subject to manipulation" (in the audit report), and recommended Chainlink oracles in its place. Pashov marked the finding resolved, and the protocol's deployment records show WETH and WBTC collateral did move to Chainlink feeds, AggregatorV3_WETH_USDC.json and AggregatorV3_WBTC_USDC.json. The USDC.e-to-USDC conversion that HegicModule uses to realise an option's value was left on the plain quoter module, USDCe_USDC_UniswapModule, never migrated. The bug the audit priced and fixed for tokens stayed open in the one corner that priced an option instead.
The attacker, 0x4551835e7C40d2A3D407C89D6a91eFF98285C681, triggered the exploit with a single safeTransferFrom of Hegic option NFT 16129 into a freshly deployed receiver contract, 0x7E3C13314cEefc7578242D5EAe9Ed4DcBeB8D377. Arbiscan's record of the transaction puts it at 10:17:07 UTC and confirms both addresses and the NFT transfer. The receiver's onERC721Received callback ran the rest in one transaction.
provideERC721.Each borrow step used a binary search against the margin account's lending-pool balance to find the largest amount Sharwa would still approve, rather than guessing a fixed figure. That detail comes from DeFiHackLabs's proof of concept itself, which implements the search as a probe-and-revert loop before calling the real borrow.
Sharwa has published nothing about the incident. Its own site and documentation describe the protocol's features and its Pashov audit, with no mention of a pause, a patch, or compensation for whichever account absorbed the resulting bad debt. DeFiLlama's dataset also carries an earlier, larger loss at the same protocol: an October 20 2025 incident on Arbitrum, classified as a "Swap Logic Flaw" under "Protocol Logic," for a reported $146,000. The Hegic-collateral draining was Sharwa's second recorded loss in about six months, not its first.
Sharwa is not the only protocol caught sizing a borrow off an unprotected Uniswap spot quote. SpiralHookV2's exploit priced a borrow off Uniswap V4's instantaneous spot price, with no time-weighted average and no bound. That is the same shortcut that let Sharwa's Hegic leg be pushed in one transaction: debt capacity sized off whatever a pool quotes right now, rather than off a feed an attacker cannot move inside their own transaction.
Query every incident yourself — free, no signup
Updated 9 Nov 2026. Figures are as reported by the sources listed above and are not independently verified.