Uno

CertiKFiles named in the report

CertiK reviewed UNO.farm (Uno) on 12 Sep 2022: 17 findings, 0 critical; 10 marked fixed, 7 open.

No open critical findings
Open the reportOpen UNO.farm’s security record

Report hosted on skynet.certik.com.

Statuses are the security firm’s own, from this report. Trustblock does not review code.

Findings17

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

SeverityOpenAcknowledgedFixed
Critical000
High300
Medium102
Low308
HighCentralization Related RisksNot fixed

In the contract `UnoFarmBalancer`, `UnoFarmQuickswapDual`, `UnoFarmQuickswap`, `UnoFarmSushiswap` and `UnoFarmTrisolarisStandard` the role `assetRouter` has authority over the functions shown in the diagram below. Any compromise to the `assetRouter` account may allow the hacker to take advantage of this authority: - deposit tokens from this contract's balance to the vault through `deposit()` - withdraw funds and sends them to the recipient through `withdraw()` - claim rewards and re-investing rewards through `distribute()` ![](https://accelerator-tasks-prod.acc.corp.certik.com/f230a74e62c14ad3846c38d972126e08/diagrams/centralization_UnoFarmBalancer-UnoFarmBalancer-assetRouter.svg)

HighCentralization Related RisksNot fixed

To bridge the gap in trust between the administrators need to express a sincere attitude regarding the consideration of the administrator teamʼs anonymity. The `admin` of `UnoAutoStrategyFactory` has the responsibility to notify users about the following capabilities: - approve an address for use as an AssetRouter through `approveAssetRouter()` - revoke Asset Router approval from an address through `revokeAssetRouter()` - upgrade all AutoStrategy contracts to a new implementation using Beacon Proxy through `upgradeStrategies()` The `pauser` of `UnoAutoStrategyFactory`, `UnoAssetRouterTrisolarisStandard` and `UnoAssetRouterTrisolarisStable` have the responsibility to notify users about the following capabilities: - pause the contract through `pause()` - unpause the contract through `unpause()` The `admin` of `UnoAccessManager` has the responsibility to notify users about the following capabilities: - grant role to account through `grantRole()` - revoke a role from the account through `revokeRole()` The `ADMIN_ROLE` of `UnoFarmFactory` has the responsibility to notify users about the following capabilities: - upgrade farms through `upgradeFarms()`

HighCentralized Control of Contract UpgradeNot fixed

The contracts mentioned above are upgradeable contracts, the owner can upgrade the contract without the community's commitment. If an attacker compromises the account, he can change the implementation of the contract and drain tokens from the contract.

MediumCentralization Related Risks Of `LIQUIDITY_MANAGENot fixed

To bridge the gap in trust between the administrators need to express a sincere attitude regarding the consideration of the administrator teamʼs anonymity. The `LIQUIDITY_MANAGER_ROLE` of `UnoAutoStrategy` has the responsibility to notify users about the following capabilities: - move liquidity from one pool to another through `moveLiquidity()`

LowLack of Storage GapNot fixed

For upgradeable contracts, there must be storage gap to "allow developers to freely add new state variables in the future without compromising the storage compatibility with existing deployments". Otherwise it may be very difficult to write new implementation code. Without storage gap, the variable in child contract might be overwritten by the upgraded base contract if new variables are added to the base contract. Refer to https://docs.openzeppelin.com/upgrades-plugins/1.x/writing-upgradeable We noticed that there are several contracts that inherits upgradable contracts, but do not have storage gap.

LowLogical issue about the leftoverNot fixed

If the function `moveLiquidity()` is called by the LIQUIDITY_MANAGER_ROLE and the user does not retrieve the leftover tokens in the contract in time, then when the LIQUIDITY_MANAGER_ROLE calls `moveLiquidity()` again, this part of the user's unretrieved assets will be invested again in the new pool which will be shared with other users.

LowThird Party DependencyNot fixed

The contracts mentioned above serves as the underlying entity to interact with one or more third-party protocols. The scope of the audit treats third-party entities as black boxes and assumes their functional correctness. However, in the real world, third parties can be compromised, which may lead to lost or stolen assets. In addition, third parties' upgrades can create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc.

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 (62)

  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IRewarder.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IUnoAssetRouter.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/balancer/interfaces/IUnoFarmBalancer.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswapDual/interfaces/IUnoFarmQuickswapDual.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/balancer/interfaces/IUnoAssetRouterBalancer.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUnoAccessManager.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswap/UnoAssetRouterQuickswap.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/UnoFarmFactory.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStable/UnoFarmTrisolarisStable.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/balancer/UnoFarmBalancer.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswapDual/UnoFarmQuickswapDual.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IUnoFarm.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUnoFarmFactory.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IUniswapV2Pair.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/sushiswap/interfaces/IUnoAssetRouterSushiswap.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IStakingDualRewards.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IMiniChefV2.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IUnoFarmFactory.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IUniswapV2Router.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStable/UnoAssetRouterTrisolarisStable.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IWMATIC.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IOdosRouter.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IBasePool.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswap/interfaces/IUnoAssetRouterQuickswap.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IUnoAutoStrategyFactory.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStandard/interfaces/IUnoFarmTrisolarisStandard.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IChildChainStreamer.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/autostrategy/UnoAutoStrategyFactory.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStable/interfaces/IUnoAssetRouterTrisolarisStable.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/ISwap.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswap/UnoFarmQuickswap.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/balancer/UnoAssetRouterBalancer.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IComplexRewarder.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUniswapV2Router02.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswapDual/UnoAssetRouterQuickswapDual.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/sushiswap/interfaces/IUnoFarmSushiswap.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStable/interfaces/IUnoFarmTrisolarisStable.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IAsset.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUnoAssetRouter.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUniswapV2Pair.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStable/test/UnoAssetRouterTrisolarisStableV2.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IVault.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUnoFarm.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUniswapV2Router.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStandard/test/UnoAssetRouterTrisolarisStandardV2.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IRewarder.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IUnoAccessManager.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/sushiswap/UnoAssetRouterSushiswap.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/autostrategy/UnoAutoStrategy.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswap/interfaces/IUnoFarmQuickswap.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStandard/UnoAssetRouterTrisolarisStandard.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStandard/UnoFarmTrisolarisStandard.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/UnoAccessManager.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/interfaces/IUniversalMasterChef.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IRewardsOnlyGauge.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/UnoFarmFactory.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/sushiswap/UnoFarmSushiswap.sol
  • 0e19aeb9e7ed803b9810167ac53def5169516c46/contracts/apps/trisolarisStandard/interfaces/IUnoAssetRouterTrisolarisStandard.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IStakingRewards.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/interfaces/IChildChainLiquidityGaugeFactory.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/UnoAccessManager.sol
  • 005fac42cbc16679830e6a006b3816b399c8750c/contracts/apps/quickswapDual/interfaces/IUnoAssetRouterQuickswapDual.sol

Part of UNO.farm’s security record

UNO.farm
Audits1 audit by 1 firmLast audit Sep 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open UNO.farm’s security record

Security firm

CertiK

1,044 projects reviewed · 1,393 reports · latest May 2025

See CertiK’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