Fox Hack

TOTAL LOST $678K
Low Flash Loan Attack

Summarize with AI

Affected Chain 2026 Incident surface
Recovered - No recovery reported
All-Time Rank #942 By amount stolen
Protocol Type Exploit/Flash Loan Attack Target category

Incident Overview

On August 15, 2026, BSC-based bond market protocol Fox Market was exploited via an atomic flash-loan attack. The attacker utilized ~$482 million in flash-loaned stablecoins to trigger over-minting of protocol bonds and siphon ~$678,000 from the PancakeSwap FOX/USDT liquidity pool, yielding ~$117,000 in net attacker profit after flash-loan fees.

The attack targeted a critical ordering vulnerability in the stake() function on contract 0x9fa6d8a1…13d1a0. When executed, stake() sampled the FOX token spot price ($5.44) prior to executing the swap of injected USDT into the underlying PancakeSwap pool. Attacker 0x5670d36f…fc0ef9 borrowed ~$482 million in USDT across Lista, Venus, and Aave, passing the capital into the bond minting routine.

Because the mint valuation calculated token issuance based on the pre-swap spot price rather than the post-swap execution price, the protocol printed ~181x more bond tokens (88.66M sFOX) than intended. The contract then burned the newly created LP tokens to 0x00...dead and instantly paid an unlocked 3% referral bonus in FOX (2.66M tokens) to an inviter address. The attacker dumped these referral tokens directly into the newly USDT-heavy PancakeSwap pool, drained ~$678,000 from existing pool liquidity, fully repaid all $482 million in flash loans, and extracted ~$117,000 in net profit.

Exploit Transaction: 0x8e1775cb…ad5514

Attacker: 0x5670d36f…fc0ef9

Attack Helper Contract: 0x3A82A2A7…a1D2DA

Incident Report

Protocol / Project Fox
Date of Incident
Attack Technique Flash Loan Attack
Classification Other

Protocol Information

Protocol Type Exploit/Flash Loan Attack
Team Anonymous
Source Code Unverified

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 flash loan attack and Solidity and EVM internals
Capital Required Flash loan capital (borrowed atomically, zero upfront cost)
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in Fox's contract logic - root cause: other
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 Flash Loan Attack vulnerabilities in code review

If you're auditing a protocol with similar architecture to Fox, these are the critical security checks that could have prevented this incident (August 2026).

  • Verify all logic paths related to Flash Loan Attack are guarded by proper access controls and input validation
  • 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

Sources & References

Learn to Prevent the Next Fox

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