Pieces Protocol

First Flight #32
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: high
Invalid

Missing Access Control on `burnFrom` Allows Unauthorized Token Burning

Vulnerability Details

The burnFrom function is inherited from ERC20.sol but has not been overridden to include an access control mechanism. As a result, any user can call ERC20ToGenerateNftFraccion::burnFrom to burn any amount of ERC20ToGenerateNftFraccion tokens from any other user without authorization.

Impact

  • Unauthorized and unlimited token burning by any user.

  • Potential loss of user assets and disruption of protocol functionality.

Recommendations

Override the burnFrom function and implement an appropriate access control mechanism to restrict who can burn tokens.

Updates

Lead Judging Commences

fishy Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.