Passing an arbitrary from
address to transferFrom
(or safeTransferFrom
) can lead to loss of funds because anyone can transfer tokens from the from
address if an approval is made.
An attacker can gain control over tokens if they receive approval from the token holder to transfer tokens on their behalf.
Users can lose their tokens if an attacker gains control over an approved address and transfers tokens out.
Manual Review
Implement strict access controls and input validation.
Use events to monitor and log approval changes.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.