Visor Finance Hack
Incident Overview
The attacker's address 1:
https://etherscan.io/address/0x89640eb6…0e3ae1
The attacker's address 2:
https://etherscan.io/address/0xf434edf6…d3a98e
The transactions behind the flash loan attack (exploiter 1):
https://etherscan.io/tx/0x5c9ac39c…afb6ab
https://etherscan.io/tx/0xc2104896…3f7316
https://etherscan.io/tx/0x07f39ed1…099639
https://etherscan.io/tx/0x2f49b436…0d8f55
https://etherscan.io/tx/0xca682696…3f3a7a
Stolen funds (91 ETH) were deposited into Tornado cash mixer at:
https://bloxy.info/txs/calls_from/0x89640eb6…0e3ae1?signature_id=994162&smart_contract_address_bin=0x722122df…5b6967
The transactions behind the flash loan attack (exploiter 2):
https://etherscan.io/tx/0x4208ef77…984f67
https://etherscan.io/tx/0x6e5be7b8…f8f461
https://etherscan.io/tx/0x42c91595…ab5fb8
Stolen funds (124 ETH) were deposited into Tornado cash mixer at:
https://bloxy.info/txs/calls_from/0xf434edf6…d3a98e?signature_id=994162&smart_contract_address_bin=0x722122df…5b6967
The exploit was executed according to the following scheme:
1. Take a flash loan of asset X.
2. Swap X for Y to pump the price of Y, dump the price of X.
3. Deposit Y into XY Visor Pool to get outsized shares based on the manipulated value of Y.
4. Withdraw shares to get the equal ratio of XY back from Visor.
5. Rebalance the pool, and pay back the flash loan.
Incident Report
Protocol Information
Market Context at Time of Hack
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 Visor Finance, these are the critical security checks that could have prevented this incident (November 2021).
- Verify all logic paths related to 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 TrialSecurity Audit History
- Audit Report 1 Report
Related Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
-
01
Source 1 https://www.visor.finance/
Learn to Prevent the Next Visor Finance
The Visor 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.