Liquid Staking

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

Cancel Withdrawal Functionality Missing In PriorityPool

Summary

Once a user Initiates a Withdrawal Request and the request is queued , there is no mechanism/Functionality to cancel the request.

Vulnerability Details

The PriorityPool.solallows the users to initiate a Withdrawal. If a user later wants to cancel the Withdrawal Request due to change of intent or any other reason , the user can't do that.

Impact

  1. No flexibility to handle mistakes by the user.

  2. The Impact is low but the likelihood is High.

Tools Used

Manual Review

Recommendations

  1. Add a cancelWithdrawal functionality. Make sure it's been called by the initiater of the withdrawal function only.

  2. Ensure there is a time interval between cancelWithdraw and the next withdrawalRequest .

Updates

Lead Judging Commences

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

Support

FAQs

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