The Standard

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

Users can frontrun `LiquidationPool.distributeFees` to stake TST and ensure significant shares of the distributed fees.

Summary

Due to the distribution of fees to pending TST positions by LiquidationPool.distributeFees(), users can increase their TST holdings just before big distributions to secure guaranteed large shares of the fees.

Vulnerability Details

LiquidationPool.distributeFees() distributes fees to pending TST stakes. This enables users to monitor the mempool for significant fee distributions, frontrun them by depositing large amounts of TST, and ensure capturing the majority of the distributed EURO share.

It's important to note that this attack is not possible on Arbitrum, as it lacks a public mempool. However, as indicated in the README, the protocol should be compatible with "Any EVM chains with live Chainlink data feeds and live Uniswap pools," this strategy could be applied on numerous other chains where public mempools are available.

Impact

Users can frontrun large fee distributions by staking TST and securing a portion of the distributed fees.

Tools Used

Manual Review

Recommended Mitigation

Consider distributing fees only to already consolidated positions, excluding pending ones.

Updates

Lead Judging Commences

hrishibhat Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

frontrun-distrubutefees

hrishibhat Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

frontrun-feedist-low

Support

FAQs

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

Give us feedback!