Skip to content

Immunefi

Firelight

Every publicly disclosed report for Firelight and what kind of bugs they were.

disclosed reports
46
most reported class
Business logic
bug classes found
4
first disclosure
2025
Find Firelight on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Firelight chose to make public.

Business logic

Broken historical period calculation

The periodAtTimestamp function ignores its timestamp argument and always returns the current period because the internal _sinceEpoch helper uses the current block time instead of the supplied timestamp. An attacker or any caller cannot retrieve historical period numbers, so external systems relying on past period data receive incorrect results.

Firelight

Low
Business logic

Useless check

The periodConfigurationAtNumber function contains a redundant check that can never be true because the loop always assigns a non-zero epoch from the first configuration. This wastes a small amount of gas on every call but does not cause functional issues or fund loss.

Firelight

Informational
Business logic

Incorrect Period Calculation periodAtTimestamp() function

The periodAtTimestamp() view function in FirelightVault ignores its timestamp argument when computing the period number, using the current block time instead. Any caller querying a past or future timestamp receives the period that would be correct now, not for the time asked about.

Firelight

Low
Business logic

Logic bug in periodattimestamp

The periodAtTimestamp function in the FirelightVault contract incorrectly uses the current block timestamp instead of the provided timestamp parameter when calculating historical periods. This causes all historical queries to return the current period, breaking audit trails and integrations that rely on accurate period calculations.

Firelight

Low
Business logic

Incorrect period calculation inside periodAtTimestamp(), resulting in returning period now instead of period at given timestamp

The periodAtTimestamp function is meant to return the period number for a supplied timestamp, but it uses the current block time instead of the argument, so the same input returns different results depending on when it is called. An attacker or integrator relying on historical period data would get incorrect values, though core vault operations and funds are unaffected.

Firelight

Low
Business logic

PeriodAtTimestamp() Returns Current Period Instead of Historical Period

The periodAtTimestamp function ignores its timestamp argument and always returns the current period, because the helper _sinceEpoch uses the current block time instead of the supplied timestamp. Historical period queries therefore return the wrong period, breaking external integrations and analytics that rely on them.

Firelight

Low
Business logic

Periodattimestamp provides period of current timestamp even for different timestamps

The periodAtTimestamp function is documented to return the period number for a supplied timestamp, but it actually computes the period for the current block timestamp. An external caller relying on this view function would receive an incorrect period number for any timestamp other than the present one.

Firelight

Low
DoS

Underflow issue leading to a periodattimestamp dos

The public function periodAtTimestamp reverts when given a timestamp that falls in a future period configuration, because it subtracts the future epoch from the current time. An attacker can call it with such a timestamp to cause a denial of service for that call, but no funds are lost.

Firelight

Low
Business logic

Periodattimestamp will return different period for the same timestamp input

The view function periodAtTimestamp computes the period using the current block timestamp rather than the timestamp passed in, so querying the same historical timestamp returns a different period as time passes. An attacker or user could get incorrect period data from this view function, though no other accounting logic is affected.

Firelight

Low
Business logic

Logic error in periodattimestamp returns incorrect periods

The periodAtTimestamp function ignores its timestamp argument and uses the current block time, so it returns the wrong period for any non-current timestamp. For future timestamps under a scheduled future configuration, the subtraction underflows and the call reverts.

Firelight

Low
Business logic

Period calculation does not use provided timestamp in periodattimestamp

The periodAtTimestamp function ignores the timestamp argument and instead subtracts the epoch from the current block time, so querying a future timestamp can revert with an underflow or return a period number that changes as real time passes. An attacker or integrator relying on this view gets wrong period information, though no funds are lost.

Firelight

Low
Business logic

PeriodAtTimestamp() Ignores Input Parameter

The periodAtTimestamp function in FirelightVault.sol ignores its timestamp parameter and always returns the current period. This breaks historical period queries for analytics, indexers, and integrations.

Firelight

Low
Business logic

Periodattimestamp does not work as expected

The periodAtTimestamp function is meant to return the period for a given timestamp, but it uses the current time instead of the supplied timestamp, so it always returns the latest period. An attacker or any user could get an incorrect period value when querying historical timestamps.

Firelight

Low
Business logic

Periodattimestamp ignores the supplied timestamp

The periodAtTimestamp function ignores the timestamp argument and always computes the period using the current block time, so historical queries return the wrong period. When a future period configuration exists, querying a timestamp inside that future window causes an underflow and the call reverts.

Firelight

Low
DoS

Timestamp Ignored, Current Block Time Used

The periodAtTimestamp function ignores the caller-supplied timestamp and instead uses the current block time, causing incorrect results for past or future queries and a revert when a future configuration's epoch is ahead of the current time. An attacker could cause a denial of service on this view function or obtain wrong period information, potentially leading to temporary freezing of funds or NFTs.

Firelight

Low
Access control

Avoid leaving a vault contract uninitialized.

The FirelightVault contract lacks a constructor that calls _disableInitializers, leaving the implementation contract uninitialized. An attacker could call initialize directly on the implementation to become admin and grant themselves roles, though the impact on the proxy is not demonstrated.

Firelight

Low
Business logic

Periodattimestamp ignores the input timestamp and returns the wrong period for non current timestamps

The periodAtTimestamp function in the vault contract ignored its timestamp argument and instead derived the period from the current block time, so it returned the wrong period for any past or future timestamp. External callers relying on it could pass incorrect period numbers to other functions, causing reverts and wasted gas, or mis-schedule off-chain accounting.

Firelight

Low
Business logic

PeriodAtTimestamp Function Returns Current Period Instead of Queried Period, Leading to Temporary Freezing of Funds

The periodAtTimestamp view function ignores its timestamp argument and always computes the elapsed time from the current block time, so every query returns the currently active period. Off-chain automation that relies on it to schedule withdrawals can misjudge when a queued withdrawal becomes claimable, leaving mature withdrawals temporarily frozen.

Firelight

Low
Business logic

PeriodAtTimestamp function uses current timestamp instead of input parameter, causing incorrect period calculation for historical or future queries

The periodAtTimestamp function in a smart contract ignores its timestamp argument and instead uses the current block time, so queries for past or future timestamps return the period for the present moment. An attacker or user could get incorrect period numbers for historical or future queries, though no funds are at risk.

Firelight

Low
Access control

Rescuer role not assigned during initialization

The vault's initialisation function grants several roles but never assigns the rescuer role, so no address can perform rescue operations after deployment. This could delay recovery of shares or pending withdrawals from blocklisted accounts until an admin manually grants the role.

Firelight

Informational
Misconfiguration

Implementation contract lacks initializer protection

The upgradeable FirelightVault implementation contract lacks a constructor that disables initializers, so anyone can call initialize() on the implementation address and become its admin. This does not affect the proxy's funds or upgrade mechanism, but leaves the implementation open to phishing or misleading off-chain tooling.

Firelight

Low