Peter Borah

Results 5 comments of Peter Borah

Yeah, I think this works. Well spotted! To rephrase for my own benefit, and anyone else following along: If you return the ether stolen by a race-to-empty attack before any...

Sent! (Since this was the first bug bounty claimed, and since it was a major issue and not just a typo, I sent a bit more than the nominal amount...

Since this issue seems to be getting a bit of attention, I want to make sure it's clear that this code was demonstrating a single security technique, and intentionally left...

@ethers: I don't think it fixes it, unfortunately. The attacker can return the withdrawn Ether each time before calling the next withdrawal.

> In the first part of the attack the attacking contract gives back all its ether to TokenWithInvariants in the final transfer call but it's important (for @veox's attack) that...