Polter Finance Hack

TOTAL LOST $12.0M
High Flashloan Price Oracle Attack / Oracle Issue fantom

Summarize with AI

Affected Chain fantom Incident surface
Recovered - No recovery reported
All-Time Rank #283 By amount stolen
Protocol Type Lending Target category

Incident Overview

On November 16, 2024, Polter Finance, a DeFi lending platform on the Fantom network, experienced a severe security breach that led to the loss of around $8.7 million.

The exploit began with the attacker targeting a vulnerability in the price validation logic of the AaveOracle contract, which Polter Finance depended on for price feeds. The key weakness was in the ChainlinkUniV2Adapter, which relied on spot prices without adequate validation. The attacker exploited this weakness by executing a flash loan of 269,042 BOO and 1,154,788 BOO tokens from Spooky V2 and Spooky V3 liquidity pools, significantly reducing the token reserves in those pools and causing an abnormal price spike for the BOO token.

Using this inflated price, the attacker deposited a single BOO token as collateral in Polter's lending pool. Due to the flawed oracle system, the value of this 1 BOO token was calculated at an astronomical $1.37 trillion instead of its true market value. The platform's smart contract failed to detect this discrepancy because the price validation checks within the _fetchPrice and getRoundData functions were inadequate, allowing the manipulated price to go unchallenged.

The attacker repeatedly leveraged the inflated price of the BOO token to borrow wFTM tokens, ultimately draining a total of 9,134,844 wFTM from the lending pools. The price data retrieved by the latestRoundData function failed to account for the rapid changes caused by the flash loan manipulation, lacking necessary safeguards for drastic price swings.

As part of the exploitation, the attacker used flaws in the _getPriceAndTimestamp function, which contained hardcoded values and insufficient price fluctuation checks. These issues enabled the attacker to execute multiple borrowing operations without triggering any validation alarms, leading to the loss of $8.7 million.

In an effort to retrieve the stolen funds, the Polter Finance team has reached out to the attacker via social media channels and filed a police report.

Incident Report

Protocol / Project Polter Finance
Date of Incident
Affected Chain(s) fantom
Attack Technique Flashloan Price Oracle Attack / Oracle Issue
Classification Protocol Logic / Borrowing and Lending
Primary Source View Post-Mortem

Protocol Information

Protocol Type Lending
Official Website polter.finance/#/
Protocol Twitter/X @polterfinance
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
BNB Chain 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 flashloan price oracle attack / oracle issue and Solidity and EVM internals
Capital Required Seed capital to cover gas and initial position setup
On-Chain Access Ability to interact with fantom smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Polter 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 Flashloan Price Oracle Attack / Oracle Issue vulnerabilities in code review

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

  • Verify all logic paths related to Flashloan Price Oracle Attack / Oracle Issue are guarded by proper access controls and input validation - see the Flash Loans Attacks 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

Related Attack Classes

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

See all Flash Loans Attacks examples →

Sources & References

Learn to Prevent the Next Polter Finance

The Polter 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