The burn() function emits an event where the from address is incorrectly logged as msg.sender instead of the actual token owner, creating misleading logs and potentially hiding malicious activity.
When a token is burned by the owner of token holder, the event should correctly reflect the address from which the token was removed (the true token owner).
The BidBeastsBurn event emits msg.sender instead of the actual token owner, which causes inaccurate logs, if it is called by any malicious address, as method is public and anyone can call this method.
Likelihood: Medium
Any user calling burn() will always be logged as the "owner," regardless of whether they owned the NFT.
Logs are widely used in audits, analytics, or disputes. Incorrect data is very likely to cause issues.
Impact: Low
Logs do not match actual state transitions and Misleads off-chain monitoring systems or compliance checks.
Misrepresentation of ownership history, breaking trust with marketplaces or analytics tools.
Consider Alice owns token #1. If Bob calls burn(1), the event will log Bob as the one who "burned" it, even though the token was removed from Alice’s balance.
Retrieve the actual owner of the token before burning and emit it in the event.
placeBid emits AuctionSettled even though the auction hasn’t ended, causing misleading event logs.
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.