Assessment reports>DfynRFQ>Informational findings>DfynRFQ provides a function to renounce ownership
Category: Business Logic

DfynRFQ provides a function to renounce ownership

Informational Severity
Informational Impact
N/A Likelihood

Description

The DfynRFQ contract implements Ownable functionality, which provides a method named renounceOwnership that removes the current owner. This is likely not a desired feature.

Impact

If renounceOwnership were called, the contract would be left without an owner.

Recommendations

Override the renounceOwnership function:

function renounceOwnership() public override onlyOwner{
    revert("This feature is not available.");
}

Remediation

This issue has been mitigated by the Router team in commit 3be1183.

Zellic © 2024Back to top ↑