News for hackers. Stuff that matters.
Re:“Crypto drainer” template facilitates theft by dlubarov on Wednesday June 15, 2022 @09:06PM (#31761447)
The parent is probably thinking of websites which make use of ERC20's 'approve' method, which "Sets `amount` as the allowance of `spender` over the caller's tokens."

It's used by a lot of DeFi apps, often with an unlimited amount. It doesn't give control of the tokens to a website, but rather to a contract. It's fine if the contract is secure and immutable, but of course that's not always the case.

There are no comments on this comment yet.