Submit a Bug
05 August 2021
Live since
KYC required
Maximum bounty

Program Overview

BarnBridge is a risk tokenization protocol. It aims to reduce the risks associated with DeFi, such as interest rate fluctuations and asset price volatility. By letting users select a risk profile, BarnBridge can redistribute risk via tokenized, liquid tranches. BarnBridge does this with its SMART Yield, SMART Exposure, and upcoming SMART Alpha products, all of which address a specific DeFi risk category.

The continued development of the dApps is governed by the community through the BarnBridge DAO.

For more information about BarnBridge, please visit

The bug bounty program covers its smart contracts and is focused on preventing the following impacts:

  • Thefts and freezing of SMART Yield capital
  • Thefts and freezing of SMART Exposure capital
  • Thefts and freezing of SMART Alpha (to be launched in September 2021) capital
  • Thefts and freezing of future applications’ capital
  • Theft and freezing of DAO treasury funds
  • Theft and freezing of Governance Staking vault (e.g. “Barn” smart contract)

Rewards by Threat Level

Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System. This is a simplified 5-level scale, with separate scales for websites/apps and smart contracts/blockchains, encompassing everything from consequence of exploitation to privilege required to likelihood of a successful exploit.

All smart contract vulnerabilities are required to have a PoC for the consideration of a reward.

Critical smart contract vulnerabilities are capped at 10% of economic damage, primarily taking into account the funds at risk. Other considerations such as PR and branding concerns may also be considered by the team at its discretion.

Payouts up to USD 250 000 are handled by the BarnBridge team directly and are denominated in USD. Payouts under USD 1 000 are paid in a stablecoin at the discretion of the team. For larger payouts up to USD 250 000, the reward is split in a 80:20 BOND:stablecoin mix, where the team also decides on the stablecoin to be used.

Smart Contract

Up to USD $250,000
PoC Required

Assets in scope

For additional reference, the following links have been provided. However, only the smart contracts within the assets in scope table are in-scope of the bug bounty program.

Yield Farming - Staking contract

Yield Farming - Community Vault

Yield Farming - Pool2 (BOND/USDC LP Pool)

DAO & Governance - Barn

DAO Governance & Treasury

DAO & Governance - DAO Rewards


SMART Exposure

Impacts in scope

Only the following impacts are accepted within this bug bounty program. All other impacts are not considered as in-scope, even if they affect something in the assets in scope table.

Smart Contract

  • Loss of user funds staked (principal) by freezing or theft
  • Loss of governance funds

Out of Scope & Rules

The following vulnerabilities are excluded from the rewards for this bug bounty program:

  • Attacks that the reporter has already exploited themselves, leading to damage
  • Attacks requiring access to leaked keys/credentials
  • Attacks requiring access to privileged addresses (governance, strategist)

Smart Contracts and Blockchain

  • Incorrect data supplied by third party oracles
    • Not to exclude oracle manipulation/flash loan attacks
  • Basic economic governance attacks (e.g. 51% attack)
  • Lack of liquidity
  • Best practice critiques
  • Sybil attacks

The following activities are prohibited by this bug bounty program:

  • Any testing with mainnet or public testnet contracts; all testing should be done on private testnets
  • 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
  • Automated testing of services that generates significant amounts of traffic
  • Public disclosure of an unpatched vulnerability in an embargoed bounty