The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

LiquidationPool.decreasePosition Reentrancy

Summary

Due to EUROs and TST tokens being out of scope, combined with the vulnerability to reentrancy attacks in the decreasePosition function, it is possible to drain all the funds from the contract depending on the implementation of these tokens, both currently and in future modifications.

Vulnerability Details

The function updates the storage after making an external call to the tokens. This poor practice becomes critical if developers decide to implement hooks in the current or future implementations of EUROs and TST tokens.

Impact

Complete drainage of the contract.

Tools Used

Manual Review

Recommendations

Follow the Check-Effects-Interactions (CEI) best practices.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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