YFFC Hack
Incident Overview
Investors of the YFFC project lost approx. $72k collectively due to the project deployers right
YFFC was supposed to be a platform that unites a variety of DeFi platforms, ensuring an easier navigation through the crypto space for users. However, the smart contract contained a function that allowed contract deployer to mint as many $YFFC token as desired.
The contract deployer added initial liquidity at:
https://etherscan.io/tx/0x02cf382c…355d94
Almost 2 months after adding liquidity and once the $YFFC token was trading at an acceptable price for the contract deployer, the exploit started.
The contract deployer invoked the mint() function to generate new tokens onto the external wallet at:
https://etherscan.io/tx/0x39cecb2f…d99064
The external wallet sold newly minted tokens almost immediately at:
https://etherscan.io/tx/0xc3d42e64…c88c5f
Contract Deployer:
https://etherscan.io/address/0xe28db60e…c99ec4
Scammer Address B:
https://etherscan.io/address/0xa360d8e3…330a9a
Incident Report
Protocol Information
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.
What Auditors Should Check
If you're auditing a protocol with similar architecture to YFFC, these are the critical security checks that could have prevented this incident (November 2020).
- Verify all logic paths related to Rugpull 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 TrialSources & References
- 01
-
02
de.fi Analysis https://t.me/defiyield_ann/189
- 03
Learn to Prevent the Next YFFC
The YFFC 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.