SharedStake Hack
Incident Overview
Some members of the SharedStake core team claimed that a SharedStake insider, who was given access to the bug report of critical timelock vulnerability by the SharedStake team, appears to have used the vulnerability to exploit the SharedStake contracts four times for approximately $500,000 on June 19 and June 23.
SharedStake rogue insider tests exploit on mainnet:
https://etherscan.io/tx/0x9400daa8…332c9f
SharedStake rogue insider exploits more timelocks on mainnet:
https://etherscan.io/tx/0x68dcf70e…6f38c5
https://etherscan.io/tx/0x466bca01…79cf39
https://etherscan.io/tx/0x2dff7aa6…328313
Some of the resulting funds have been swapped to a mix of USDC and vETH2.
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 SharedStake, these are the critical security checks that could have prevented this incident (June 2021).
- Verify all logic paths related to Access Control are guarded by proper access controls and input validation - see the Access Control 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
Learn to Prevent the Next SharedStake
The SharedStake 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.