Access control
FULL_RESTRICTED_STAKER_ROLE Blacklist Bypass in Deposit and Mint Functions
The _deposit() function in sNUSD.sol only checks for SOFT_RESTRICTED_STAKER_ROLE, not FULL_RESTRICTED_STAKER_ROLE, allowing fully blacklisted users to deposit or mint to other addresses. An attacker with the FULL_RESTRICTED_STAKER_ROLE could bypass restrictions and continue accessing yield strategies through other addresses.
Neutrl Protocol
Medium