Pills for Sale Hack
Incident Overview
The contract owner could disable the transfer function, which restricted users in selling their tokens.
The contract deployer added initial liquidity at:
https://etherscan.io/tx/0x80464b80…0d0585
The liquidity was removed by the contract deployer at:
https://etherscan.io/tx/0xbd5e38b1…3f9904
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 Pills for Sale, these are the critical security checks that could have prevented this incident (January 2021).
- Verify all logic paths related to Honeypot 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 TrialLearn to Prevent the Next Pills for Sale
The Pills for Sale 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.