Normally, the burn  function should allow only the owner or an approved operator of an NFT to destroy it.
In the BidBeasts contract, the burnfunction allows anyone to burn any token, regardless of ownership or approval.
This violates the ERC-721 standard and lets malicious actors permanently destroy other users’ tokens.
The inherited _burn function from OpenZeppelin’s ERC721 implementation does not validate the caller.
It simply deletes ownership records and emits a Transfer event, assuming the caller already performed access control.
Likelihood:
Any user can call burn on a vallid token ID without restrictions.
No permissions or access control prevents unauthorized burning
Impact:
Permanent destruction of NFTs owned by other users.
Loss of user assets and reputational damage to the project.
The following Foundry test demonstrates that an arbitrary account can burn someone else’s NFT without approval.
This test passes, proving that an arbitrary address can destroy another user’s NFT.
Add an ownership or approval check before calling _burn.
OpenZeppelin already provides _isAuthorized in the ERC-721 implementation.
Restrict the burn function so only the token owner or an approved operator can call it.
In the BidBeasts ERC721 implementation, the burn function is publicly accessible, allowing any external user to burn NFTs they do not own. This exposes all tokens to unauthorized destruction and results in permanent asset loss.
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.