NFTfi (Testnet Refi)-logo

NFTfi (Testnet Refi)

NFTfi is the leading liquidity protocol for NFTs. NFTfi allows NFT owners to use the assets (NFTs) they own to access the liquidity they need by receiving secured loans from liquidity providers, peer-to-peer, in a completely trustless manner.

NFT
Lending
Solidity
Maximum Bounty
$20,000
Live Since
17 January 2024
Last Updated
09 November 2024
  • PoC required

Rewards

NFTfi (Testnet Refi) provides rewards in USDC on Solana, denominated in USD.

Rewards by Threat Level

Smart Contract
Critical
Flat: $20,000
Primacy of Rules
Critical Reward Calculation

Mainnet assets:

Reward amount is 10% of the funds directly affected up to a maximum of:

$20,000

Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System V2.3.

Reward Calculation for Critical Level Reports

For critical smart contract bugs on testnet assets, the reward is paid as a flat amount of USD 20 000. This is because there are no actual funds at risk on the testnet, hence limits objective calculation.

Repeatable Attack Limitations

If the smart contract where the vulnerability exists can be upgraded or paused, only the initial attack will be considered for a reward. This is because the project can mitigate the risk of further exploitation by upgrading or pausing the component where the vulnerability exists. The reward amount will depend on the severity of the impact.

Reward Payment Terms

Payouts are handled by the NFTfi team directly and are denominated in USD. However, payments are done in USDC.

The calculation of the net amount rewarded is based on the average price between CoinMarketCap.com and CoinGecko.com at the time the bug report was submitted. No adjustments are made based on liquidity availability.

Program Overview

NFTfi is the leading liquidity protocol for NFTs. NFTfi allows NFT owners to use the assets (NFTs) they own to access the liquidity they need by receiving secured loans from liquidity providers, peer-to-peer, in a completely trustless manner.

For more information about NFTfi, please visit https://www.nftfi.com/

NFTfi provides rewards in USDC, denominated in USD. For more details about the payment process, please view the Rewards by Threat Level section further below.

Refinancing Feature Description

Refinancing is a feature that allows the borrower with an existing loan to refinance to a loan with better terms, using the same collateral.

It works by allowing the borrower with an existing loan to accept any other valid offer on the same collateral. The new offer is typically with a new lender, but could also be with the original lender. Refinancing between different types of loans

The contracts implementing the feature are one layer above the loan contracts and facillitates refinancing of loans between any of the loan contracts. You can refinance

  • a "Direct loan" to another "Direct loan"
  • a "collection offer loan" to another "collection offer loan"
  • a "Direct loan" to a "collection offer loan"
  • a "collection offer loan" to another "Direct loan"

Refinancing mechanism

  • The refinancing contract takes over the borrowers loan position by taking ownership of the the Obligation Receipt (this requires the borrower to mint the O.R. and approve the Refinancing contract to transfer it)
  • The refinancing contract takes out a flashloan from DyDx and pays off the old loan
  • The refinancing contract initiates the new loan using the collateral NFT released from the old loan
  • Based on the relation of the old loan's principal and the new one's, the Refinancing contract either takes the deficit from the borrower or pays out a surplus (in the deficit-case, the borrower must approve the transfer of the erc20)
  • The refinancing contract pays off the flashloan
  • The refinancing contract transfers the borrower rights of the new loan by transferring the O.R to the borrower of the original loan

Limitations

Refinancing is only possible if the original and new loan have the same loan denomination.

If the currency of the source loan is not supported by DyDx (e.g. wstETH), we do a 2-way swap on uniswap at the beginning and the end of the process by swapping to WETH.

Primacy of Impact vs Primacy of Rules

NFTfi adheres to the Primacy of Rules, which means that the whole bug bounty program is run strictly under the terms and conditions stated within this page.

Proof of Concept (PoC) Requirements

A PoC, demonstrating the bug's impact, is required for this program and has to comply with the Immunefi PoC Guidelines and Rules.

Previous Audits

NFTfi’s completed audit reports can be found at

Any unfixed vulnerabilities mentioned in these reports are not eligible for a reward.

Immunefi Standard Badge

By adhering to Immunefi’s best practice recommendations, NFTfi has satisfied the requirements for the Immunefi Standard Badge.

KYC not required

No KYC information is required for payout processing.

Proof of Concept

Proof of concept is always required for all severities.

Responsible Publication

Category 3: Approval Required

Prohibited Activities

Default prohibited activities
  • Any testing on mainnet or public testnet deployed code; all testing should be done on local-forks of either public testnet or mainnet
  • Any testing with pricing oracles or third-party smart contracts
  • Attempting phishing or other social engineering attacks against our employees and/or customers
  • Any testing with third-party systems and applications (e.g. browser extensions) as well as websites (e.g. SSO providers, advertising networks)
  • Any denial of service attacks that are executed against project assets
  • Automated testing of services that generates significant amounts of traffic
  • Public disclosure of an unpatched vulnerability in an embargoed bounty
  • Any other actions prohibited by the Immunefi Rules

Feasibility Limitations

The project may be receiving reports that are valid (the bug and attack vector are real) and cite assets and impacts that are in scope, but there may be obstacles or barriers to executing the attack in the real world. In other words, there is a question about how feasible the attack really is. Conversely, there may also be mitigation measures that projects can take to prevent the impact of the bug, which are not feasible or would require unconventional action and hence, should not be used as reasons for downgrading a bug's severity.

Therefore, Immunefi has developed a set of feasibility limitation standards which by default states what security researchers, as well as projects, can or cannot cite when reviewing a bug report.