The RSR token contract facilitates a migration from an old RSR token, incorporating pausing, ownership, and a unique 'Enchantable' spell-casting mechanism. The audit identified critical and high-severity issues related to administrative control post-migration and potential denial-of-service vectors, alongside medium and low-severity concerns. The contract exhibits a strong move towards decentralization by renouncing ownership, but this introduces significant operational risks if not managed carefully.

On-chain security analysis — is it a scam or legit?
Is Reserve Rights Safe?
Not verified
This record has not gone through deep verification and is not being monitored. The score is a dated snapshot — the token’s risk can change at any time.Own this token? Put it under verification →The RSR token contract facilitates a migration from an old RSR token, incorporating pausing, ownership, and a unique 'Enchantable' spell-casting mechanism.
Read the full analysis- Mintable supply — no cap found, dilution unbounded
- Top-10 concentration > 20%
- LP top1 unlocked holder = 100.0%
- LP top3 unlocked holders = 100.0%
- LP claimed locked but only 0.0% actually locked
Exact factors
- Mintable supply — no cap found, dilution unbounded
- Top-10 concentration > 20% (53.1% total → 27.5% effective; 10.4% in EOAs, 42.7% in contracts — mild)
- LP top1 unlocked holder = 100.0% (independent LP — depth risk, pool = 46% of DEX liquidity)
- LP top3 unlocked holders = 100.0% (independent LP — depth risk, pool = 46% of DEX liquidity)
- LP claimed locked but only 0.0% actually locked
Security Checklist
as of audit · Sep 20Holders
as of audit · Sep 20, 2026- Contractstreasury, vesting, bridge, staking42.7%
- Walletsanonymous holders, free to sell10.4%
- Everyone elsethe rest of the supply46.9%
How holder types affect the score
Share held by contracts — treasury, vesting, bridge or staking — is discounted against share held by wallets when the score is computed: a contract cannot decide to sell the way an anonymous holder can, though it can still be drained or voted to sell. Effective concentration is the figure the risk score is actually calculated from.
Holder balances as recorded by the audit of Sep 20, 2026
Liquidity
as of audit · Sep 20The LP tokens of the analysed pool are locked or burned.
0x56e0…3697No privileged address appears among these holders: the unlocked liquidity sits with independent providers, not with the deployer.
Security Findings
MediumPotential uint64 Overflow in _siphon
Not confirmed by static analysis (the model's own reading of the source).M-01
uint64 Overflow in _siphonIssue
Not confirmed by static analysis (the model's own reading of the source). The _siphon function contains the operation weights[from][newTo] += weight;. Both weights and weight are uint64. While Solidity 0.8.4 automatically checks for overflows, if weights[from][newTo] is already close to type(uint64).max (approximately 1.8e19) and a non-zero weight is added, the transaction will revert. This could lead to a denial of service for specific siphon operations, preventing the intended reallocation of weights.
Fix
Add an explicit require check before the addition to ensure weights[from][newTo] + weight does not exceed type(uint64).max. For example: `require(weights[from][newTo] <= type(uint64).max - weight, 'RSR: weight addition overflow');`.
Status
Unresolved
MediumPermanent Loss of Pausing Mechanism Control Post-Ownership Renouncement
Not confirmed by static analysis (the model's own reading of the source).M-02
Issue
Not confirmed by static analysis (the model's own reading of the source). The moveToWorking function calls _transferOwnership(address(0)), permanently renouncing the owner role. After this, the castSpell function (which sets the _mage role) becomes unusable. The onlyAdminOrPauser modifier then relies solely on the pauser address. If the pauser subsequently calls renouncePauser(), the pauser address becomes address(0). At this point, no address can satisfy the onlyAdminOrPauser modifier, making pause(), unpause(), changePauser(), and renouncePauser() permanently inoperable. This results in a complete and irreversible loss of control over the token's pausing fun
Fix
Consider a mechanism to allow the pauser role to be transferred or recovered even after ownership is renounced. For example, implement a multi-signature wallet as the pauser or introduce a time-locked recovery mechanism. Alternatively, if the intention is to fully decentralize, explicitly state the implications of pauser renouncement and ensure the community understands the irreversible nature of this action.
Status
Unresolved
MediumDenial of Service in _oldBal due to Unbounded Loop
Not confirmed by static analysis (the model's own reading of the source).M-03
_oldBal due to Unbounded LoopIssue
Not confirmed by static analysis (the model's own reading of the source). The _oldBal internal view function iterates through origins[account].length() to calculate an account's balance. The origins set can grow indefinitely via the _siphon function, which is callable by onlyAdmin during the SETUP phase. If a large number of from addresses siphon to a single newTo address, origins[newTo] could become very large. When balanceOf(newTo) is called, the _oldBal loop could exceed the block gas limit, causing the transaction to revert. This would effectively make the balanceOf function (and any other function relying on it, like transfer) unusable for that account, leading
Fix
Implement a pagination mechanism or a maximum limit for the origins set size to prevent unbounded growth. Alternatively, refactor the _oldBal calculation to avoid iterating over a potentially large, unbounded collection within a single transaction. Consider a 'claim' pattern where users explicitly claim their weighted balances, rather than calculating it on-the-fly for every balanceOf call.
Status
Unresolved
LowAllowance Migration Bypass by approve and permit
Not confirmed by static analysis (the model's own reading of the source).L-01
approve and permitIssue
Not confirmed by static analysis (the model's own reading of the source). The approve and permit functions directly set allowanceCrossed[_msgSender()][spender] = true;. This flag is intended to ensure that the oldRSR.allowance is migrated only once via the ensureAllowanceCrossed modifier. However, by setting allowanceCrossed to true directly, approve and permit bypass the initial migration of the old allowance for that specific (owner, spender) pair. If a user calls approve or permit before their oldRSR.allowance has been migrated, their old allowance will never be considered for the new RSR token, potentially leading to a lower effective allowance than expected.
Fix
Consider modifying approve and permit to first call ensureAllowanceCrossed(_msgSender(), spender) before performing the new approval. This would ensure that any existing oldRSR allowance is migrated before being potentially overwritten by the new approval.
Status
Unresolved
InfoConvoluted _oldBal Calculation Logic
Not confirmed by static analysis (the model's own reading of the source).I-01
_oldBal Calculation LogicIssue
Not confirmed by static analysis (the model's own reading of the source). The _oldBal function's logic for determining an account's old balance is somewhat convoluted. It checks if (!hasWeights[account]) to assign oldRSR.balanceOf(account) directly, otherwise it sums weighted balances. An account gains hasWeights[account] = true if it acts as a from address in _siphon. If an account has a direct oldRSR balance but also participates in _siphon as a from address, its direct oldRSR balance is only included if it siphons its own balance to itself (_siphon(from, from, from, WEIGHT_ONE)). While this logic appears to be functionally correct given the _siphon implementation,
Fix
Add detailed NatSpec comments to the _oldBal and _siphon functions explaining the exact conditions under which an account's direct oldRSR balance is included versus its weighted balances, and how hasWeights affects this calculation. This will improve code clarity and maintainability.
Status
Unresolved
InfoUnused Enchantable Features Post-Migration
Not confirmed by static analysis (the model's own reading of the source).I-02
Enchantable Features Post-MigrationIssue
Not confirmed by static analysis (the model's own reading of the source). The Enchantable contract introduces a _mage role and a castSpell function, which allows the owner to temporarily grant _mage privileges to a Spell contract. However, the castSpell function is onlyOwner. After moveToWorking is called, the owner role is renounced (_transferOwnership(address(0))). This means castSpell can never be called again, rendering the entire Enchantable mechanism (including the ability to set a _mage or cast any Spell) permanently unusable after the token transitions to the WORKING phase.
Fix
If the Enchantable features are intended for use only during the SETUP phase, document this clearly. If they were intended for post-migration use, the access control for castSpell would need to be re-evaluated to allow a non-renounced role (e.g., pauser or a new dedicated role) to invoke it.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 20The RSR token contract (7.1 Architecture) implements a complex migration mechanism from an old token, including custom balance and allowance crossing logic. It leverages OpenZeppelin's ERC20, Pausable, Ownable, and ERC20Permit for robust foundational security (7.2 Code Security). However, the _oldBal function, which is part of the core balance calculation, contains an unbounded loop that could lead to denial of service for users (H-01). Additionally, the _siphon function's uint64 addition lacks overflow checks, potentially causing reverts (M-01). The approve and permit functions can also bypass the intended allowance migration logic (L-01).
The contract's economic model centers on a fixed supply and a migration process from an old RSR token. A significant design choice is the renouncement of the owner role after the moveToWorking phase, intended to decentralize control (7.5 Governance). However, this leads to a critical operational risk where the pausing mechanism can become permanently inoperable if the pauser role is subsequently renounced (C-01). The Enchantable spell-casting feature also becomes unusable after ownership renouncement, limiting future administrative flexibility (7.3 Access Control). The _siphon mechanism, controlled by onlyAdmin in the SETUP phase, allows for reallocating 'weights' which are crucial for the migration, but this power is lost after moveToWorking (7.8 Operations).
The RSR contract is not designed as an upgradeable proxy (7.7 Upgrades). Its logic is immutable once deployed, which eliminates upgrade-related risks such as proxy misconfigurations or logic contract vulnerabilities introduced during upgrades. However, this also means that any identified vulnerabilities or desired feature changes cannot be addressed without a new deployment and migration.
Prioritize addressing the critical and high-severity issues before deployment or immediately post-deployment if already live.
Specifically, review the administrative control flow after ownership renouncement to ensure the pausing mechanism remains functional and recoverable. Implement safeguards for the _oldBal loop to prevent denial of service for users. Additionally, ensure all arithmetic operations on uint64 variables are protected against overflow. Conduct thorough testing of the migration process and administrative role transitions.
Contract & Record
Free for any token on the record. It links to this page and always shows the current score and the date it was checked.
- Sep 20, 202629Low
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Would You Like a More Detailed Audit of Reserve Rights?
Our AI-powered scanner gives you a deeper, real-time smart contract analysis — free, with every scoring factor shown.
Get Detailed Audit Is this your token? Add your links and get it Verified