UniFarm audit reports

BNB Chain, Ethereum, Polygon (POS), Avalancheunifarm.coXGitHub

UniFarm has 5 public audit reports from QuillAudits and Zokyo; the latest is QuillAudits, 8 Aug 2022; no critical findings reported. It also holds 7 deployed contracts on 4 chains.

Critical and high findings
No open critical findings; 1 high open in the firms’ reports
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits5

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
unifarm - BridgeSecurity firm: QuillAuditsDate: Scope: Not recorded; see the reportNone openFindings: 1 high · 13 medium · 16 low
21 fixed · 6 acknowledged · 3 open
quillaudits.com ↗
UniFarmSecurity firm: ZokyoDate: Scope: Not recorded; see the reportNone openFindings: None listedIPFS ↗
AMM_unifarmSecurity firm: QuillAuditsDate: Scope: Not recorded; see the reportNone openFindings: 4 low
2 fixed · 2 acknowledged
quillaudits.com ↗
Unifarm - VestingSecurity firm: QuillAuditsDate: Scope: Not recorded; see the reportNone openFindings: 1 high · 7 medium · 12 low
12 fixed · 8 open
quillaudits.com ↗
OpenDefi - Unifarm AuditSecurity firm: QuillAuditsDate: Scope: Files listedNone openFindings: 3 high · 5 medium · 8 low
15 fixed · 1 open
quillaudits.com ↗

Open findings across every firm12

Statuses are the security firms’ own

12 findings are still open or acknowledged in the firms’ reports: 1 high, 3 medium, 8 low (4 open, 8 acknowledged).

High
1
Medium
3
Low
8
  • High Open

    Reetrancy attack in removeLiquidity()

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Medium Open

    Centralization of getBackTokens()

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Medium Acknowledged

    Centralization of update functionality of tokenBridgeRegistryUpgradeable and bridgeUpgradeable address

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Medium Acknowledged

    Insufficient test coverage

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Low Open

    Possibility of Out of Gas errors

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Low Acknowledged

    getUserConfirmedRewards() shows incorrect rewards

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Low Acknowledged

    Inheritance by utils contract not required

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Low Acknowledged

    Possibility of mismatch of contract addresses

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Low Acknowledged

    Possibility of User paying more fees

    unifarm - Bridge · QuillAudits · 8 Aug 2022 · Report ↗

  • Low Acknowledged

    Untitled finding

    AMM_unifarm · QuillAudits · 18 Dec 2021 · Report ↗

All 12 open and acknowledged findings

Findings54

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

SeverityOpenAcknowledgedFixed
Critical000
High103
Medium1215
Low2620
HighReetrancy attack in removeLiquidity()unifarm - Bridge · QuillAudits · 8 Aug 2022Open

There is possibility of a profitable reentrancy attack in removeLiquidity().  This is because a low level call is used in transferLPFee() function which allows the caller to call any malicious code from another contract. Using this multiple rewards for same liquidity position can be harvested.For example, Let’s say the 1st liquidity position by an LP is 1000 USDC. After that a user does cross-chain transfer. Now the LP sees that he has some rewards available to claim.  Then he adds a 2nd position of say 5000 USDC tokens. Now when the user does a reentrant call via low level call in transferLpFee, he will be able to get twice the reward for the same liquidity position. This is possible because although the index of the first liquidity position will be used for the reentrant call, 2000 or more USDC tokens will need to be withdrawn for claiming more rewards which will be taken from the LP’s second liquidity position directly. The rest of the liquidity he will still be able to claim via transferOut.

Open the report
MediumCentralization of getBackTokens()unifarm - Bridge · QuillAudits · 8 Aug 2022Open

getBackTokens() can be exploited by malicious admin to drain the liquidity from any liquidity pool.

Open the report
LowPossibility of Out of Gas errorsunifarm - Bridge · QuillAudits · 8 Aug 2022Open

It is possible that if the epochLength is set as too small, epochs will get added faster in the Epoch array of the epochs mapping of the BridgeUpgradeable contract. If this happens, this could to out of gas errors when claimFeeShare() and withdrawAdminTokenFees() because the for loop would be looping over a large array length.

Open the report
LowUntitled findingOpenDefi - Unifarm Audit · QuillAudits · 19 Feb 2021Open

The report gives no description here.

Open the report

Contracts7

AddressChainSource code
0x91468f2b69f30665699ac81a4206effde2b5e5d1Chain: EthereumSource code: Verified source
0x40986a85b4cfcdb054a6cbfb1210194fee51af88Chain: BNB ChainSource code: Verified source
0x40986a85b4cfcdb054a6cbfb1210194fee51af88Chain: Polygon (POS)Source code: Verified source. Powered by Etherscan.io APIs
0xd60effed653f3f1b69047f2d2dc4e808a548767bChain: Avalanche
0xa7305ae84519ff8be02484cda45834c4e7d13dd6Chain: Polygon (POS)Source code: Verified source
0x0a356f512f6fce740111ee04ab1699017a908680Chain: BNB ChainSource code: Verified source
0x40986a85b4cfcdb054a6cbfb1210194fee51af88Chain: EthereumSource code: Verified source

All 7 addresses and the files the reports name

UniFarm: questions

Is UniFarm audited?

Trustblock holds 5 public audit reports for UniFarm, dated 19 Feb 2021 to 8 Aug 2022. The latest is by QuillAudits (“unifarm - Bridge”).

Who audited UniFarm?

2 security firms wrote the reports Trustblock holds for UniFarm: QuillAudits and Zokyo.

Are there open findings in UniFarm’s audits?

12 findings are still open or acknowledged in the firms’ reports: 1 high, 3 medium, 8 low (4 open, 8 acknowledged). No critical finding is reported. Statuses are the security firms’ own.

Show this on your site

Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.

Content

Facts

Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="unifarm"
></div>
</body>

Paste the code where the label should appear. It uses no API credit and updates by itself.

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