Steadefi

Steadefi
DeFiHardhatFoundryOracle
35,000 USDC
View results
Submission Details
Severity: medium
Invalid

Missing error handling in GMXCallback

Summary

afterDepositExecution and afterWithdrawalExecution are missing error handling for unexpected status.

Vulnerability Details

The else condition in afterDepositExecution and afterWithdrawalExecution function are not being handled.

Impact

The callback with wrong status can still be executed and will not revert.

Tools Used

Manual

Recommendations

Handle else condition in afterDepositExecution and afterWithdrawalExecution function.

Updates

Lead Judging Commences

hans Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Other
Assigned finding tags:

Incomplete logic branch in callback

Support

FAQs

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