Hunt prep
Before you test Firelight
What 46 disclosed reports say about Firelight: 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 | 34 | 0 | – | – | $0 |
| Access control lesson | 7 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
| Misconfiguration 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.
-
Broken historical period calculation
The helper should accept the timestamp parameter and compute the difference using that value instead of the current block time.
Disclosed
-
PeriodAtTimestamp() uses current time instead of input timestamp, returning wrong period numbers
The function should use the input timestamp instead of the current time when computing the period.
Disclosed
-
Useless check
The redundant check should be removed to save gas.
Disclosed
-
Incorrect Period Calculation periodAtTimestamp() function
The calculation should use the timestamp argument passed to periodAtTimestamp() rather than the current block time.
Disclosed
-
Logic bug in periodattimestamp
The function should be fixed by using the timestamp parameter instead of the current block timestamp when calculating the time since epoch.
Disclosed
-
PeriodAtTimestamp() Returns Current Period Instead of Historical Period
The helper should compute elapsed time from the timestamp argument rather than the current block time.
Disclosed
-
Underflow issue leading to a periodattimestamp dos
The function should be fixed by checking whether the configuration epoch is in the future and, if so, computing the period using the input timestamp instead of the current time.
Disclosed
-
Periodattimestamp will return different period for the same timestamp input
The function should compute the elapsed time from the supplied timestamp rather than the current block timestamp.
Disclosed
-
Missing _disableInitializers() Allows Direct Implementation Initialization Leading to Vault Takeover
Add a constructor that calls _disableInitializers() so the implementation cannot be initialised directly.
Disclosed
-
Timestamp-agnostic periodAtTimestamp misreports historical periods, breaking time-locked logic
The function should pass the supplied timestamp into the period calculation instead of always using the current time.
Disclosed
-
Logic error in periodattimestamp returns incorrect periods
The function should use the timestamp parameter in the period calculation instead of the current block time.
Disclosed
-
Period calculation does not use provided timestamp in periodattimestamp
The helper should take the timestamp as an argument and compute the difference from it, with callers updated accordingly.
Disclosed
-
FirelightVault.sol#periodAtTimestamp() will return an incorrect period number due to flawed logic
The function should calculate the elapsed periods using the provided timestamp argument, not the current block timestamp.
Disclosed
-
PeriodAtTimestamp() Ignores Input Parameter
The function should be fixed to use the input timestamp parameter instead of the current time.
Disclosed
-
Periodattimestamp does not work as expected
The function should be fixed to calculate the period using the provided timestamp parameter rather than the current time.
Disclosed