Peapods finance hacked.

Peapods reward contract was drained by sandwich attack.

“depositFromPairedLpToken” function of reward contract exchanges all pOHM token to PEAS token.

It has “_slippageOverride” parameter, hacker was able to do sandwich attack by setting this value to 999.

Total loss is $3.5k.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *