Walletreum Hack
Incident Overview
Walletreum's project deployer abused the mint() function and extracted $138k from the project and its investors.
Walletreum was supposed to be an innovative crypto asset management tool focussing on lending and borrowing and real-world application. Unfortunately, the smart contract had malicious functions embedded that allowed the project deployer to mint as many $WALT token as desired.
In fact, the contract deployer used the mint() function to generate 500 billion tokens onto an external wallet:
https://etherscan.io/tx/0xc0f3b057…4710e5
The EOA wallet exchanged the minted tokens for 138,439 $USDT.
https://bloxy.info/txs/calls_from/0x665f3841…29d358?signature_id=1102183&smart_contract_address_bin=0x7a250d56…f2488d
The $USDT 138,439 were exchanged for $ETH:
https://etherscan.io/tx/0xc47c26a8…6e7f15
Then the attacker decided to swap all of the $ETH in his wallet for 156,120 USDT:
https://etherscan.io/tx/0xe20d10e7…fce7ac
Then funds were then transferred to Binance in multiple transactions as can be seen in the example transactions:
https://etherscan.io/tx/0xf9cf08f5…0f221f
https://etherscan.io/tx/0xcce3eacb…7217f9
Scanner
Project Deployer:
https://etherscan.io/address/0xa5e552e3…aee775
EOA Scammer Wallet:
https://etherscan.io/address/0x665f3841…29d358
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 Walletreum, these are the critical security checks that could have prevented this incident (November 2020).
- Verify all logic paths related to Rugpull 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
Source 1 https://archive.ph/6b3Sd
-
02
de.fi Analysis https://t.me/defiyield_ann/222
- 03
Learn to Prevent the Next Walletreum
The Walletreum 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.