Sharwa.Finance Hack

TOTAL LOST $147K
Low Price Manipulation Attack / Other arbitrum

Summarize with AI

Affected Chain arbitrum Incident surface
Recovered $40K 27.2% returned
All-Time Rank #1405 By amount stolen
Auditors 1 Prior security audit

Incident Overview

On October 20, 2025, Sharwa Finance, a lending protocol on Arbitrum, was exploited for approximately $147,000 through a price manipulation attack targeting USDC and WBTC liquidity pools. The Tornado Cash-funded attacker executed an atomic sandwich attack exploiting the protocol's reliance on Uniswap V3 quoter prices, with Sharwa committing to 100% refunds for affected users.

Sharwa Finance is a lending protocol allowing users to open long/short positions on BTC and ETH. The vulnerability stemmed from the protocol's blind trust in Uniswap V3 quoter prices without proper safeguards when closing positions. The attacker executed a two-transaction atomic sandwich attack: In transaction 1, they created a margin account with a BTC long position by depositing 2,000 USDC and borrowing approximately 40,000 USDC to purchase BTC.

In transaction 2, they performed the price manipulation sandwich by first swapping a large amount of BTC to USDC to crash the price, then immediately closing the long position which forced the protocol to sell BTC at the manipulated unfavorable price (creating bad debt), and finally swapping USDC back to BTC to complete the profitable sandwich. The attacker was funded through Tornado Cash and bridged funds from Ethereum mainnet to Arbitrum before executing the exploit.

Exploit Transaction 1:

0x9f8b4841…c23ead

Exploit Transaction 2:

0x35a523bd…addd36

Technical Root Cause

40,000 USDT were recovered with a help of Binance

Learn to detect root-cause vulnerabilities like this in the Smart Contract Hacking course or start your free trial.

Incident Report

Protocol / Project Sharwa.Finance
Date of Incident
Affected Chain(s) arbitrum
Attack Technique Price Manipulation Attack / Other
Classification Protocol Logic / Borrowing and Lending
Primary Source View Post-Mortem

Protocol Information

Protocol Type Derivatives
Smart Contract Language Solidity
Official Website sharwa.finance/
Protocol Twitter/X @SharwaFinance
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
AI & Big Data Ethereum Ecosystem MetisDAO Ecosystem Generative AI Metis Andromeda Ecosystem

What the Attacker Needed to Succeed

Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.

Technical Knowledge Deep understanding of price manipulation attack / other and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with arbitrum smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Sharwa.Finance's contract logic - root cause: protocol logic / borrowing and lending
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Yes — skilled auditors routinely flag Price Manipulation Attack / Other vulnerabilities in code review
Audited by Audit Report 1 — still lost $147K. Prior audits don't guarantee safety, especially after post-audit code changes.

If you're auditing a protocol with similar architecture to Sharwa.Finance, these are the critical security checks that could have prevented this incident (October 2025).

  • Verify all logic paths related to Price Manipulation Attack / Other are guarded by proper access controls and input validation - see the Oracle Manipulation & Price Manipulation attack class for patterns
  • Audit oracle price feeds for manipulation risks - ensure time-weighted average prices (TWAPs) or multi-source aggregators are used, not spot prices
  • Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs

Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.

Free Trial

Funds Recovery

27.2%

Recovered

$40K

Net Loss

107016

Security Audit History

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Oracle Manipulation & Price Manipulation examples →

Proof-of-Concept Exploits

1 PoC available
poc-exploits - sharwa.finance

On-Chain Evidence & References

Sources & References

Learn to Prevent the Next Sharwa.Finance

The Sharwa.Finance hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.

Recreate exploit patterns safely Free Trial