Hunt prep
Before you test Reflector V3
What 6 disclosed reports say about Reflector V3: 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 |
|---|---|---|---|---|---|
| Business logic lesson | 4 | 0 | – | – | $0 |
| Access control lesson | 1 | 0 | – | – | $0 |
| DoS lesson | 1 | 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.
-
Expiration vector length mismatch causes panic in extend_ttl() when assets are added with zero initial expiration period
The fix should ensure both vectors stay synchronized, for example by always creating an expiration record when the fee config is set, or by adding a defensive check in extend_ttl().
Disclosed
-
load_prices function returns an incomplete list of prices
load_prices should not decrease records when get_price_fn returns None, or the fee should be burned only for the actual number of prices returned.
Disclosed
-
set_invocation_costs_config() fails to authorize admin allowing anyone to set invocation costs
Add an admin authorisation check, such as auth::panic_if_not_admin(e), inside set_invocation_costs_config.
Disclosed
-
Systematic overcharge in prices and x_prices : Fee charged for requested records while return is capped at 20
The fee calculation should cap the records parameter at 20 before charging, matching the oracle's cap.
Disclosed
-
twap() under-charges for multi-period queries due to hardcoded periods=1
The fee-charging function should be called with the actual records value instead of the hardcoded 1.
Disclosed
-
x_last_price uses global timestamp incorrectly
The function should scan backward over history to find the most recent timestamp where both assets have records, similar to x_prices and x_twap.
Disclosed