Sentiment Hack

Reported loss $1.0M
Arbitrum
Flashloan Reentrancy Attack

What happened

On April 4, 2023, an attacker extracted about $1 million from Sentiment on Arbitrum by exploiting a read-only reentrancy in the Balancer LP-token pricing integration. Flash-loaned capital was used to create a transiently favorable collateral valuation, borrow against that valuation, and leave the protocol with bad debt. The attacker later returned about 95% under a bounty-style arrangement.

How it happened

  1. The attacker used flash-loaned capital to establish a Sentiment position backed by Balancer LP collateral.
  2. During a Balancer pool operation, the attacker re-entered Sentiment's oracle read path while the pool's observable state was inconsistent with its steady-state price.
  3. Sentiment valued the collateral favorably, allowing the attacker to borrow and withdraw assets.
  4. Sentiment paused the affected markets; the attacker subsequently returned roughly 95% of the extraction.

Protocol details

Classification Ecosystem / Borrowing and Lending / Reentrancy
Protocol Type Lending
Implementation language Solidity
Protocol links Website @sentimentxyz

Security review history

Funds Recovery

86.3%

Recovered

$863K

Net Loss

$137,000

Post-Incident Timeline

  • 2023-04-05

    The Sentiment Team sent on-chain message, declaring 95,000 $USD bug bounty and 'asking' to return the rest of the funds. The attacker followed the statement, and returned roughly 90% of the stolen amount as 465.75 $ETH. The rest of the funds were transferred through TornadoCash. Returning transactions: Tx 1 0xe1d2…7580 Tx 2 0xa9cc…b6ca Tx 3 0xc84e…3e56 On-chain message: Tx 4 0x464c…32a1

Build your security review skills

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.