Reflexer audit reports

Ethereum, Avalanche, Optimism, Polygon (POS)reflexer.financeXGitHub

Reflexer has 2 public audit reports from Quantstamp; the latest is Quantstamp, 15 Oct 2021; no critical findings reported. It also holds 5 deployed contracts on 4 chains.

Critical and high findings
No open critical findings; 1 high acknowledged in the firms’ reports
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits2

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
Reflexer RAI Curve PoolSecurity firm: QuantstampDate: Scope: Files listedNone openFindings: 1 high · 1 medium · 2 low
4 acknowledged
certificate.quantstamp.com ↗
Reflexer Staking and Auction HouseSecurity firm: QuantstampDate: Scope: Files listedNone openFindings: 1 high · 3 low
2 fixed · 2 acknowledged
certificate.quantstamp.com ↗

Findings18

18 findings in 2 reports: 2 fixed, 6 acknowledged (the team chose not to change the code), none open, 10 informational.

SeverityAcknowledgedFixed
Critical00
High11
Medium10
Low41

Not fixed (6)

HighAcknowledgedMemory Corruption Due To Old Compiler VersionReflexer RAI Curve Pool · Quantstamp · 15 Oct 2021

The `DepositRAI.vy` and `StableSwapRAI.vy` files use an old version of the Vyper compiler which is known to contain high severity vulnerabilities such as: 1. Memory corruption when returning a literal struct with a private call inside of it [GHSA-xv8x-pr4h-73jv](https://github.com/vyperlang/vyper/security/advisories/GHSA-xv8x-pr4h-73jv). 2. Storage variables overwritten by re-entrancy locks [GHSA-7f92-rr6w-cq64](https://github.com/vyperlang/vyper/security/advisories/GHSA-7f92-rr6w-cq64).

Report ↗
MediumAcknowledgedOutdated Redemption PriceReflexer RAI Curve Pool · Quantstamp · 15 Oct 2021

The [requirements](https://gitcoin.co/issue/reflexer-labs/curve-contract/1/100026434) state that: > In order to fetch RAI's redemption price, one has to first update it and then retrieve it. This is why the [redemption price getter](https://github.com/reflexer-labs/geb/blob/ef7c7f20d047dd0fe8b7dc4cb24f4d5f1c7a04dd/src/single/OracleRelayer.sol#L265) is not a view function. To make it easier to fetch the redemption price, you can use [this contract](https://github.com/reflexer-labs/geb-redemption-price-snap/blob/master/src/RedemptionPriceSnap.sol) that stores a slightly older version of the price or you can update and fetch the latest price from [here](https://github.com/reflexer-labs/geb/blob/ef7c7f20d047dd0fe8b7dc4cb24f4d5f1c7a04dd/src/single/OracleRelayer.sol#L265). However, using a slightly older version is a sub-optimal solution that might enable arbitrage opportunities depending on how outdated the prices is.

Report ↗
LowAcknowledgedMissing Input ValidationReflexer RAI Curve Pool · Quantstamp · 15 Oct 2021

User inputs should always be checked to be in the expected bounds, especially if the inputs come from untrusted users. However, trusted user inputs should also be checked to avoid incidents caused by human error. The following functions do not have proper input validation in place: 1. `_A` , `_fee` and `_admin_fee` in __init__() of `StableSwapRAI.vy` are not validated. Values bigger than `MAX_A `, `MAX_ADMIN_FEE` or `MAX_FEE` can be set here. 2. `_owner`, ` _pool_token`, `_base_pool` in `__init__()` of `StableSwapRAI.vy` are not validated. Providing incorrect values may result in a later discovery that the smart contract is not working as intended. 3. `_token` in `__init__()` of `DepositRAI.vy` is not validated. Providing incorrect values may result in a later discovery that the smart contract is not working as intended. 4. On L430, L644, L716, L844, L1051 in `MetaRAI.vy` there is no check that `_receiver` is different from the zero address.

Report ↗
LowAcknowledgedUnlimited AllowanceReflexer RAI Curve Pool · Quantstamp · 15 Oct 2021

In L178 (MetaRAI) and L88 (DepositRAI), the function `ERC20(coin).approve` is called with the maximum value, which is considered security anti-pattern and could lead to end-user wallet funds being drained if the contract is exploited.

Report ↗
LowAcknowledgedCan Lock Into Zero Authorized AdressesReflexer Staking and Auction House · Quantstamp · 9 Jul 2021

In both contracts, as an authorized address can remove its own address from the `authorizedAccounts` mapping, you can get locked by mistake or malicious intention into a state with zero authorized accounts.

Report ↗
LowAcknowledgedPrivileged Roles and OwnershipReflexer Staking and Auction House · Quantstamp · 9 Jul 2021

Smart contracts will often have `owner` variables or authorized accounts to designate persons with special privileges to make modifications to the smart contract.

Report ↗

Contracts5

AddressChainSource code
0x00e5646f60ac6fb446f621d146b6e1886f002905Chain: Polygon (POS)Source code: Verified source
0x7fb688ccf682d58f86d7e38e03f9d22e7705448bChain: OptimismSource code: Verified source
0x6243d8cea23066d098a15582d81a598b4e8391f4Chain: EthereumSource code: Verified source
0x03ab458634910aad20ef5f1c8ee96f1d6ac54919Chain: EthereumSource code: Verified source
0x97cd1cfe2ed5712660bb6c14053c0ecb031bff7dChain: Avalanche

All 5 addresses and the files the reports name

Reflexer: questions

Is Reflexer audited?

Trustblock holds 2 public audit reports for Reflexer, dated 9 Jul 2021 to 15 Oct 2021. The latest is by Quantstamp (“Reflexer RAI Curve Pool”).

Who audited Reflexer?

Quantstamp wrote the 2 reports Trustblock holds for Reflexer.

Are there open findings in Reflexer’s audits?

6 findings are still open or acknowledged in the firms’ reports: 1 high, 1 medium, 4 low (all acknowledged). No critical finding is reported. Statuses are the security firms’ own.

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us