Hunt prep
Before you test Perennial contest
What 5 disclosed reports say about Perennial contest: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Access control lesson | 2 | 0 | – | – | $0 |
| Business logic lesson | 2 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Chainlink’s latestRoundData might return stale or incorrect results
The contract should be fixed by adding checks for positive price, round completeness, and freshness as shown in the recommendation.
Disclosed
-
Wrong shortfall calculation
The shortfall should be set to the new shortfall value instead of adding it to the existing shortfall.
Disclosed
-
No checks if given product is created by the factory
Add a mapping in Collateral, updated by the factory, to verify that a product was created by the factory, or call a factory function to verify.
Disclosed
-
Multiple initialization of Collateral contract
The initialize function should be protected with the initializer modifier to prevent multiple calls.
Disclosed