Rubixi Hack
Incident Overview
Rubixi contract had a security issue, which allowed anyone to become a contract owner and withdrew fees.
Rubixi was a project on the Ethereum chain designed to collect funds and had a privileged function to collect fees. The contract itself had a logic issue, which allowed anyone to become a contract owner and withdraw fees for themselves. The constructor of the contract was named wrong and become a regular function.
After becoming a contract owner, anyone can call the unprotected function collectAllFees() to withdraw fees. The contract currently has only 4 $ETH, which is stuck and can't be withdrawn.
Deployment transaction:
https://etherscan.io/tx/0x4496b642…8f8ec3
Contract deployer:
https://etherscan.io/address/0xdd68da49…68ad60
Owner change example:
https://etherscan.io/tx/0x9385dca4…10684c
Withdrawal example:
https://etherscan.io/tx/0x580222b0…7dd472
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 Rubixi, these are the critical security checks that could have prevented this incident (March 2016).
- 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 TrialRelated Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next Rubixi
The Rubixi 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.