AutoShark Hack

TOTAL LOST $759K
Low Flashloan Incentive Rewards Exploit / Flash Loan Attack bsc

Summarize with AI

Affected Chain bsc Incident surface
Recovered - No recovery reported
All-Time Rank #899 By amount stolen
Protocol Type Dexs Target category

Incident Overview

The transaction behind the attack:

https://bscscan.com/tx/0xfbe65ad3…a66f13

The attacker's address:

https://bscscan.com/address/0xd9c7efe2…298a3b

The attacker:

- added a small sum of deposit to the SHARK-BNB Vault:

https://bscscan.com/tx/0x2a2003fb…b8e125

- borrowed 100K BNB of flash loan from PancakeSwap

- swapped 50K BNB into SHARK token and sent them alongside the rest 50K BNB to the SharkMinter contract

- called getReward() with the deposit of SHARK-BNB Vault from the first step

- with the huge amount of SHARK token and WBNB in the wallet balance of the minter contract, it returned an extremely large amount of profit. As a result, the system minted 100M SHARK as a reward to the hacker

- sold SHARK token for 102K WBNB, repaid flash loans, taken out 2.2K WBNB

- exchanged BNB on ETH at:

https://bscscan.com/tx/0xa6e265b9…011df7

- bridged ETH into Ethereum network:

https://bscscan.com/tx/0x33c01cf4…b0ba3b

Incident Report

Protocol / Project AutoShark
Date of Incident
Affected Chain(s) bsc
Attack Technique Flashloan Incentive Rewards Exploit / Flash Loan Attack
Classification Ecosystem / Exchange (DEX)
Primary Source View Post-Mortem

Protocol Information

Protocol Type Dexs
Affected Token SHARK
Official Website autoshark.finance/
Protocol Twitter/X @AutoSharkFin
Team Anonymous
Source Code Unverified

Market Context at Time of Hack

Token Categories
Tron20 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 incentive rewards exploit / 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 bsc smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in AutoShark's contract logic - root cause: ecosystem / exchange (dex)
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 Incentive Rewards Exploit / Flash Loan Attack vulnerabilities in code review

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

  • Verify all logic paths related to Flashloan Incentive Rewards Exploit / Flash Loan Attack are guarded by proper access controls and input validation - see the Flash Loans 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 Flash Loans Attacks examples →

Sources & References

Learn to Prevent the Next AutoShark

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