Closed c4-bot-8 closed 8 months ago
0xRobocop marked the issue as insufficient quality report
Poor quality
ChristianBorst (sponsor) disputed
The owner (aka manager) of the LiquidInfrastructureERC20 must call addManagedNFT() for any NFT to be considered for this process. We expect the owner to vet all the NFTs to be safe for frequent withdrawals initiated by anyone. It is public so that users who wish to pay the gas and get a revenue distribution early can do so.
0xA5DF marked the issue as unsatisfactory: Invalid
Lines of code
https://github.com/code-423n4/2024-02-althea-liquid-infrastructure/blob/bd6ee47162368e1999a0a5b8b17b701347cf9a7d/liquid-infrastructure/contracts/LiquidInfrastructureERC20.sol#L359
Vulnerability details
Impact
Detailed description of the impact of this finding. The function
withdrawFromManagedNFT
, is used to deposit all tokens in all the managedNFT's
accounts to the liquidInfrastructureERC20.sol to control. i believe that this functionality is an important one and therefore shouldn't be madepublic
, as anyone can call it.Proof of Concept
Provide direct links to all referenced code in GitHub. Add screenshots, logs, or any other relevant proof that illustrates the concept.
Tools Used
manual review
Recommended Mitigation Steps
Make function to be called by `onlyOwner.
Assessed type
Access Control