Dough Finance Hack

TOTAL LOST $2.0M
Medium Unvalidated call data exploit / Access Control ethereum

Summarize with AI

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

Incident Overview

On July 12, 2024, Dough Finance, a DeFi protocol, lost $1.8 million in digital assets due to a flash loan attack

On July 12, 2024, Dough Finance, a DeFi protocol, lost $1.8 million in digital assets due to a flash loan attack. Web3 security firm Cyvers flagged suspicious transactions and confirmed that Aave's pools were safe, though Dough Finance was heavily impacted. The attacker used the ZK protocol Railgun to fund the attack and swapped stolen USD Coin for 608 ETH, worth about $1.8 million.

Web3 security provider Olympix identified the cause of the exploit as unvalidated call data within the “ConnectorDeleverageParaswap” contract, allowing the attacker to manipulate data during flash loan calls. After the exploit funds were mixed with a Tornado mixer.

Attacker

https://etherscan.io/address/0x6998584b…028ff9

https://etherscan.io/address/0x2913d90d…c04a0f

https://etherscan.io/address/0x34611f6b…2ae893

Example Attack tx:

https://etherscan.io/tx/0x3192b5c7…2a608f

Tornado deposit example:

https://etherscan.io/tx/0xd5c92569…3170e2

Incident Report

Protocol / Project Dough Finance
Date of Incident
Affected Chain(s) ethereum
Attack Technique Unvalidated call data exploit / Access Control
Classification Protocol Logic / Borrowing and Lending
Primary Source View Post-Mortem

Protocol Information

Protocol Type Lending
Smart Contract Language Solidity
Official Website www.dough.finance/
Protocol Twitter/X @DoughFina
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Moonriver Ecosystem 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 Operational-security tradecraft (phishing, malware, leaked seed phrases, or insider access) to obtain treasury signing authority
Capital Required Minimal capital - only enough to cover gas while draining the compromised accounts
On-Chain Access Valid signing authority over the compromised wallets / multisig signers, allowing direct transfer of funds or stake authorization
Target Reconnaissance Identification of Dough Finance's high-value treasury accounts and the authority / multisig structure controlling them
Execution Speed Speed to drain the compromised accounts before the team detects the breach and revokes signing authority or freezes the assets
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? Likely — with a thorough Unvalidated call data exploit / Access Control audit checklist and test coverage

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

  • Verify all logic paths related to Unvalidated call data exploit / Access Control are guarded by proper access controls and input validation - see the Access Control Attacks attack class for patterns
  • 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 Access Control Attacks examples →

Proof-of-Concept Exploits

1 PoC available
poc-exploits - dough finance

On-Chain Evidence & References

Sources & References

Learn to Prevent the Next Dough Finance

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