sandbox-smart-contracts icon indicating copy to clipboard operation
sandbox-smart-contracts copied to clipboard

M-02 Whitelisted Assets May Be Rejected & M-07 ERC-721 and ERC-1155 Tokens Can Bypass Whitelist Check

Open capedcrusader21 opened this issue 1 year ago • 1 comments
trafficstars

Description

  • updated logic for verifying bundled token and non-ERC20 in _verifyWhitelists().

  • added test cases for WhiteListingTokens.

  • added type to bundle components in tests.

Screenshot 2024-09-12 at 2 46 07 PM Screenshot 2024-09-12 at 2 46 15 PM Screenshot 2024-09-12 at 2 46 35 PM

capedcrusader21 avatar Sep 12 '24 09:09 capedcrusader21

M-02 Whitelisted Assets May Be Rejected & M-07 ERC-721 and ERC-1155 Tokens Can Bypass Whitelist Check

Generated at commit: 51e71fba2c9efa353cf644feca3417634ad7c4e0

🚨 Report Summary

Severity Level Results
Contracts Critical High Medium Low Note Total 2 1 0 7 30 40

For more details view the full report in OpenZeppelin Code Inspector

openzeppelin-code[bot] avatar Sep 12 '24 09:09 openzeppelin-code[bot]