code-423n4 / 2024-08-superposition-validation

0 stars 0 forks source link

OwnershipNFTs do not comply with ERC721, breaking composability #188

Open c4-bot-2 opened 1 month ago

c4-bot-2 commented 1 month ago

Lines of code

https://github.com/code-423n4/2024-08-superposition/blob/main/pkg/sol/OwnershipNFTs.sol#L13

Vulnerability details

OwnershipNFTs within the contract deviate from the ERC721 standard, leading to issues with composability and interoperability. Following are the missing things which are mandated by the ERC721 specification:

Impact

The non-compliance with ERC721 results in Breaking Composability and also

Proof of Concept

https://github.com/code-423n4/2024-08-superposition/blob/main/pkg/sol/OwnershipNFTs.sol#L13

Tools Used

Manual Review

Recommended Mitigation Steps

Align OwnershipNFT contract with the ERC721 standard.

Assessed type

ERC721

af-afk commented 4 weeks ago

https://github.com/fluidity-money/long.so/commit/cb98ea6bdcc8b38eb0791386c114bc5d0aaf3fd5