Sablier

Sablier
DeFiFoundry
53,440 USDC
View results
Submission Details
Severity: low
Invalid

no check on admin address

Summary

there is o check on admin assignment as it can be equal to old admin and can be address 0.

Vulnerability Details

function transferAdmin(address newAdmin) public virtual override onlyAdmin {
// Effect: update the admin.
@>> admin = newAdmin;

    // Log the transfer of the admin.
    emit IAdminable.TransferAdmin({ oldAdmin: msg.sender, newAdmin: newAdmin });

Impact

admin can be equal to zero address or same as old admin.

Tools Used

Recommendations

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Info/Gas/Invalid as per Docs

https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity

Support

FAQs

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