stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Invalid

Missing interface import in SDLPoolSecondary.sol

Summary

Missing interface import in SDLPoolSecondary.sol

Vulnerability Details

The onlyCCIPController modifier in this contract requires the interface of the CCIP (Cross-Chain Interoperability Protocol) controller contract. If this modifier is used to maintain access to functions to only be callable by the CCIP controller, it is important for the interface of the contract to recognize and interact with the CCIP controller contract

Impact

This can cause the checks performed in onlyCCIPController modifier to not execute as intended. Also, If the onlyCCIPController modifier is used to maintain access to critical functions, not having proper interface import could potentially allow unauthorized individuals to execute those functions

Tools Used

VS Code

Recommendations

The appropriate CCIPController interface should be imported

Updates

Lead Judging Commences

0kage Lead Judge over 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.