Crypto exploits

WUSD.fi exploit analysis

WUSD.fi's wrap() rewarded any caller whose own GLOVE balance sat under a cap, with no per-address claim record, letting an attacker farm the maximum reward from hundreds of fresh contracts and dump the vested tokens into two thin Uniswap V3 pools. DeFiHackLabs and DeFiLlama put the reported loss at about $200,000, though the proof of concept's own on-fork accounting found far less actually drained from the pools in its demonstration batch.

David

Security ·

Reported loss
$200K
Occurred
Logged
Chain
Ethereum

Logged as “2026-05-25: _Englove Sybil Incentive Abuse on WUSD.fi”.

Analysis3 min read

WUSD.fi lets holders wrap USDT or USDC into its own stablecoin, WUSD, for a 1% fee, and pays out a reward token called GLOVE (traded under the ticker GLO) to anyone who wraps. The verified source for the WUSD contract, at `0x068E3563b1c19590F822c0e13445c4FA1b9EEFa5`, shows that wrap() hands the reward decision to an internal routine, _englove(). That function mints GLOVE to any caller whose own GLOVE balance is still under _MAX_GLOVE (2 GLOVE) on a wrap of at least _MIN_GLOVABLE (100 WUSD), and the amount minted scales with wrap size up to a cap: wrapping exactly one _EPOCH of value, 100,000 WUSD, mints the full 2 GLOVE in a single call and also advances the protocol's global epoch counter by one. Nothing in _englove() checks whether the call is a caller's first wrap, binds the reward to an identity, or keeps a claim ledger. It reads only GLOVE.balanceOf(msg.sender) at the moment of the call, so a freshly deployed contract holding zero GLOVE always qualifies for the maximum mint.

The GLOVE minted this way is "creditless": soulbound until unwrap()'s internal _deglove() converts it into transferable "credited" GLOVE, and only in proportion to how many global epochs have passed since the wrap, capped at full vesting once 100 epochs have elapsed. Because each 100,000-WUSD wrap both mints the maximum reward and advances the epoch counter by one, a batch of wraps from fresh addresses, followed by a run of extra wrap-and-unwrap cycles through a single recycling contract, can push the epoch count past 100 and vest an entire batch's GLOVE in one stroke.

The proof of concept, published as `WUSD_exp.sol`, reconstructs the attack as:

  1. Take a working-capital flash loan of USDT from Morpho, repaid in full by the end of the transaction.
  2. Deploy a batch of fresh helper contracts, fund each with 101,000 USDT (100,000 to wrap plus the 1% fee), and have each wrap once, minting 2 creditless GLOVE and advancing one epoch per helper.
  3. Cycle one additional helper through more than 100 wrap-and-unwrap rounds to push the global epoch count past the full-vesting threshold.
  4. Fully unwrap every farming helper, which vests its creditless GLOVE into credited GLOVE and returns its USDT principal.
  5. Have each helper sell its own freshly credited GLOVE into the Uniswap V3 GLO/USDC or GLO/USDT pool, since a credited balance can only be moved by the address holding it.
  6. Repay the flash loan and keep the stablecoins pulled out of the pools.

The attack transaction, `0x2051c1f8…db37712`, is confirmed on Ethereum at block 25,170,426, dated May 25, 2026, from attacker address 0x88329A09…64E5a57f8, matching the proof of concept's reconstruction. The current post's claim that this ran on BNB Chain does not match any source read for this draft; the transaction, the proof of concept's own header comment, and DeFiLlama's hacks tracker all place it on Ethereum. The confirmed transaction also moved far more capital than the proof of concept demonstrates: its flash loan drew about 81.85 million USDT, against roughly 8.08 million USDT for the proof of concept's 80-helper batch, and it contains hundreds of the same 101,000 USDT funding, 100,000 USDT wrap and 1,000 USDT fee transfers the proof of concept's helpers produce. That points to a live campaign that ran several times as many Sybil helpers through one transaction as the published demonstration does.

DeFiHackLabs and DeFiLlama's hacks tracker, queried directly at api.llama.fi/hacks, both put the loss at about $200,000, described as GLOVE emissions plus a drain of the two GLO liquidity pools. That figure sits uneasily next to the proof of concept's own on-fork accounting: run against the pools' real reserves at the attack block, about 1,040 GLO and $63,000 of stablecoins on each side, with GLO trading near $188, its 80-helper batch pulls only about $19,781 in stablecoins from the pools (11,702 USDC and 8,079 USDT) while minting roughly 160 GLOVE, worth close to $30,000 at that spot price before accounting for the slippage of dumping it. Neither figure reaches $200,000 on its own, and the ten-fold larger flash loan in the real transaction suggests the headline number reflects a campaign run at a scale well beyond the 80 addresses the proof of concept uses to demonstrate the bug, not a single pass through it.

No post-mortem, pause notice, bounty or compensation statement from WUSD.fi has surfaced. The project's own domain has since lapsed: wusd.fi now redirects to a GoDaddy marketplace listing offering the domain for sale, with no trace of the former site behind it. A per-address claim record, or any accounting of GLOVE emissions tied to something other than the caller's own live balance, would have closed the gap _englove() left open.

Sources read (7)