Ref Finance-logo

Ref Finance

Ref Finance is a community-led, multi-purpose DeFi platform built on NEAR Protocol. Ref takes full advantage of NEAR’s low fees, one-to-two second finality, and WebAssembly-based runtime (hello, Rust smart contracts!).

Near
Defi
AMM
DEX
Rust
Maximum Bounty
$250,000
Live Since
17 May 2022
Last Updated
30 October 2024
  • PoC required

  • Vault program

Select the category you'd like to explore

Assets in Scope

Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022
Target
Type
Smart Contract - Boosted Farming (Github)
Added on
5 September 2022

Impacts in Scope

Severity
Critical
Title

Manipulation of governance voting result deviating from voted outcome and resulting in a direct change from intended effect of original results

Severity
Critical
Title

Direct theft of any user funds (with value > $250,000), whether at-rest or in-motion, other than unclaimed yield

Severity
Critical
Title

Permanent freezing of user funds (with value > $250,000)

Severity
Critical
Title

Miner-extractable value (MEV)

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, and blockchain keys(this does not include non-sensitive environment variables, open source code, or usernames)

Severity
Critical
Title

Taking down the application/website

Severity
Critical
Title

Taking state-modifying authenticated actions (with or without blockchain state interaction) on behalf of other users without any interaction by that user, such as, changing registration information, commenting, voting, making trades, withdrawals, etc.

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

Out of scope

Program's Out of Scope information
  • Best practice critiques
  • Issues related to the frontend without concrete impact and PoC
  • Best practices issues without concrete impact and PoC
Default Out of Scope and rules

Smart Contract specific

  • Incorrect data supplied by third party oracles
    • Not to exclude oracle manipulation/flash loan attacks
  • Impacts requiring basic economic and governance attacks (e.g. 51% attack)
  • Lack of liquidity impacts
  • Impacts from Sybil attacks
  • Impacts involving centralization risks

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
Severity
Min. - Max.
Critical
$5k -$250k
High
$2k -$30k
Medium
$5k
Low
$1k
Total Assets in Scope
65
Total Impacts in Scope
25
Total paid

41.9k