NFTBridge
60,000 USDC
View results
Submission Details
Severity: low
Invalid

Missing Public Burn Function in `erc721_bridgeable.cairo` Limits Future Compatibility

Summary

The erc721_bridgeable.cairo contract lacks a public burn function, which is essential for enabling token burning on Layer 2 (L2) in future updates, particularly with the planned useAutoBurn strategy.

Vulnerability Details

The contract currently does not include a public burn function, which will be necessary to support burning synthetic tokens on L2 as indicated by the planned useAutoBurn strategy. Without this functionality, users will be unable to burn their ERC721 tokens on L2, potentially leading to issues with token management and forward compatibility with future updates.

Impact

Without a public burn function, it will be impossible to burn synthetic ERC721 tokens on L2, limiting the contract's functionality and preventing seamless integration with future features that rely on token burning.

Recommendations

Add a public burn function to the erc721_bridgeable.cairo contract to enable token burning on L2. This will ensure compatibility with the planned useAutoBurn strategy and other future updates that may require burning functionality. By implementing this now, the contract will be better prepared for future enhancements and provide a complete feature set for managing synthetic tokens.

Updates

Lead Judging Commences

n0kto Lead Judge 11 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

invalid-missing-burn-function-in-created-NFT

Great catch. Unfortunately there is no impact right now since this feature is not available. It could change in the new codebase.

Support

FAQs

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