BarnBridge Smart Yield Bonds Audit

OpenZeppelinFiles named in the report

Audit · firm’s term: audit

OpenZeppelin reviewed BarnBridge (BarnBridge Smart Yield Bonds Audit) on 26 Feb 2021: 21 findings, 1 critical; 10 marked fixed, 11 open.

1 critical finding, fixed
Open the reportOpen BarnBridge’s security record

Report hosted on blog.openzeppelin.com.

Trustblock does not review code.

Findings21

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical001
High003
Medium402
Low704
Critical[C01] Protocol allows non-existent loanable value as Senior Bond gainFixed

The report gives no description here.

High[H01] Inconsistent and erroneous handling of ERC20 tokensFixed

The report gives no description here.

High[H02] Liquidation of a Junior Bond maturity at the time of purchase always revertsFixed

The report gives no description here.

High[H03] Unchecked complex calculations throughout protocolFixed

The report gives no description here.

Medium[M01] _beforeProviderOp susceptible to running out of gasFixed

The report gives no description here.

Medium[M06] Using stale cToken exchange rateFixed

The report gives no description here.

Low[L01] BOND_MAX_RATE_PER_DAY doesn’t cap bond rates at 30% as intendedFixed

The report gives no description here.

Low[L02] Constants not explicitly declaredFixed

The report gives no description here.

Low[L04] Inconsistent deletion of redeemed bondsFixed

The report gives no description here.

Low[L05] Inconsistent maturity checkFixed

The report gives no description here.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (7)

  • contracts/IController.sol
  • contracts/Governed.sol
  • contracts/SmartYield.sol
  • contracts/oracle/IYieldOraclelizable.sol
  • contracts/oracle/YieldOracle.sol
  • contracts/model/BondModelV1.sol
  • contracts/providers/CompoundProvider.sol

Part of BarnBridge’s security record

BarnBridge
Audits1 audit by 1 firmLast audit Feb 2021, by OpenZeppelin.
Critical findingsNo open critical findingsIn that report, 1 critical finding was reported. It is marked fixed by the firm that reported it.
Open BarnBridge’s security record

Security firm

OpenZeppelin

67 projects reviewed · 184 reports · latest Aug 2026

See OpenZeppelin’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us