Users are charged the penalty due to admin actions, and they have no way to avoid it
Proof of Concept
When claiming their rewards, users are charged a penalty if they take the reward directly, rather than by passing it into the auraLocker. Those are the only two options:
Lines of code
https://github.com/code-423n4/2022-05-aura/blob/4989a2077546a5394e3650bf3c224669a0f7e690/contracts/AuraBalRewardPool.sol#L176-L186
Vulnerability details
Impact
Users are charged the penalty due to admin actions, and they have no way to avoid it
Proof of Concept
When claiming their rewards, users are charged a penalty if they take the reward directly, rather than by passing it into the
auraLocker
. Those are the only two options:https://github.com/code-423n4/2022-05-aura/blob/4989a2077546a5394e3650bf3c224669a0f7e690/contracts/AuraBalRewardPool.sol#L176-L186
If the pool has been shut down, the
auraLocker.lock()
call will always revert, which means the user must take the penalty path:https://github.com/code-423n4/2022-05-aura/blob/4989a2077546a5394e3650bf3c224669a0f7e690/contracts/AuraLocker.sol#L258-L260
Tools Used
Code inspection
Recommended Mitigation Steps
Don't charge the penalty if the locker has been shut down