Liquid Staking

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

Lack of pause mechanism in OperatorStakingPool

Summary

The lack of a pause mechanism is a significant oversight in the OperatorStakingPool contract

Vulnerability Details

The OperatorStakingPool contract doesn't have any functionality to pause operations. Key functions like onTokenTransfer (for deposits) and withdraw can always be called as long as other conditions are met.

Impact

If a critical bug is found, there's no way to quickly stop users from interacting with the contract.

During upgrades or maintenance, users could continue to deposit or withdraw, potentially leading to inconsistent states.

Other contracts have the pause mechanism but this one is missing pause and unpause.

Tools Used

Manual Review

Recommendations

Add pause and unpause on the critical functions like deposit withdraw ontokentransfer

Updates

Lead Judging Commences

inallhonesty Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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