Closed sherlock-admin closed 10 months ago
1 comment(s) were left on this issue during the judging contest.
auditsea commented:
- Stablecoins like LUSD or DAI are used as collateral 2. TWAP is used as oracle to hedge price deviation
1 comment(s) were left on this issue during the judging contest.
auditsea commented:
- Stablecoins like LUSD or DAI are used as collateral 2. TWAP is used as oracle to hedge price deviation
Invalid, this issue is stating how a TWAP can be maniplated but doesn't prove how it can. So this is just speculation and just stating a design improvemnt suggestion
XDZIBEC
high
Oracle Price Manipulation in MintDollar and redeemDollar Functions
Summary
See vulnerability details
Vulnerability Detail
Here is an example: In normal Condition: 1 Ubiquity Dollar = $1 True Market Rate, Oracle Reports = $1. Manipulated Condition: Oracle Reports 1 Ubiquity Dollar = $0.90 (10% Deflated). Attacker’s Action: Redeems Ubiquity Dollars for ETH collateral. the result : Without Manipulation: Redeems $1,000 worth of Ubiquity Dollars for an equivalent amount of ETH. With Manipulation: Redeems $1,000 worth of Ubiquity Dollars for more ETH than it's worth.
Impact
Code Snippet
Tool used
Manual Review
Recommendation