BTC $63,571.42 -1.74%
ETH $1,801.92 -0.72%
BNB $588.66 -0.66%
XRP $0.9825 -0.75%
SOL $74.91 -0.36%
TRX $0.3124 +0.93%
DOGE $0.0593 -0.34%
ADA $0.1537 -0.25%
BCH $207.33 -0.40%
LINK $9.15 -1.37%
HYPE $68.31 -0.99%
AAVE $109.21 -1.96%
SUI $0.7272 -0.74%
XLM $0.1375 -2.64%
ZEC $937.10 -2.10%
AAPL $355.27 +1.46%
AMZN $272.76 +5.33%
GOOGL $289.55 +2.89%
MSFT $514.96 +1.46%
META $624.65 +0.76%
NVDA $153.40 -3.76%
TSLA $388.45 +1.37%
SNDK $803.96 -2.33%
INTC $56.63 +1.07%
SPCX $146.60 +2.81%
MU $731.00 -0.44%
AMD $546.27 +6.10%
BTC $63,571.42 -1.74%
ETH $1,801.92 -0.72%
BNB $588.66 -0.66%
XRP $0.9825 -0.75%
SOL $74.91 -0.36%
TRX $0.3124 +0.93%
DOGE $0.0593 -0.34%
ADA $0.1537 -0.25%
BCH $207.33 -0.40%
LINK $9.15 -1.37%
HYPE $68.31 -0.99%
AAVE $109.21 -1.96%
SUI $0.7272 -0.74%
XLM $0.1375 -2.64%
ZEC $937.10 -2.10%
AAPL $355.27 +1.46%
AMZN $272.76 +5.33%
GOOGL $289.55 +2.89%
MSFT $514.96 +1.46%
META $624.65 +0.76%
NVDA $153.40 -3.76%
TSLA $388.45 +1.37%
SNDK $803.96 -2.33%
INTC $56.63 +1.07%
SPCX $146.60 +2.81%
MU $731.00 -0.44%
AMD $546.27 +6.10%

BlockSec: Sharwa.Finance has been attacked multiple times, resulting in losses exceeding $140,000

2025-10-20 18:42:56

ChainCatcher news, according to market reports, Sharwa.Finance has disclosed that it was attacked and subsequently paused operations. However, several hours later, multiple suspicious transactions occurred, suggesting that the attacker may have exploited the same underlying vulnerability through a slightly different attack path.

Overall, the attacker first created a margin account, then used the provided collateral to borrow more assets through leveraged lending, and finally initiated a "sandwich attack" targeting the exchange operations involving the borrowed assets.

The root cause seems to be the lack of bankruptcy checks in the swap() function of the MarginTrading contract, which is used to exchange the borrowed assets from one token (like WBTC) to another token (like USDC). This function only verifies solvency based on the account status at the start of the exchange, leaving room for manipulation during the operation process.

Attacker 1 (starting with 0xd356) executed multiple attacks, profiting approximately $61,000. Attacker 2 (starting with 0xaa24) executed one attack, profiting approximately $85,000.

ChainCatcher reminds readers to view blockchain rationally, enhance risk awareness, and be cautious of various virtual token issuances and speculations. All content on this site is solely market information or related party opinions, and does not constitute any form of investment advice. If you find sensitive information in the content, please click , and we will handle it promptly.

app_icon
ChainCatcher Building the Web3 world with innovations.