Sherlock
Perennial V2 Update #3
Every publicly disclosed report for Perennial V2 Update #3 and what kind of bugs they were.
- disclosed reports
- 21
- most reported class
- Business logic
- bug classes found
- 4
- first disclosure
- 2024
Disclosed reports
Newest first. Only what Perennial V2 Update #3 chose to make public.
-
Maliciously specifying a very large intent.price will result in a large gain at settlement, stealing funds
Business logic High Audit finding +1 collaborator
-
when ReserveBase undercollateralized , Manager.orders will not be able to execute
Business logic Medium Audit finding +1 collaborator
-
Corrupted storage after upgrade in the `MarketFactory` contract
Smart contracts Medium Audit finding
-
_ineligible() redemptionEligible is miscalculated
Business logic Medium Audit finding
-
TriggerOrder.notionalValue() Using the wrong latestPositionLocal to calculate the value causes the user to overpay fees
Business logic Medium Audit finding
-
The `RiskParameter.liquidationFee` variable is not treated and validated as a percentage value, leading to breaking protocol invariants
Business logic Medium Audit finding
-
Market coordinator can liquidate all users in the market
Access control High Audit finding
-
Market coordinator can set proportional and adiabatic fees much higher than limited by protocol due to fixed point truncation
Business logic Medium Audit finding
-
Perennial account users with rebalance group may suffer a donation attack
Business logic High Audit finding
-
The `Market.migrate()` function has no effect and does not migrate `PositionStorageGlobal` to the new storage layout, breaking the migration assumption
Business logic Medium Audit finding +1 collaborator
-
Anyone can cancel other accounts `nonces` and `groups`, leading to griefing their `Intents`
Access control Medium Audit finding +3 collaborators
-
`Controller`'s core function of Rebalance will not rebalance when rebalance is needed in some cases, breaking core functionality
Business logic Medium Audit finding
-
settle() asyncFee is left in the KeepFactory and is not transfer to the keeper
Business logic Medium Audit finding +1 collaborator
-
Keepers can lose compensation fee
Business logic Medium Audit finding
-
Market coordinator can steal all market collateral by changing adiabatic fees
Business logic High Audit finding
-
Market coordinator can steal all market collateral by abusing very low value of `scale`
Business logic High Audit finding
-
Lack of access control in the `MarketFactory.updateExtension()` function
Access control High Audit finding +7 collaborators