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.
The periodAtTimestamp function ignores its timestamp argument and uses the current block time to compute the period number. This returns incorrect period numbers for historical queries, potentially mis-scheduling accounting and causing unfairness between users.
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.
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.
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.
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.
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.
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.
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.
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.
The FirelightVault implementation contract lacks a constructor that calls _disableInitializers(), so anyone can call initialize() directly on the implementation. An attacker could gain the default admin role on that contract and manipulate vault logic, though the report only claims potential state corruption and fund loss.
The periodAtTimestamp function ignores its timestamp argument and always returns the current period, so any historical or future lookup gives wrong data. Off-chain systems relying on it for withdrawal scheduling or upgrade planning could compute incorrect unlock times.
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.
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.
The periodAtTimestamp function in FirelightVault.sol calculates the period number using the current block timestamp instead of the provided timestamp, so querying a past or future timestamp returns an incorrect period number. An attacker could rely on this wrong value, affecting operations that depend on it.
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.
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.
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.
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.
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.
The function periodAtTimestamp is supposed to return the period number for a given timestamp, but it uses the current block timestamp instead of the provided timestamp when calculating elapsed periods. As a result, querying the same future timestamp at different times returns different, incorrect period numbers.
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.
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.
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.
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.
The function periodAtTimestamp is meant to return the period index for a given timestamp, but it uses the current block time instead of the argument. This causes incorrect results for past and future timestamps and can revert for future timestamps when a future period configuration is selected.
The read-only helper periodAtTimestamp ignores its timestamp argument and always computes the period for the current time. Integrators using it to map historical or future timestamps to period numbers get the wrong period, which can cause failed claim transactions and wasted gas.
The rescueWithdrawFromBlocklisted function repeatedly reads the same array element from calldata inside a loop instead of caching it in a local variable, which wastes gas. An attacker cannot exploit this; it is a minor efficiency issue that only increases transaction costs for legitimate callers.
The periodAtTimestamp function uses the current block timestamp instead of the provided timestamp argument, so it always returns the current period rather than the period for the given time. External callers querying historical or future periods receive incorrect indices, though internal deposit and withdrawal logic is unaffected.
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.
FI
Firelight
Low
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.