Socket Hack
Incident Overview
The Socket Protocol was exploited on January 16, 2024, which resulted in a loss of approximately $3.3 million worth of assets.
Socket is an interoperability protocol that enables data and asset transfers across chains, with Bungee being a bridge aggregator built on SocketLL by the Socket team. On January 16, 2024, the Socket protocol experienced a security incident affecting wallets with infinite approvals granted to Socket contracts. The exploit's root cause was incomplete validation of user inputs, allowing the attacker to steal funds from users who had approved tokens for the vulnerable contracts. The attack impacted approximately 712 users, with the stolen funds remaining in the attacker's address.
Losses included 165,356 MATIC, 2.8896 WBTC, 42.4753 WETH, and 13,821 DAI, resulting in a total loss of around 3,300,000 USD.
Attacker Address:
https://etherscan.io/address/0x50DF5a22…d39066
Malicious Transactions:
https://etherscan.io/tx/0x591d054a…24ce54
https://etherscan.io/tx/0xc6c3331f…e28fd6
Malicious Contract Addresses:
https://etherscan.io/address/0xa5f1e956…1f1c8e
https://etherscan.io/address/0xf2d5951b…9c05d1
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 Socket, these are the critical security checks that could have prevented this incident (January 2024).
- 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 TrialSources & References
- 01
-
02
Web Archive https://archive.is/EJL5P
Learn to Prevent the Next Socket
The Socket 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.