Closed sherlock-admin3 closed 2 months ago
1 comment(s) were left on this issue during the judging contest.
z3s commented:
Admins are trusted
Escalate Base pool owners are not admins. While they are trusted by the super pool, they don't necessarily trust each other. In my issue, one pool owner can increase liquidity of their pool at the cost of other pool owners.
Escalate Base pool owners are not admins. While they are trusted by the super pool, they don't necessarily trust each other. In my issue, one pool owner can increase liquidity of their pool at the cost of other pool owners.
You've created a valid escalation!
To remove the escalation from consideration: Delete your comment.
You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final.
I don't understand what the impact is. What is the problem that pool owners can increase liquidity in their own pools?
Because of the lack of impact and clarity on what the issue is, I plan to reject the escalation and leave the issue as is.
Hello, Sorry for late reply.
Pool owners take fees on borrowing. More liquidity will attract more borrowing, especially when your pools have low liquidity due to vibrant borrowing activities.
Consider this scenario:
I still don't understand what the problem is for the owner to increase his liquidity. What is the vulnerability?
Each user decides where to invest. With a flash loan, you can't increase your liquidity because the loan has to be repaid with the same transaction. There is no way he can trick consumers into investing in his pool so he can charge them fees. But even if he did it is a normal part of the design and design decision.
Planning to reject the escalation and leave the issue as is.
Result: Invalid Unique
tvdung94
High
Malicious pool owner can redirect funds of super pool, from other base pools, into their pool
Summary
Depositing and withdrawing mechanics will cause low liquidity for some pools as malicious pool owners can redirect liquidity, provided from super pool, into their own pools.
Root Cause
Internal pre-conditions
External pre-conditions
N/A
Attack Path
Impact
Malicious base pool owners can redirect liquidity into their own pools, at the cost of low liquidity for other base pools. High liquidity will help these pools attract more borrowers, thus more profit in charging interest.
Code snippet
https://github.com/sherlock-audit/2024-08-sentiment-v2/blob/0b472f4bffdb2c7432a5d21f1636139cc01561a5/protocol-v2/src/SuperPool.sol#L258-L263
https://github.com/sherlock-audit/2024-08-sentiment-v2/blob/0b472f4bffdb2c7432a5d21f1636139cc01561a5/protocol-v2/src/SuperPool.sol#L281-L286
PoC
Mitigation
To mitigate this issue, we need to prevent users from withdrawing immediately after depositing.