The sBOLD Exploit: How a Leftover Approval Cost a Vault $3.4M

How a collateral approval survived a swap that sold no collateral, and what a vault can verify when the swap returns.

On November 18, 2026, attackers drained roughly 3.43 million BOLD from K3 Capital's sBOLD vault on Ethereum. Within eight minutes, the hack had taken 99.9% of its assets. The vault checked that a collateral swap delivered enough BOLD. A swap could pass that check while the collateral stayed in the vault and the router kept its permission to spend it. A second swap() call then used that permission to pull the collateral out of the vault.

K3’s post-mortem traces the failure to the vault’s internal _execute function. It checked the increase in the vault’s BOLD balance. It neither measured how much collateral left nor cleared the router’s unused approval. That mattered because the vault counted any collateral it held when pricing its shares, including collateral sent to it directly.

That gives us three properties to check at the moment a swap returns. The router’s allowance is zero. The collateral spent equals the amount sold. The BOLD received meets the minimum. We checked all three with the Certora Prover, on a model of the deployed swap checks and on a proposed fix. The model of the deployed checks breaks the first two. The fix verifies all three.

How much did sBOLD lose?

The $3.4 million headline is the gross value drained from the vault. The post-mortem reports about 3.43 million BOLD taken by ten attackers across 99 transactions, and Bitquery put it at $3.42 million in an independent reconstruction. What users finally lose depends on the recovery.

sBOLD hack timeline

12:25:23 UTC. The first attack transaction.

12:26:47 UTC. A generalized MEV bot starts to copy the attack.

12:32:47 UTC. 99.9% of vault assets are gone.

13:05:11 UTC. K3 pauses the vault on-chain.

All four times are for November 18. K3 published its first incident notice at 13:08 UTC, and the vault is still paused as of November 25. Pendle’s SY-sBOLD wrapper held 399,993 sBOLD before the incident, about 12.8% of the shares, so Pendle users carried part of the loss. The post-mortem gives no separate figure for them. Liquity confirmed in a separate statement that its core V2 protocol was unaffected.

How does sBOLD price its shares?

A user deposits BOLD, Liquity V2’s stablecoin, and receives sBOLD shares, each a proportional claim on the vault’s assets. The vault puts the BOLD into Liquity’s Stability Pools, which repay debt when loans are liquidated. In return the vault earns interest and receives collateral: WETH, wstETH and rETH. Anyone can call the vault’s swap() function to sell that collateral for BOLD through the 1inch router. The caller writes the order the router executes.

SBOLD, BEFORE THE INCIDENT

Collateral counts toward the share price before it is sold

The vault adds the collateral it holds or can claim, valued in BOLD by its oracle, to the BOLD it has in the pools.

STEP 1 · DEPOSIT

A user deposits BOLD and receives sBOLD shares

↓Vault
deposits the
BOLD
STEP 2 · STABILITY POOLS

The BOLD sits in Liquity V2’s WETH, wstETH and rETH pools

↓Liquidations
pay
collateral
STEP 3 · COLLATERAL GAINS

The vault accrues WETH, wstETH and rETH

↓Anyone
calls swap()
STEP 4 · SWAP BACK

The 1inch router sells the collateral for BOLD, which goes back into the pools

SHARE PRICE, SIMPLIFIED
BOLD in the pools and the vault
+ collateral valued in BOLD
÷ sBOLD shares outstanding
BEFORE THE INCIDENT

3.429M BOLD of assets ÷ 3.128M shares ≈ 1.096 BOLD per share

WHAT THE PRICE ASSUMES

Every unit of collateral the price counts stays under the vault’s control until it is sold.

Sources: sBOLD verified source (Sourcify, 0x50Bd...DD11), K3 Capital post-mortem, Liquity V2 documentation. Collateral is valued net of 0.5% maximum slippage; swap fees were zero.

The vault counts BOLD held directly and BOLD deposited in Liquity’s Stability Pools. It also counts collateral it holds or can claim from the pools. It prices that collateral in BOLD using oracle quotes and adjusts the value for configured swap costs. Eligible collateral sent directly to the vault therefore raises the share price at once. The attack began with such a transfer.

Approximate BOLD per sBOLD share = assets valued in BOLD ÷ sBOLD shares outstanding

Before the incident the vault held about 3.429 million BOLD in assets against 3.128 million shares, or about 1.096 BOLD per share. Counting unsold collateral lets a share reflect gains early. It also makes custody part of the price: every unit of collateral the price counts has to stay under the vault’s control until it is sold.

Why did the router approval survive sBOLD's swap?

An ERC-20 approval lets another contract spend your tokens up to a set amount. It stays active until that contract spends it or the owner changes it. A successful call to the router does not end it: any unused part remains, as the ERC-20 standard specifies.

In the verified source, SwapLogic._execute does four things. It records the vault’s BOLD balance, approves the router for the collateral, calls the router with the caller’s order, and checks that the BOLD balance rose by at least the oracle minimum. It never checks the collateral balance and never resets the approval.

SBOLD SWAP(), AS DEPLOYED

One check passed. Two were never made.

The caller writes the router order. The vault approves the router, runs that order, and checks only the BOLD it received.

STEP 1 · APPROVE

The vault lets the router spend the collateral amount

approve(router, amount) on WETH, wstETH or rETH

↓Calls the
router
STEP 2 · ROUTER

The router runs the order the caller wrote

It can pull all of the collateral, part of it, or none

↓Returns to
the vault
STEP 3 · CHECKS ON RETURN

What the vault confirmed before accepting the swap

BOLD received ≥ the oracle minimum
Collateral left the vault: never checked
Router allowance reset to 0: never done
RESULT

A swap could succeed while the collateral stayed in the vault, still counted in the share price, and the router could still spend it.

THE PROPERTIES TO CHECK

After a successful swap: the BOLD received meets the minimum, the collateral spent equals the amount sold, and the router’s allowance is zero. The deployed code breaks the last two.

Source: SwapLogic._execute, sBOLD verified source (Sourcify, exact match). Router: 1inch Aggregation Router v6.

The BOLD check answers one question: did enough value come in? Two others went unasked. Did the collateral actually leave? Can the router still move what is left? The three answers are independent, so a passing price check says nothing about the other two.

The leftover approval was usable because of who calls the router. The router takes the input token from its caller, and inside every later swap() the caller is the vault. An order in a later swap, even one for a different collateral, could spend whatever approval the vault had left behind.

How did the sBOLD hack work?

The post-mortem describes one attack round in five steps:

  1. Deposit BOLD borrowed against flash-loaned wstETH, and take most of the shares, about 72.4% in the first transaction.

2. Send 4 WETH straight to the vault. The vault counts it, so the share price rises.

3. Call swap() on WETH with an order that sells a dummy token and delivers the attacker’s own BOLD. The BOLD check passes. The WETH stays, and so does the WETH approval.

4. Redeem all shares at the higher price.

5. Send a dust amount of wstETH and call swap() again. The order uses the leftover WETH approval to send the 4 WETH to the attacker. The vault only checks the tiny BOLD minimum for the dust.

SBOLD EXPLOIT, NOVEMBER 18, 2026

Donate, fake a swap, redeem, take the collateral back

One round as the post-mortem describes it. The vault pays out a share price that counts the WETH, then the attacker takes the WETH back.

1
DepositBorrowed BOLD

The attacker deposits BOLD borrowed against flash-loaned wstETH and takes most of the shares (72.4% in the first transaction).

2
Donate4 WETH sent directly

A plain transfer. The vault counts the WETH, so the share price rises.

3
Fake swapswap() on WETH

The order sells a dummy token. The attacker’s BOLD arrives. The WETH stays.

BOLD minimum met
WETH approval left active
4
RedeemAll shares

The attacker redeems at the higher price, which includes the WETH and the BOLD just paid in.

5
Take backswap() on dust wstETH

The order uses the leftover WETH approval. The router sends the 4 WETH to the attacker. The vault only checks the tiny BOLD minimum for the dust.

Collateral leaves through an old approval
RESULT

A round pays when the attacker holds more than 50% of the shares. Repeated across 99 transactions, the rounds drained 3.43M BOLD.

WHERE IT BREAKS

Requiring the WETH to leave in step 3, or resetting the approval before step 5, removes the free return of the collateral.

Sources: K3 Capital post-mortem (technical analysis by ChainSecurity), sBOLD verified source. “Where it breaks” is Certora’s analysis, derived from the round’s arithmetic.

The post-mortem explains why a round needs more than half of the shares. The attacker pays in two donations of about the same value: the 4 WETH and the BOLD it delivers in the fake swap. It gets back its share of both on redemption, then takes the WETH back through the old approval at no cost. K3 puts the profit per round at about (2 × the attacker’s share − 1) × the value of the WETH, so a round pays only when that share is above 50%. By the same arithmetic, either missing check would have broken the round, because the attacker would have had to pay for the WETH it took back. If the WETH must leave in step 3, the fake swap becomes a real sale at close to the oracle price. If the approval is reset, step 5 has no allowance to spend, and getting the WETH back means a real swap that pays close to its value in BOLD.

A cap on how much collateral the vault could hold during deposits and redemptions, 7,500 BOLD, limited each round, which is one reason the drain took 99 transactions. The post-mortem places the fault in sBOLD’s integration and says Liquity V2 and the 1inch router worked as designed.

What can formal verification establish about sBOLD's swap logic?

A test checks the router behaviors someone thought to write. Formal verification with the Certora Prover checks every behavior the model allows. In our model the router can take any amount of collateral, from none up to the approval, and return any amount of BOLD. One run covers all of those cases, including the one the attackers used: a router that took no collateral and still delivered enough BOLD.

We wrote the three properties as rules that compare the vault’s state before and after a successful swap:

rule clearsRouterAllowance { env e; uint256 amountIn; uint256 minOut; swapExactInput(e, amountIn, minOut); assert collateral.allowance(currentContract, router) == 0; }

We ran the rules on a copy of sBOLD’s swap checks and on the same code with the fix.

CERTORA PROVER, SAME RULES ON BOTH VERSIONS

The rules flag the deployed swap logic and pass on the fix

One collateral token, a router that pulls any amount up to what it was approved and returns any amount of BOLD.

1
Deployed logicSwapLogic._execute, reduced to one token
approve(router, amountIn)
router.execute(amountIn)
require(boldOut >= minOut)
clearsRouterAllowanceviolated
spendsExactInputviolated
receivesMinimumOutputverified
2
With the fixTwo lines added after the router call
approve(router, amountIn)
router.execute(amountIn)
approve(router, 0)
require(collateralSpent == amountIn)
require(boldOut >= minOut)
clearsRouterAllowanceverified
spendsExactInputverified
receivesMinimumOutputverified

What the Prover found on the deployed logic: the vault approves 14 units of collateral, the router takes none, the vault still receives 4 BOLD against a minimum of 3, and the router can still spend all 14.

Source: Certora Prover runs, certora-cli 8.20.3, solc 0.8.28. Every verified rule passed the Prover’s vacuity check.

On the model of the deployed checks, the Prover reported violations of clearsRouterAllowance and spendsExactInput and verified receivesMinimumOutput. In the counterexample for clearsRouterAllowance, the vault approves 14 units of collateral, the router takes none, and the vault still receives 4 BOLD against a minimum of 3. The swap succeeds, and the router can still spend all 14. With the fix, the Prover verified all three rules. Every verified rule also passed the Prover’s vacuity check, so none passed only because no swap could succeed.

The rules cover the swap step only. The model uses one collateral token, a router without callbacks, and a supplied minimum output; the specification’s comments list those choices. Share pricing and the oracle are outside the model. So are approvals on other collateral tokens. That leaves out the cross-token step of the attack: the second swap selected wstETH but spent the WETH allowance. Certora’s piece on how formally verified code can still go wrong explains why that scope belongs next to any result.

What changes after the proposed sBOLD fix?

The fix records the collateral balance before the router call and adds two lines after it. It resets the approval and requires that exactly the amount sold left the vault. If the balance check fails, the whole swap reverts.

collateralBefore = balanceOf(vault) // added approve(router, amountIn) router.execute(amountIn) approve(router, 0) // added require(collateralSpent == amountIn) // added require(boldOut >= minOut)

Cover every token, not only the one being sold. The attack’s last step spent a WETH approval inside a wstETH swap. The rule we ran looks at the token of the current swap. For the whole vault the right property is an invariant, a statement that holds between every call: the router has no approval on any collateral. A sketch in CVL, which we have not run on sBOLD, would look like:

// Sketch: no standing router approval on any collateral. invariant noRouterApproval() weth.allowance(currentContract, router) == 0 && wsteth.allowance(currentContract, router) == 0 && reth.allowance(currentContract, router) == 0;

The Prover checks an invariant in two steps: it holds when the vault is deployed, and every vault function, from deposits to swap() to rebalancing, keeps it true. A function that leaves an approval behind would show up as a violation.

Do not let a direct transfer raise the price. The round also relied on the vault counting collateral sent straight to it. That is a separate property, about valuation rather than the swap. The same mechanism appeared in Moonwell, where tokens sent directly to the market raised the value of deposit receipts, and in Tectonic, where direct transfers changed the value of lending-market receipts. The Tectonic analysis proposed a fix that applies here too: track assets in the contract’s own records instead of reading the token balance.

Check the amount the caller chose, and revoke old approvals when routers change. In sBOLD the caller also picks how much collateral to sell, and the balance check has to use that amount. An approval belongs to one token and one spender, so a router migration should revoke the approvals of the old one.

sBOLD recovery status as of November 25, 2026

K3 estimates that the attackers, competing to be included first, paid about 986 ETH to block builders, roughly 1.77 million BOLD at the time and more than half of the loss, and that the builders passed 986.55 ETH on to 21 validator fee recipients. That payment is part of the drained amount, not an addition to it. Bitquery attributes 930 ETH of these payments to one copycat bot. K3 has identified counterparties holding 894.50 ETH and 131,316 yBOLD from the exploit, offered a 15% bounty on returned funds, and plans to convert recovered ETH to BOLD before processing redemptions. Yearn, one of those counterparties, pledged to send about 131,000 BOLD of the attackers’ loan fees that had reached its yBOLD vault. As of November 25, no final total returned to users has been published.

sBOLD lost its funds through a check that worked and two that did not exist. Any time a protocol hands another contract permission to move its assets, three questions apply: what came in, what went out, and what can still be moved. A price check answers only the first.

The other two are not hard to state. Each fits in one line of CVL. Writing those lines before launch, and rerunning them on every change, turns an assumption about custody into a property the team can show.

STAY INFORMED

Security research, in your inbox.

Incident analysis, formal verification, and new tools from Certora.