Pirate x Pirate Hack
What happened
Pirate X staking contract was attacked resulting in the loss of 9,681,000 PXP tokens, which were later dumped into the market, netting the attacker a profit of about 212 BNB.
The attack on Pirate X's staking contract is believed to have been due to the leakage of the private key, as the attacker used a valid signed message to launch the attack. Users who deposited their PXP tokens into the contract had their tokens transferred to an EOA account (0x3b74a9cb…0067b7). The contract would then call transferFrom to transfer the tokens back to the user upon withdrawal.
The attacker provided a valid sign from the external signer (0x7435e0e4…eb176d) and withdrew 9,681,000 PXP tokens.
The staking contract: 0x6912B194…92DA54
Attacker: 0x3b74a9cb…0067b7
External signer: 0x7435e0e4…eb176d.
Case & protocol details
Evidence & learning
Attack pattern
Compare incidents →Sources and on-chain records
- report Report twitter.com
- analysis Web Archive archive.ph
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.