Flow

Sablier
FoundryDeFi
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Lack of Admin Address Validation

Contract: Adminable.sol

Description: The transferAdmin function does not validate whether the newAdmin address is a valid user or a zero address.

  • Code Reference:

admin = newAdmin;

Impact:

  • Setting the admin address to zero would render the contract unmanageable, leading to a complete loss of functionality and control over the contract.

  • Recommendations:

    • Include the following validation before assigning the new admin:

require(newAdmin != address(0), "New admin address cannot be zero");
Updates

Lead Judging Commences

inallhonesty Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
inallhonesty Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.