A November 29, 2026 postmortem traced a $3.4 million loss at sBOLD, a Liquity yield vault, to two flaws. The vault counted collateral transferred directly to it when pricing its shares, and its swap logic left the router with permission to spend the vault’s tokens after a swap ended. The attack spanned 99 transactions.
A direct transfer of 4 WETH raised the value the vault assigned to its shares. Separately, a swap passed the vault’s minimum-output check even though the WETH remained in the vault. The check established how much the vault received, not how much of the intended input token it sold. The router’s outstanding ERC-20 allowance—a permission to move tokens on the vault’s behalf—meant the WETH was still at risk.
The author used Certora Prover to test two properties of the swap logic: that it cleared the router’s allowance and that it checked the amount actually sold. The original code failed both checks; the corrected code passed them. That result applies to the code tested, not necessarily to a deployed vault.
The postmortem also discussed a rule that would cover outstanding allowances across tokens and recommended pricing shares from internal accounting records rather than raw token balances. In its discussion of recovery, it noted that the attacker paid approximately 986 ETH to block builders. It did not identify that payment as funds returned to the vault.