Liquid Staking

Stakelink
DeFiHardhatOracle
50,000 USDC
View results
Submission Details
Severity: medium
Invalid

Incorrect Operator Removal Status

Summary

The isRemoved() function in the Vault contract always returns false, regardless of whether the operator has actually been removed from the Chainlink staking contract.

Vulnerability Details

The isRemoved() function is defined as follows:

function isRemoved() public view virtual returns (bool) {
return false;
}

This function is hardcoded to always return false, which does not accurately reflect the actual status of the operator in the Chainlink staking contract.

Impact

Systems relying on this function will always be informed that the operator is not removed, even if it has been.

Tools Used

Manual Review

Recommendations

Implement proper logic to check the actual status of the operator in the Chainlink staking contract. This might involve querying the staking contract or maintaining an internal state that is updated when the operator status changes.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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