K3 Capital - Rekt



Four WETH went into K3 Capital's sBOLD vault. Four WETH came back out.

Repeated across the attack, that round trip helped drain roughly 3.43 million BOLD, worth about $3.43 million.

On November 18, attackers emptied 99.9% of the vault in about seven and a half minutes, part of 99 drain transactions in all.

The trick lived inside a public swap() function. It counted the BOLD arriving, never checked whether the approved collateral had left, and left the router's unused approval in place.

Attackers inflated the share price, cashed out, then took their donation back.

The wallet that deployed the exploit code was not the first to use it. A copycat MEV bot, by Bitquery’s reading, got there 24 seconds earlier.

A separate MEV bot later extracted 56% of the drained funds, according to Bitquery’s analysis.

As attackers competed for inclusion, they paid about 986 ETH to Ethereum’s block builders, more than half the value of the vault’s loss.

Builders passed nearly all of that value on to validators through MEV-Boost.

Bitquery found no sign that builders knew what the bot was doing.

K3 lists builders and validators as recipients of exploit proceeds, not as participants in the attack. Lido’s execution-layer rewards vault was the largest single validator fee recipient.

The vault was paused about 32 minutes after 99.9% of its assets had been drained.

When more than half the loss ends up paying for the race, who exactly was this vault working for?

Credit: K3 Capital, Unchained, Bitquery, Blockaid, ExVul, ChainSecurity, Liquity, AMLBot, Sprunky, GoPlus Security, Dedaub

The vault was almost empty by the time the first public alarm appeared.

At 12:14:11 UTC, a wallet deployed the exploit code on-chain. Call it the deployer. Its first attack contract was never used; Bitquery’s timeline shows it later redeployed the code and began draining the vault.

The first drain came from somewhere else. At 12:25:23 UTC, a second wallet began draining the vault, four transactions in that block and four more in the next, by Bitquery’s count. Bitquery identifies this wallet as the first copier.

The deployer's first drain followed 24 seconds later, at 12:25:47, using the redeployed attack contract. Bitquery reads the earlier wallet's code as a copy of the deployer's, though it cannot show how the copier got it.

A generalized MEV bot joined at 12:26:47, a minute after the deployer's first drain, and by 12:32:47 the vault had lost 99.9% of its assets.

K3's postmortem credits Hypernative with flagging the suspicious transactions first.

By 12:33:35 UTC, about 2,000 BOLD remained in the vault, according to Bitquery’s balance trace.

Blockaid’s early account described a different mechanism: Flash-loaned wstETH, a Liquity V2 trove self-liquidated into the Stability Pools, cheap sBOLD minted, and other depositors’ BOLD redeemed.

ExVul went further and named a root cause, totalAssets() ignoring Stability Pool collateral below a 7,500 BOLD threshold, a drain path it said matched ChainSecurity's earlier audit. That finding, CS-SBOLD-008, was marked corrected.

ExVul’s list of loot wallets included a builder-payment address that Bitquery later identified as the first copier’s route for paying block builders.

At 13:05:11, the vault's owner flipped the pause.

Three minutes later, K3 posted its first public statement: "We are investigating malicious activity involving sBOLD. Contracts have been paused."

No loss figure, no explanation, no guidance for depositors in that post.

A war room with SEAL 911 opened at 13:24.

At 13:59, Liquity drew a line around itself: sBOLD was built and run by K3, users should not deposit until further notice, and Liquity V2 was not affected.

The afternoon belonged to the tracers.

AMLBot said its tracing found about 291 ETH, roughly $520,000, converted to about 8.07 BTC via THORChain and Maya across eight addresses. Bitquery later attributed about 291 ETH to the deployer and a wallet it funded.

Bitquery’s investigation counted 97 drain transactions across 37 blocks. It found no trove liquidations in any of Liquity’s three markets during the drain, contradicting Blockaid’s early account that the attackers had self-liquidated a trove.

But Bitquery’s mechanism explanation still described the donated WETH as initially uncounted in share pricing, then sold for BOLD.

K3’s later postmortem described a different mechanism: The donation already counted toward share value, the fake swap delivered BOLD without spending the WETH, and a second swap recovered the WETH using the leftover approval. K3 counted 99 transactions by ten attacker operators.

Sprunky described three missing safeguards in SwapLogic._execute(): The collateral approval was not cleared after the swap, the supplied calldata was not checked for the intended token or amount, and only the BOLD balance change was measured, not whether the source collateral had been spent.

GoPlus Security's thread the next day walked one of the deployer's transactions from flash loan to payout, fake ERC-20 included, then listed the transfers into THORChain and Maya.

K3’s postmortem, published November 19 with technical analysis carried out by ChainSecurity on K3’s behalf, corrected the early liquidation account.

No liquidation event was emitted on any of Liquity’s three branches during the attack, and neither Liquity V2 nor 1inch was exploited; the exploit was confined to the sBOLD vault.

The postmortem explicitly acknowledged that early public communication had described the incident as involving Liquity liquidations.

The liquidation theory was wrong; the exploitable flaw was in the vault’s own swap path.

How could swap() accept the BOLD, and still let attackers take the collateral back?

A Receipt Without a Sale

sBOLD is an ERC-4626 vault built by K3 on top of Liquity V2.

Depositors hand over BOLD, receive shares, and the vault spreads that BOLD across Liquity's WETH, wstETH and rETH Stability Pools at 30%, 60% and 10%, respectively, at the time of the attack.

Share price is total assets divided by shares outstanding. Total assets include BOLD in the three Stability Pools, BOLD in the vault, the value of unclaimed collateral in the pools, and the value of collateral held directly by the vault.

A plain transfer of collateral to the vault counts toward total assets and lifts the share price. No vault function has to be called.

Liquidations leave the vault holding collateral that earns no yield, so K3 made converting it a public job. Anyone could call swap() with a 1inch order, and the vault would approve the 1inch router, pass it the caller-supplied order, and check that enough BOLD came back.

Enough meant the oracle value of the collateral, minus 0.5%.

The function was built for liquidation leftovers. The attackers brought their own.

A built-in guardrail blocked deposits and withdrawals, including redemptions, whenever the vault held more than 7,500 BOLD worth of collateral.

K3's postmortem reproduces the internal function at the heart of the exploit: uint256 balance0 = dst.balanceOf(address(this)); IERC20(_src).approve(_adapter, _inAmount); (bool success, bytes memory data) = _adapter.call(_swapData); if (!success) revert ISBold.ExecutionFailed(data); uint256 balance1 = dst.balanceOf(address(this)); uint256 amountOut = balance1 - balance0; if (amountOut < _minOut) revert ISBold.InsufficientAmount(amountOut); return amountOut;

The function checks the BOLD received, not whether the approved collateral left the vault. It also leaves the router’s unused allowance in place.

Per K3's postmortem, the swap adapter was the 1inch Aggregation Router v6, and the swap data passed to it came straight from whoever called swap().

GoPlus found the adapter configured on-chain at: 0x111111125421cA6dc452d289314280a0f8842A65

The attackers used the router's generic swap(executor, desc, data), where every parameter is chosen by the caller. The order's description named the token to sell. For the executor, the attackers plugged in their own contract and ran their own logic in the middle of the vault's swap(). Nothing in the vault checked that token against the collateral it had just approved.

Each attack transaction began by borrowing what it needed. The attacker flash-borrowed wstETH from Morpho and a few WETH from Balancer, then opened a Liquity trove and borrowed BOLD worth several times the vault’s total assets.

The first attack transaction in K3's postmortem flash-borrowed 10,000 wstETH and 5 WETH, then borrowed 9,010,000 BOLD from its trove for a 4,262.50 BOLD upfront fee.

Then came the round.

Deposit 9,000,000 BOLD and own 72.4% of all sBOLD shares.

Send 4 WETH to the vault as a plain transfer. No liquidation required, the collateral is simply there.

Call swap() for those 4 WETH with a crafted order that names a fake token as input instead.

GoPlus identified a fake ERC-20 used as the swap’s source token, whose transferFrom always returned true.

Token Contract:
0x745940908a0209db70fe8bea47d9ca2786302b26

The attacker’s executor delivers 7,159.16 BOLD to the vault, enough to satisfy the minimum. The WETH stays put, the approval remains unused after this call, and the BOLD lands as a second donation.

Redeem all the attacker’s shares. The vault pays out 9,010,367.62 BOLD.

Now send a dust amount of wstETH and call swap() again. This order has the router pull the vault’s 4 WETH under the leftover approval and deliver it to the attacker. The attacker supplies slightly more than the negligible BOLD minimum, so the vault accepts the swap.

Because the router pulls tokens from its caller - here, the vault - the stale allowance could only be spent through another call from the vault itself. That is why the attackers needed a second vault swap() call.

Profit for the round, per K3's postmortem: 3,208.46 BOLD.

That first transaction ran eight rounds and cleared 25,742.80 BOLD in total, or 21,480.30 BOLD after the trove fee.

K3’s postmortem reduces the economics to one line: Profit per round is roughly (two times the attacker’s share of the vault, minus one) times the value of the donated WETH.

With the two donations roughly equal in value, the round loses money below 50% ownership and pays above it, before transaction-level costs. The donated WETH is recovered in full.

The two failures worked together. The unchecked swap let the attacker add BOLD without surrendering the WETH. The leftover approval let the attacker recover that WETH after redeeming the inflated shares.

Two limits explain why the drain took 99 transactions instead of one.

The donated WETH stayed in the vault through redemption, and the vault refused redemptions while it held more than 7,500 BOLD worth of collateral. That capped extraction at about 7,460 BOLD per round. The attackers initially extracted about 3,200 BOLD a round and passed 7,000 once they held most of the shares.

Gas capped how many rounds fit into each transaction. A round cost about 1.3 million gas. The attackers ran eight rounds per transaction, using roughly 10.5 million gas against a per-transaction limit of about 16.8 million.

The collateral limit constrained the drain, but it did not prevent the underlying trick. In the vault’s swap execution, the contract approved the adapter to spend collateral and checked that enough BOLD arrived. It did not verify that the adapter actually took the collateral, and it did not clear the allowance afterward.

The swap data supplied by the caller passed unchanged to the 1inch router. Nothing tied the token being sold in that order to the collateral the vault had just approved. In the fake swap, the token sold was an attacker-owned dummy token, while the attacker’s executor delivered the vault’s minimum of BOLD. In the second swap, the router used the leftover WETH approval to send the donated collateral back to the attacker.

During the main drain, each attacker’s Liquity trove was opened and closed within the same transaction and served only as a source of BOLD. The 1inch router executed the orders it was given. Neither Liquity V2 nor 1inch was exploited.

The vault checked what came in. It did not check that the approved collateral went out.

Once the first attack transaction was on-chain, anyone could copy it.

Attackers competed for the remaining assets by paying to be included first. The drain became a race.

So who else picked it up?

Paid to Cut the Line

K3 counted ten operators and 99 drain transactions, including four additional attackers active from block 26442018.

Bitquery’s published trace covers 97 transactions from what it calls six wallets, counting the generalized MEV bot’s 13 sender addresses as one.

The two sources report different counts and coverage.

Bitquery priced ETH at $1,801 and charts the value pulled out of the vault, by group, with builder payments still inside each group's figure.

Its breakdown is: The generalized MEV bot's 13 sender addresses ran 57 drain transactions and pulled about $1.91 million from the vault, 56% of Bitquery's measured total.

The deployer ran 13 drain transactions attributed about $308,000 by Bitquery.

Wallet Address:
0xdc0e2fdeb89d2f363f2ea1b50e923d464c414daa

A second wallet, which the deployer funded with 1 ETH, ran five more drain transactions attributed about $216,000 by Bitquery.bitquery

Wallet Address:
0x8fb89e5ff6d2f8d204e236f552ac40df8a79caf7

A separate unlabelled operator ran eight drain transactions also attributed about $216,000 by Bitquery, using eight single-use contracts listed by K3.

Wallet Address:
0xbabec2fc9a4993ab534d9d8d8fbb79f68e854ddb

The first copier ran eight drain transactions attributed about $176,000 by Bitquery.

First wallet to drain the vault (12:25:23 UTC; Bitquery calls it the first copier):
0x23245f620d1e910ad76e6b6de4f8284a53c9ad2d

Another unlabelled operator ran six drain transactions attributed about $174,000 by Bitquery.

Wallet Address:
0xf601d7646c2db4940f0b1909b4835ed7279c5aed

ExVul’s early alert also listed the deployer, first copier and both unlabelled operators as “loot wallets,” alongside an address Bitquery identifies as the first copier’s builder-payment address, rather than a separate drain operator.

First copier’s builder-payment address (listed by ExVul as a “loot wallet”):
0x0fad97109a349e2c1b9ed82b25597eb6831d236f

About $428,000 sits in a bucket Bitquery's chart labels "Not traced: fees and costs," which it says include Liquity's borrowing and redemption fees, swap costs and gas.

Gross is not what anyone kept.

Once the first transaction landed, attackers competed for inclusion by paying block builders. K3's postmortem puts the bill at about 986 ETH, roughly 1.77 million BOLD.

Bitquery splits that intake: About 930 ETH from the bot, about 56 ETH from the first copier, which paid through a separate address. The bot's single largest bribe was 44 ETH in one block.

The bot that took the most paid most of it to block builders. Bitquery’s allocation chart credits its payout wallet with about $231,000, or 7% of the loss, consistent with the 128 ETH its flow diagram attributes to that wallet.

Separately, the deployer and the wallet it funded took about $520,000 between them.

Builders had received about $1.78 million, 52% of the loss. Add the payout wallet's share and you reach Bitquery's 59%.

K3 separately traced 986.55 ETH received by 21 validator fee recipients across 32 blocks. Its table associates the blocks with several builder labels, including Titan, BuilderNet, ultrasound and Quasar.

K3’s fee-recipient table in the postmortem’s “Where the funds went” section is based on call traces from blocks 26441929 to 26441969 and block 26442010. In other blocks with vault activity through block 26442271, builders received less than 3.6 ETH in total, including ordinary fees.

The largest single recipient was Lido's execution-layer rewards vault: 256.31 ETH across nine blocks.

The money moved through Ethereum's standard block auction, MEV-Boost: Attackers paid builders, and builders passed it on to validators.

Bitquery says it has no sign the builders knew what the bot was doing.

K3 lists builders and validators because exploit funds reached them, not because they took part.

The deployer's own cut took a different road.

GoPlus counted 13 calls to run() from the deployer. It says each transaction flash-borrowed funds, opened a trove, repeated the extraction, repaid the debt and converted the proceeds.

In GoPlus's run(8) example, the leftover BOLD was redeemed through Liquity for WETH, wstETH and rETH, and the transaction paid out about 12.26 ETH and 0.43 rETH before gas.

Bitquery traced 162 ETH from the deployer's side into three THORChain vaults with no memo, which leaves it unable to say where those deposits were meant to land, and a net 129 ETH through Maya with memos requesting Bitcoin.

AMLBot separately reported about 8.07 BTC across eight addresses.

By Bitquery's cutoff at 16:14 UTC, the deployer and its funded wallet held about 0.01 ETH between them.

Several other operators and related wallets still held ETH at that cutoff.

The copycat bot's payout wallet held 149.9 ETH at the 16:14 UTC cutoff on November 18. Bitquery's flow diagram separately attributes 128 ETH from the drain to that wallet and does not reconcile the two figures

One early operator emptied its drain contracts within two hours and sent 100 ETH to a previously unused wallet, which still held it at the cutoff. That operator's own wallet held 19.8 ETH.

Another early operator and its bot contract together held 94.7 ETH and 3.61 rETH.

The first copier sent most of what it kept, 36.8 ETH, to a single wallet that had not moved it. That wallet held 39.4 ETH at the cutoff. The copier's own wallet held 2.78 ETH and 3.22 rETH.

The addresses, contracts and transactions, as published by K3, Bitquery, GoPlus Security, AMLBot, ExVul and sprunky_eth.

Victim and infrastructure are as follows…

K3 Capital sBOLD vault (exploited):
0x50Bd66D59911F5e086Ec87aE43C811e0D059DD11

Swap adapter, 1inch Aggregation Router v6:
0x111111125421cA6dc452d289314280a0f8842A65

Liquity V2 wstETH Stability Pool:
0x9502b7c397e9aa22fe9db7ef7daf21cd2aebe56b

Liquity V2 rETH Stability Pool:
0xd442e41019b7f5c4dd78f50dc03726c446148695

Liquity V2 WETH Stability Pool:
0x5721cbbd64fc7ae3ef44a0a3f9a790a9264cf9bf

Deployer cluster is as follows…

Deployer wallet (First to deploy the exploit code):
0xdc0e2fdeb89d2f363f2ea1b50e923d464c414daa

Deployer’s first exploit contract (deployed but never used):
0xAEaFfD6431B4461b4e17cBc700713C61EDf520f6

Deployer’s drain contract (run() target):
0x19ad153b83f9a1cbcac2182dcef14d0e825a9634

Helper contract / fake ERC-20 (identified by GoPlus Security):
0x745940908a0209db70fe8bea47d9ca2786302b26

Deployer-funded wallet (carried out five drain transactions):
0x8fb89e5ff6d2f8d204e236f552ac40df8a79caf7

Deployer-funded wallet’s drain contract:
0x2582c03e74454e24334bb728c2af1148a3d005eb

Copiers and other operators are as follows…

First copier wallet (first drain, 12:25:23 UTC):
0x23245f620d1e910ad76e6b6de4f8284a53c9ad2d

First copier contract 1:
0x2e3a51a05d66ec581fb47187a1abc8e3b1e2cfb4

First copier contract 2:
0x12e485777d118339ff2b402daf43d9d7e0bc8c0e

First copier's builder-payment address (listed by ExVul as a "loot wallet"):
0x0fad97109a349e2c1b9ed82b25597eb6831d236f

Operator using eight single-use contracts:
0xbabec2fc9a4993ab534d9d8d8fbb79f68e854ddb

Operator 0xf601 wallet:
0xf601d7646c2db4940f0b1909b4835ed7279c5aed

Operator 0xf601 contract 1 (bot contract):
0x9cb7a294cd1b0df5a1d335e713aa0c7f8f8dd5f1

Operator 0xf601 contract 2:
0x45a757fcE6Dfd1fF91461eD09CBAb3f468e9C058

Operator 0xf601 contract 3 (deployed and used for one drain in block 26441952; proceeds later swept to the wallet):
0x5BC4fb7D4Aee482B5CF6a85c4EFa63eccf90F603

Generalized MEV bot contract (13 sender addresses):
0x0000000000be226afde21672a5e4adc45692e69d

MEV bot payout wallet:
0x000000000076403c099f98973a39018fe4ff2343

Fresh wallet funded by 0xbabe: 0x97ae7219924a0ff72b7a55f559f4e6dc687498b8

Wallet that received 36.8 ETH from the first copier:
0x426e43276586f14881b88552e5a33bd4dc3f7482

Attack transactions are as follows…

Example run(8) transaction on the deployer's drain contract (per GoPlus): 0xa61572b54e50694bd72ae0f9bef5746dc4c74e66569c173a1a29a85176c92c5c

Reference drain transaction traced by sprunky_eth (block 26441931, 2,569 trace frames, 12.089339 ETH realized):
0x915c73684bd3f15e94570fcbe20347947b7a38d994dbffd4c275d6609fee02cb

Example attack transaction listed by GoPlus Security:
0xf1eb51b3dbe8fe6447874d6c4b5ea7f9a9aa1ce490313999847d15e9a87d69da

Attack transaction listed by ExVul, alongside the first copier's wallet and contract:
0xaa3c7f00c5e449abb4d871b3fdad91e44d6a61c7d83c36eff23faf783d4e84cf

Cross-chain transfers and reported Bitcoin destinations are as follows…

THORChain vault - Labeled on Arkham (Bitquery lists it as receiving 50 ETH):
0x6b190a34ca599a28402dd64374679ced13810a3e

THORChain vault - Labeled on Arkham (Bitquery lists it as receiving 1 ETH):
0x489db109a54f37ffe5464b86c0668ce84dd9cb02

THORChain vault - Labeled on Arkham (Bitquery lists it as receiving 111 ETH):
0x7d715394d03c70675bc9309ca2d877479e6ae156

THORChain transfer 1 - labeled as THORChain Vault on Arkham (per GoPlus):
0xd9c18ff1d397816463d3d9b1ddb2fb6d0f6956aa81fb0ca81df2c38e721ba1cc

THORChain transfer 2- labeled as THORChain Vault on Arkham (per GoPlus):
0x0d097068c44bc79d771fc5c5044267ef678c07ba5a78371fb0c892b8901523b4

THORChain transfer 3 - labeled as THORChain Vault on Arkham (per GoPlus):
0x49dfb325fc37a19918b97370c8303be8e2b399cc4b0db1b19bb12a4d5baaec33

Maya Protocol router (listed by Bitquery):
0xe3985e6b61b814f7cdb188766562ba71b446b46d

Maya depositWithExpiry transaction 1 (per GoPlus):
0x88ca7d505097eb6ca91866b236379221d7f962755a5ef4dd2e31a0f275159bd2

Maya depositWithExpiry transaction 2 (per GoPlus):
0xa5d78fb9d4d546fa3134e2370625ac5474242ade37091b864797d8f5a782ec93

Maya depositWithExpiry transaction 3 (per GoPlus):
0x9811d6a48ba199dcd4ef7173eb96637223f1e02ccc7cfd7449ead62c0b26b7ba

Bitcoin destination (3.09 BTC, per AMLBot):
bc1qntp48nje379ycuxle28t467ggpuhpv2tmuchp4

Bitcoin destination (2.63 BTC, per AMLBot):
bc1qvfk09vtrfhkwl0hs3a05yggvunnjzh68zt2qdf

Bitcoin destination (Roughly 1.40 BTC, per AMLBot):
bc1qchmv38rgxg62vzvhd0r896927f0nu48auan07y

Validator fee recipients are as follows (K3 postmortem; ETH received, blocks, builder)...

Lido execution-layer rewards vault (256.31 ETH, 9 blocks, Titan; per K3):
0x388c818ca8b9251b393131c08a736a67ccb19297

Fee recipient (121.07 ETH, 3 blocks, BuilderNet, Titan, ultrasound; per K3):
0x4675c7e5baafbffbca748158becba61ef3b0a263

Fee recipient contract (45.02 ETH, 2 blocks, Quasar, Titan; per K3):
0x73f7b1184b5cd361cc0f7654998953e2a251dd58

18 other fee recipients, one block each: 564.15 ETH

Total: 986.55 ETH across 32 blocks.

By 15:30 UTC, two of the five Bitcoin addresses Bitquery found had received 3.10 BTC between them. The other three had received nothing when it checked.

The path is visible as far as the exits. What the recipients knew is not.

When more than half the loss went to block builders, and nearly all of it moved on to validators, what does K3 actually have to ask for?

Two Audits, One Function

K3's answer arrived on November 19 as a postmortem and a recovery plan, with the technical analysis credited to ChainSecurity.

K3's partial recovery effort, is focused on funds received by block builders and validators.

A war room with SEAL 911 opened at 13:24 UTC on the day of the attack, and K3 credits c0ffeebabe and pcaversaccio with helping identify the fee recipients.

It says it has identified 9 counterparties holding 894.50 ETH originating from the exploit, plus 131,316 yBOLD, together worth roughly 1.7 million BOLD at attack-time prices.

K3 says some of them have committed to the recovery effort, including Bitcoin Suisse and Yearn.

Returned funds go to one address, which K3 calls the only one it has designated.

K3 recovery address:
0x2f02BCd2163176B29C7B070B43A1660A5341C795

K3 is offering a 15% bounty to entities that take part in the recovery process, calculated on the funds each returns.

Under the plan, K3 would collect in ETH, convert the pot to BOLD, and redeem affected clients case by case through a dedicated channel. K3 says the amount available will depend on how much comes back and what ETH is worth at conversion.

K3 says it is ready to engage law enforcement if needed.

K3's postmortem gives two collection windows, two weeks in its summary and four weeks in its recovery plan, and doesn't say which applies, so anyone deciding whether to return funds should confirm the deadline with K3 directly.

K3 describes the loss as confined to the sBOLD vault, noting that Liquity V2 and 1inch were not exploited, but it also says Pendle users with exposure to sBOLD were affected.

Pendle's SY-sBOLD wrapper held 399,993 sBOLD, 12.79% of all shares, before the attack, and K3 says its users lost value as the share price fell. K3's analysis to date does not quantify those losses.

Then there is the paperwork that came before the exploit.

K3's postmortem corrected the first public explanation: None of Liquity's three branches emitted a liquidation event between blocks 26441900 and 26443122, and neither Liquity V2 nor 1inch was exploited. The loss arose in K3's own swap path.

Two firms reviewed that path, in reports both dated May 19, 2025. The published reports discuss related risks, but neither describes the two-swap sequence used in November.

Dedaub's report, dated May 19, 2025, reviewed commit 3630c7f6247b8fc8a709a9cfd036a90028fe0064 of a repository it describes as "at-the-time private," with two auditors spending four days on the codebase.

Its Setting & Caveats section says the report "mainly covers" the contracts of that repository at that commit, and lists the contracts the two auditors worked on, including SwapLogic.sol, the file containing _execute.

The report describes the protocol as "aiming to use" 1inch's AggregationRouterV6 as the swap adapter, and reproduces _execute: Approve the input amount to the adapter, call it with the swap data, then revert unless the BOLD balance rose by at least the minimum output.

Its protocol-level note P2 says the protocol does not explicitly check the swap's calldata. Its prepareSwap excerpt annotates that data as "not checked."

The note then says the protocol checks "the side-effects of the swap" by enforcing that the post-swap BOLD balance is "close to the swapped collateral's denomination in BOLD".

It frames the danger around a Pyth BOLD-USD oracle that "malfunctions and reports a deviation from the typical BOLD price even momentarily," in which case "anyone could force a bad swap on behalf of the vault and steal a significant portion of the available collateral."

In that scenario, it adds, the execution of a bad swap is made easier because 1inch's aggregator "allows arbitrary swap executors to be used."

Its centralization note N1, titled "Owner is a trusted party," is different.

Among the powers it lists for the owner is setting "an arbitrary swap adapter, allowing to use the following snippet as a gadget for arbitrary code execution". The snippet shown is SwapLogic::_execute, including its _adapter.call(_swapData) line.

P2 describes the adapter as "set only by the owner," so this risk ran through the owner, not an outside caller.

The report lists P1 and P2 (both "info"), L1 (low, "acknowledged"), N1 and A1 through A4 (all "info"). Under its critical, high and medium headings it says "No critical severity issues," "No high severity issues" and "No medium severity issues."

None of the listed items identifies a missing check that the collateral was spent or an uncleared swap approval. The only approval in the report is the approve call in the _execute code, whose comment reads "Approve _inAmount for adapter."

One phrase from the report matters for what follows: The protocol was "aiming to use" the 1inch router.

Dedaub's replies, below, speak to what that meant for its review.

We put five written questions to Dedaub about its review. In a reply on November 22, Dedaub answered "Yes" when asked whether the missing collateral-consumption check and the uncleared approval were present in the revision it reviewed.

The report's own reproduction of _execute shows neither a spent-collateral check nor an approval reset. Asked whether the November attack was possible against that revision, Dedaub answered: "Yes, but the attack is based on specific behavior of an external integration, not just on the audited code."

Dedaub said the 1inch integration "was not in place at the time of the audit, although it was planned." It said it included P2 to anticipate problems with such integrations, but did not warn about the specific attack, which it "did not concretely foresee."

Asked whether it had considered attacks with a correctly functioning oracle, including a swap that delivers enough BOLD without spending the approved collateral, it answered no, adding that the 1inch integration was not considered adversarially end to end.

Asked whether unused router approvals were assessed, or concerns about them communicated to K3, publicly or privately, it answered no. Dedaub said its recommendation of checked swaps "was not enforced on the protocol because its degree of exploitability was deemed bounded." It said that had it discovered any of the key elements of the attack, which it described as hanging approvals that let direct donations be recovered through "faked swaps," it would have pushed for fixes.

It added that it is "not happy" it did not foresee and warn about the specific vector, and that it is examining what it can learn and improve going forward.

Several questions remain open: What it meant that the 1inch integration "was not in place at the time of the audit," as Dedaub put it in its reply, given that the report names the router as its intended adapter and excerpts both _execute and the router's swap function; what the "checked swaps" recommendation covered, since the public report does not use that phrase; who judged the risk bounded, since Dedaub's reply says only that exploitability "was deemed bounded"; and whether K3 accepted, declined or never implemented that recommendation.

K3's repository history lists a commit dated May 27, 2025, titled "Add fixes from Dedaub audit phase one," eight days after Dedaub's report. Its parent is 3630c7f, the commit Dedaub reviewed.

The commit changed three files, none of them SwapLogic.sol: BaseSBold.sol, Constants.sol and a unit-test file. It raised the hard-coded upper bound on the owner-set maxCollInBold from 7,500 to 1,000,000 BOLD, removed the three-Stability-Pool cap, and changed fee, reward and slippage limits.

None of its changed lines adds either of the two checks K3's postmortem says are missing: A spent-collateral check or an approval reset. The title doesn't say which Dedaub findings it addressed.

In short, the commit labeled as Dedaub fixes changed configuration limits but left the swap code in SwapLogic.sol and sBold.sol exactly as Dedaub reviewed it, which fits what Dedaub told us: That it did not foresee the attack.

ChainSecurity's audit report, dated the same day as Dedaub’s May 19th audit, reviewed three revisions of K3's code, received between December 12, 2024 and February 7, 2025 and ending at commit e52e34078faa2238846a637cbf6263396e7363e6.

Its scope covered K3's own files, including SwapLogic.sol. It excluded Liquity V2, third-party libraries (assumed to behave according to their specifications), and scripts and tests.

It describes the swap adapter as receiving an allowance for the balance of the collateral and being called with "user provided data," with the vault checking for the desired increase in BOLD.

Three of its findings sit near the November attack.

CS-SBOLD-001, a critical Version 1 finding, warned that the 1inch router "calls a user-provided contract in its swap() function" and that swap routers let a call "execute arbitrary code in the form of a malicious token in the swap path."

It also warned that the balance check in SwapLogic._execute(), which checks the difference in BOLD balance before and after the call to swapAdapter, can be tricked by reentering to a function that increases the BOLD balance of the sBOLD contract. The withdraw() and redeem() functions do that, they increase the BOLD amount sitting in the sBOLD contract, because the call SP.withdrawFromSP() with the _doClaim flag set to true will transfer all the yield to sBOLD.

That is the same BOLD balance check the November attackers passed with a fake swap, by a different path.

The finding was corrected with reentrancy guards in Version 2, and it concerned reentrancy, not a lingering allowance.

CS-SBOLD-008 describes new users who "can mint sBOLD at a discount and redeem it at the full value." The root cause is that collateral below maxCollInBold wasn't counted in total assets, so shares were underpriced until a swap() converted that collateral to BOLD and counted it.

Its example assumes a 7.5K maxCollInBold, matching the 7,500 BOLD collateral limit K3 says the vault enforced, which K3 says capped each attack round at about 7,460 BOLD.

The route resembles the account in Blockaid's early alert, although K3's postmortem says no Liquity liquidations occurred.

ChainSecurity lists the finding as resolved and says Version 3 corrected the accounting by including collateral in the vault's valuation.

CS-SBOLD-030, a low-severity finding listed as acknowledged rather than corrected, noted that an unpermissioned swap() caller could keep part of the collateral's value because of the slippage tolerance, and that an attacker could repeat this by generating liquidations, and then converting the collateral back to K3 Capital - sBOLD.

ChainSecurity said changes to Liquity's BOLD made self-liquidations less practical and called the issue mitigated.

CS-SBOLD-001, -008 and -030 do not describe the leftover-approval sequence that drained the vault.

K3's public repository adds dates to that timeline. Its contract history begins with an October 23, 2024 "Initial commit."

A January 10, 2025 commit titled "Chainsecurity - phase 1 audit fixes" was merged on January 12, 2025, in commit adad09d, the hash ChainSecurity's report lists as Version 2. The merge added partial swaps and swaps of a single collateral type, which the report says Version 1 did not allow.

K3's postmortem credits ChainSecurity with the technical analysis of the November exploit, but it does not discuss ChainSecurity's earlier audit.

We emailed ChainSecurity on November 20 to ask whether the "missing collateral-consumption check and uncleared approval" were present in the final revision it reviewed, and whether "collateral consumption or unused router approvals" were assessed, or concerns about them "communicated to K3, publicly or privately."

The report's scope bears on that question. Its scope covered K3's own files, including SwapLogic.sol. It excluded Liquity V2, third-party libraries (assumed to behave according to their specifications), and scripts and tests. The exclusion does not name the 1inch router, which the report discusses in CS-SBOLD-001.

K3's postmortem identifies two missing checks in _execute: That the adapter took the collateral, and that the allowance was reset.

Dedaub told us both were absent from the revision it reviewed.

Neither public report describes the two-swap sequence K3 says was used in November.

Dedaub told us the scenario wasn't considered, and that a "checked swaps" recommendation went unenforced because exploitability was thought to be bounded.

Dedaub told us the scenario wasn't considered, and that a recommendation about "checked swaps," whose scope is unclear, went unenforced because exploitability was thought to be bounded.

The record doesn't show two auditors missing an exploit; it shows two reviews of code and integrations that may differ from what went live.

So what did "audited" actually promise?

A vault whose swap function turned idle collateral back into BOLD ended up paying more than half its losses to the builders who sped the drain along.

One function counted what arrived and never asked what left.

Dedaub told us both missing checks were absent from the revision it reviewed in May 2025, about a year and a half before the attackers needed about seven and a half minutes to drain 99.9% of the vault.

More than half the loss paid for the race itself, routed through Ethereum's standard block auction to validators.

K3 says it lists the recipients because they received exploit funds, not because they took part, and Bitquery saw no sign the builders knew what the bot was doing.

The wallet that first deployed the attack and one it funded took about $520,000, while Bitquery says one copycat bot pulled out 56% of the loss, most of it paid to block builders.

Bitquery traced part of the deployer's share toward Bitcoin through Maya Protocol, but could not see where the THORChain portion landed.

Affected clients now wait on a recovery plan that offers participating entities a 15% bounty on funds they return.

Both public reports engaged with this path without flagging the gap.

ChainSecurity's records that the adapter is given allowance for the collateral balance and that swaps are checked for a BOLD increase, a check its critical finding on the first version showed could be tricked through reentrancy.

Dedaub's reproduces _execute, names 1inch's AggregationRouterV6 as the intended adapter, and notes that the swap calldata isn't explicitly checked.

An audit reviews a revision, a scope and a set time, and K3's postmortem shows a failure that sat outside what the public reports describe.

When the badge stays and the scope disappears, who is it protecting?


Поделиться

REKT представляет собой общественную площадку для анонимных авторов. Мы не несём ответственность за выражаемые точки зрения или контент на этом веб-сайте.

Пожертвование (ETH / ERC20): 0x3C5c2F4bCeC51a36494682f91Dbc6cA7c63B514C

Дисклеймер:

REKT не несет никакой ответственности за любое содержание, размещенное на нашем Веб-сайте или имеющее какое-либо отношение к оказываемым нами Услугам, независимо от того, было ли оно опубликовано или создано Анонимным Автором нашего Веб-сайта или REKT. Не смотря на то, что мы устанавливаем правила поведения и нормы публикаций для Анонимных Авторов, мы не контролируем и не несем ответственность за содержание публикаций Анонимных Авторов, а также за то, чем делятся и что передают Авторы с помощью нашего Сайта и наших Сервисов, и не несем ответственность за любое оскорбительное, неуместное, непристойное, незаконное или спорное содержание, с которым вы можете столкнуться на нашем Веб-сайте и на наших Сервисах. REKT не несет ответственность за поведение, будь то онлайн или офлайн, любого пользователя нашего Веб-сайта или наших Сервисов.