Nayms - OnRe Offer/Redemption Program Spec

QuantstampFiles named in the report

Quantstamp reviewed OnRe (Nayms - OnRe Offer/Redemption Program Spec) on 3 Apr 2025: 6 findings, 0 critical; 3 marked fixed, 2 acknowledged, 1 open.

No open critical findings
Open the reportOpen OnRe’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings6

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low123
LowLack of Error Reporting During Program InitializationFixed

The `instructions::initialize::initialize()` function does not display an error if `state.boss` is already set. Not returning an error makes it harder to detect if the state was already initialized.

LowLack of Public Key ValidationFixed

The `instructions::set_boss::set_boss()` function does not validate the `new_boss` public key value before setting it, resulting in resetting the boss account identifier to the default public key if it is sent in the transaction. Setting the default value allows another user to reinitialize the program and gain admin-level permission. Note that this is similar to the lack of zero address checks in Solidity code bases.

LowMissing Buy Token Amount ValidationFixed

The `instructions::take_offer::calculate_buy_amount()` function does not return an error if the calculated buy token amount is zero because of integer truncation (rounding). Not checking the return value may lead to unexpected behavior.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (1)

  • anchor/programs/onreapp/src/*

Part of OnRe’s security record

OnRe
Audits6 audits by 1 firmLast audit Sep 2026, by Quantstamp.
Critical findingsNo open critical findingsAcross 6 reports.
Open OnRe’s security record

Security firm

Quantstamp

236 projects reviewed · 332 reports · latest Oct 2026

See Quantstamp’s audits

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