The depositTokens
function in the Starklane contract lacks an ownership check for ERC721 tokens. This omission allows users to deposit tokens they do not own, leading to potential unauthorized transfers.
FIle name : Bridge.sol
The depositTokens
function processes token deposits without verifying the ownership of ERC721 tokens. This oversight means that the function can be exploited to deposit tokens from other users' accounts if proper ownership checks are not enforced.
Users can deposit tokens they do not own, resulting in unauthorized transfers.
Potential for exploitation and financial loss due to unauthorized actions.
The contract’s integrity and trustworthiness are compromised, leading to potential disruption of service and loss of user confidence.
Maual code review
Add verification to ensure that the caller is the owner of ERC721 tokens before allowing deposit.
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.