Money on Chain / RIF on Chain-logo

Money on Chain / RIF on Chain

|

The Money on Chain - RIF on Chain bounty program covers two dual-token stablecoin protocols within one shared smart-contract ecosystem in the Rootstock blockchain.

Money on Chain uses RBTC collateral, while RIF on Chain uses RIF collateral. Each aims to provide a fully on-chain, censorship-resistant, USD-pegged and overcollateralized stablecoin, alongside low-maintenance, cost-efficient leveraged exposure for long-term holders of its respective collateral asset.

Both protocols are governed through the MOC token and share core governance, oracle, fee-flow, and supporting contracts.

RSK
Defi
Stablecoin
Staking
Solidity
Python
Typescript
Maximum Bounty
$10,000
Live Since
14 January 2021
Last Updated
20 August 2026
  • Step-by-step PoC Required

  • KYC required

Select the category you'd like to explore

Assets in Scope

Target
Primacy Of Impact
Name
Added on
4 May 2026
Target
Primacy Of Impact
Name
Added on
4 May 2026
Target
Name
Added on
8 July 2026
Target
Name
This is MoC proxy contract, it's a contract in the MoC v1 core area, the main entry point for minting, redeeming, and protocol operations in the legacy MoneyOnChain RBTC system.
Added on
20 August 2026
Target
Name
This is MoCConnector contract, it's a contract in the MoC v1 core area, it wires the legacy protocol modules together and stores shared contract references.
Added on
20 August 2026
Target
Name
This is MoCState contract, it's a contract in the MoC v1 core area, it maintains protocol accounting state, coverage, prices, and risk parameters.
Added on
20 August 2026
Target
Name
This is MoCExchange contract, it's a contract in the MoC v1 core area, it handles token exchange, mint, and redeem execution paths.
Added on
20 August 2026
Target
Name
This is MoCInrate contract, it's a contract in the MoC v1 core area, it calculates interest, commissions, and related protocol rates.
Added on
20 August 2026
Target
Name
This is DoCToken contract, it's a contract in the MoC v1 token area, it represents the Dollar on Chain stable token used by the protocol.
Added on
20 August 2026
Target
Name
This is BProToken contract, it's a contract in the MoC v1 token area, it represents the BitPro token used for leveraged exposure in the legacy protocol.
Added on
20 August 2026
Target
Name
This is MoCToken contract, it's a contract in the MoC governance token area, it represents the MOC token used across governance, incentives, and protocol fee flows.
Added on
20 August 2026
Target
Name
This is CoinPairPrice BTCUSD contract, it's a contract in the legacy oracle area, it provides BTCUSD price pair data used by protocol calculations.
Added on
20 August 2026

Impacts in Scope

Impacts Body

We tailored the program’s impacts to the protocol guarantees: maintaining solvency and adequate collateralization except where affected by genuine market-price movements; preserving stablecoin holders’ ability to redeem; preventing unauthorized arbitrage; and protecting collateral from adversarial extraction that could make the protocol unprofitable for residual-token holders, including RIFPRO and BPRO holders.

Severity
Critical
Title

Manipulation of governance results, bypassing the minimum vote threshold, quorum requirement, or minimum voting period.

Severity
Critical
Title

A loss of funds involving an attack that does not require any user action

Severity
Critical
Title

Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield

Severity
Critical
Title

Permanent freezing of funds

Severity
Critical
Title

Protocol insolvency

Severity
Critical
Title

Execute arbitrary system commands

Severity
Critical
Title

Retrieve sensitive data/files from a running server, such as:

  • /etc/shadow
  • database passwords
  • blockchain keys (this does not include non-sensitive environment variables, open source code, or usernames)
Severity
Critical
Title

Subdomain takeover with already-connected wallet interaction

Severity
Critical
Title

Direct theft of user funds

Severity
Critical
Title

Malicious interactions with an already-connected wallet, such as:

  • Modifying transaction arguments or parameters
  • Substituting contract addresses
  • Submitting malicious transactions
Severity
Critical
Title

Injection of malicious HTML or XSS through metadata

Severity
High
Title

An oracle can provide an arbitrary price not calculated from the market observations; or out of consensus; or a price that was valid but more than 20 blocks ago.

Out of scope

Program's Out of Scope information

Best-practice critiques Reports that identify deviations from best practices, style preferences, gas optimizations, code-quality concerns, or theoretical hardening opportunities without a demonstrable security impact on an in-scope mainnet deployment.

Hypothetical misconfiguration Issues that require a configuration error in a contract, oracle node, service, deployment parameter, access-control role, or operational process, where that misconfiguration is not present in the current mainnet deployment. A report must demonstrate the issue against the actual live configuration.

Unlikely or unreasonable user actions Attacks that require a victim to take implausible, non-standard, or clearly unsafe actions without deception or a protocol-level vulnerability. Examples include voluntarily approving arbitrary token allowances, signing clearly unrelated transactions, or knowingly interacting with an attacker-controlled interface.

URL redirects Open redirects, URL manipulation, or redirect behavior that does not directly enable another valid in-scope vulnerability. Redirects may be considered only when combined with a separate vulnerability that produces a concrete security impact.

Insider or pre-existing privileged access Attacks that require the attacker to already possess privileged access within Money on Chain, RIF on Chain, an oracle operator, a governance administrator, or another trusted organization. This exclusion does not cover vulnerabilities that allow an unprivileged attacker to obtain or bypass such access.

Non-current deployments or code, and disabled functionality Older contract versions may remain on-chain indefinitely, and historical versions of the codebase may remain available in GitHub repositories. Such versions are out of scope unless they are referenced by, reachable from, and actively used by the current mainnet protocol. A proof of concept must demonstrate that the affected code is deployed, reachable, and was executed by the protocol through an external or internal mainnet transaction within the preceding ten days.

Disabled or centrally managed functionalities The BTCX and Settlement functionalities were a bit problematic, and are not used anymore, but we are not ready to re-deploy the contract that has them, so they were disabled with configuration changes, applied via gobernance proposals. The Vendors functionality is centrally managed, while some on-chain registrations occur, it's permissioned and it has some corner cases affecting the vendor payouts when they have not met the MOC token staking requirements, but these are managed off-chain with the very few vendors registered in the program.

Default Out of Scope and rules

Web & App specific

  • Theoretical impacts without any proof or demonstration
  • Impacts involving attacks requiring physical access to the victim device
  • Impacts involving attacks requiring access to the local network of the victim
  • Reflected plain text injection (e.g. url parameters, path, etc.)
    • This does not exclude reflected HTML injection with or without JavaScript
    • This does not exclude persistent plain text injection
  • Any impacts involving self-XSS
  • Captcha bypass using OCR without impact demonstration
  • CSRF with no state modifying security impact (e.g. logout CSRF)
  • Impacts related to missing HTTP Security Headers (such as X-FRAME-OPTIONS) or cookie security flags (such as “httponly”) without demonstration of impact
  • Server-side non-confidential information disclosure, such as IPs, server names, and most stack traces
  • Impacts causing only the enumeration or confirmation of the existence of users or tenants
  • Impacts caused by vulnerabilities requiring un-prompted, in-app user actions that are not part of the normal app workflows
  • Lack of SSL/TLS best practices
  • Impacts that only require DDoS
  • UX and UI impacts that do not materially disrupt use of the platform
  • Impacts primarily caused by browser/plugin defects
  • Leakage of non sensitive API keys (e.g. Etherscan, Infura, Alchemy, etc.)
  • Any vulnerability exploit requiring browser bugs for exploitation (e.g. CSP bypass)
  • SPF/DMARC misconfigured records)
  • Missing HTTP Headers without demonstrated impact
  • Automated scanner reports without demonstrated impact
  • UI/UX best practice recommendations
  • Non-future-proof NFT rendering

All categories

  • Impacts requiring attacks that the reporter has already exploited themselves, leading to damage
  • Impacts caused by attacks requiring access to leaked keys/credentials
  • Impacts caused by attacks requiring access to privileged addresses (including, but not limited to: governance and strategist contracts) without additional modifications to the privileges attributed
  • Impacts relying on attacks involving the depegging of an external stablecoin where the attacker does not directly cause the depegging due to a bug in code
  • Mentions of secrets, access tokens, API keys, private keys, etc. in Github will be considered out of scope without proof that they are in-use in production
  • Best practice recommendations
  • Feature requests
  • Impacts on test files and configuration files unless stated otherwise in the bug bounty program
  • Impacts requiring phishing or other social engineering attacks against project's employees and/or customers