AutoSharkFinance Hack
Incident Overview
The attacker's address:
https://bscscan.com/address/0xfcf6738c…fc08f4
The example of transaction behind the attack:
https://bscscan.com/tx/0x8769f7ee…d6670f
The hack is made possible due to a profit inflation bug, which was exploited to donate a large amount of $NOVAs so that a huge amount of $JAWS tokens can be minted as a reward.
The attacker (based on the example tx):
- flash loaned 2.5K BNB
- swapped 569 BNB to 186.5K NOVA
- deposited 186.5K NOVA to Shiba's NOVA/WBNB LP
- called getReward() to swap 3.69e-06 NOVA to 561 BNB
- swapped 280 BNB to 3362 JAWS
- added liquidity with 280 BNB and 3362 JAWS into JAWS/WBNB LP, receiving 955 LP tokens
- minted 640,050 JAWS as a reward because of the inflated value of 955 JAWS/WBNB LP tokens
- called withdrawAll() to withdraw 640,050 JAWS
- swapped received JAWS to 509 BNB
Stolen funds were bridged into Ethereum. The attacker deposited ETH into Tornado Cash mixer:
https://etherscan.io/address/0xfcf6738c…fc08f4
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 AutoSharkFinance, these are the critical security checks that could have prevented this incident (October 2021).
- Verify all logic paths related to Other 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 TrialSecurity Audit History
- Audit Report 1 Report
Sources & References
Learn to Prevent the Next AutoSharkFinance
The AutoSharkFinance 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.