HomeIndicatorsPrice actionBull / BearToolsBooksPsychologyGlossaryFeedback
中文English
中文EN
HomeIndicatorsPsychologyGlossary
Switching pages

Tweet details

Phalcon·11/19, 20:166d ago
On-chain / data

.@k3_capital’s sBOLD vault was reportedly exploited, with losses exceeding $3.42M. The team has paused the affected contracts. The root cause was insufficient swap-input validation combined with uncleared router allowances, allowing the attacker to manipulate the vault’s share value through donations, then recover the donated assets and repeat the attack.

Specifically, the vault calculated the minimum BOLD output from the intended collateral amount, but did not bind the caller-supplied route’s input token and amount to those parameters. SwapLogic._execute() only checked the increase in the vault’s BOLD balance. A swap could therefore pass using BOLD supplied from another source while leaving the intended collateral untouched. Both the incoming BOLD and unspent collateral would count toward totalAssets without new sBOLD shares being minted, increasing the value per share. Because the unused router allowance was not cleared after the swap, a subsequent call could also transfer the remaining collateral out of the vault.

The key attack steps are as follows: 1. The attacker obtained wstETH and WETH through flash loans, borrowed a large amount of BOLD against wstETH, and deposited most of that BOLD into the vault to acquire a majority of its sBOLD shares. 2. The attacker donated 4 WETH to the vault and called swap() with a route specifying a fake input token. During the swap, an attacker-controlled callback supplied BOLD through the router to satisfy the minimum-output check, leaving the 4 WETH and its router allowance untouched. 3. The added BOLD and unspent WETH increased totalAssets without minting new sBOLD shares. The attacker then called redeem() to cash out at the higher share value. 4. After redemption, the attacker called swap() again, nominally swapping 1 wei of wstETH. The supplied route calldata instead used transferFrom() to recover the 4 WETH through the router’s remaining allowance. 5. The attacker repeated this deposit–donate–swap–redeem–recover cycle, reusing the same 4 WETH to extract approximately $3,000 per round at other depositors’ expense.

One of the attack TXs:

Link: https://t.co/6Ps73et9XI

011245
View original

Related tweets

First Squawk·11/26, 10:023h ago
News / media

China's Benchmark Coking Coal Contract Advances Over 3% In Active Trading

0004.7K
View original
PANews·11/26, 10:073h ago
News / media

A mysterious address withdrew 5.15 trillion PEPE from Binance in 9 days, now holding 1.24% of circulating supply According to on-chain analyst Ai Yi's monitoring, a mysterious new address withdrew another 490 billion PEPE from Binance 10 hours ago, worth about $1.62 million. Since it began building its position on November 17, it has cumulatively withdrawn 5.15 trillion PEPE, at an average withdrawal price of about $0.000003559, for a cost of about $18.33 million. As it kept adding to its position, the unrealized loss on this batch of PEPE has narrowed from $646,000 previously to $97,000. Three days ago it held about 2.88 trillion tokens, and over the past few days it has nearly doubled its position.

001467
View original

Explore the wider context

Explore live messages, market conditions and practice tools beyond this post.

Live intelligenceFollow monitored authors and recent intelligenceBull / BearUse market indicators to understand the current phasePrice actionRead the market with real data
Crypto Bee Crypto market intelligence and technical indicators