Superbots audit reports

BNB Chain, Ethereumsuperbots.financeX

Superbots has 1 public audit report from CertiK; dated 31 Mar 2023; no critical findings reported.

Critical findings
No open critical findings
In 1 report.
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.

Open findings across every firm10

Statuses are the security firms’ own

10 findings are still open or acknowledged in the firms’ reports: 4 high, 6 low (all open).

High
4
Low
6
  • High Open

    Centralization Risks in master_vault.sol

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • High Open

    Centralization Risks in vault.sol

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • High Open

    Potential Flashloan Attack

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • High Open

    Token Mismatch

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • Low Open

    Financial models

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • Low Open

    Gas Optimization

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • Low Open

    Lack of reasonable boundary

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • Low Open

    Potential Sandwich Attacks

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • Low Open

    Third Party Dependency

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

  • Low Open

    Unknown token

    SuperBots · CertiK · 31 Mar 2023 · Report ↗

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
SuperBotsSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 5 high · 3 medium · 17 low
15 fixed · 10 open
skynet.certik.com ↗

Findings25

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

SeverityOpenAcknowledgedFixed
Critical000
High401
Medium003
Low6011
HighCentralization Risks in master_vault.solSuperBots · CertiK · 31 Mar 2023Open

In the contract `MasterSuperVault` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and users' assets may suffer loss. ![](https://accelerator-tasks-prod.acc.corp.certik.com/40a6f86ef5b04ea0b2fdd3c12b1322c2/diagrams/centralization_master_vault-MasterSuperVault-_owner.svg)

Open the report
HighCentralization Risks in vault.solSuperBots · CertiK · 31 Mar 2023Open

In the contract `Vault` the role `strategist` has authority over the functions shown in the diagram below. The `strategist` is specified by the `addrGenerator` when the vault is generated. The `addrGenerator` is specified by the owner of the vault factory. Any compromise to the `strategist` account may allow the hacker to take advantage of this authority and users' assets may suffer loss. ![](https://accelerator-tasks-prod.acc.corp.certik.com/40a6f86ef5b04ea0b2fdd3c12b1322c2/diagrams/centralization_vault-Vault-strategist.svg)

Open the report
HighPotential Flashloan AttackSuperBots · CertiK · 31 Mar 2023Open

Flash loans are a way to borrow large amounts of money for a certain fee. The requirement is that the loans need to be returned within the same transaction in a block. If not, the transaction will be reverted. An attacker can use the borrowed money as the initial funds for an exploit to enlarge the profit and/or manipulate the token price in the decentralized exchanges. We find that the contracts `MasterSuperVault` and `Vault` use `UniswapRouterV2(pancakeRouter).getAmountsOut()` which relies on price calculations that are based on-chain, meaning that they would be susceptible to flash-loan attacks by manipulating the price of given pairs to the attacker's benefit and getting more share tokens. The issue VAU-02 describes the situation when flash loan attacks can happen on `Vault.poolSize()` function. The `MasterSuperVault.poolSize()` can always be attacked by flash loan.

Open the report
HighToken MismatchSuperBots · CertiK · 31 Mar 2023Open

The function `deposit()` will transfer the `capitalToken` from the depositor, but directly call the function `depositQuote()` in the contract `VaultV2` to transfer `quoteToken` without swapping the `capitalToken` to the `quoteToken`. Similarly, the function `withdraw()` will call the function `withdrawQuote()` in the contract `VaultV2` to get the `quoteToken`, but directly transfer the `capitalToken` to the withdrawer without swapping the `quoteToken` back to the `capitalToken`. These two functions will fail because of the missing swap logic.

Open the report
LowFinancial modelsSuperBots · CertiK · 31 Mar 2023Open

The SuperBots protocol is acting as an investment project, where the users deposit different tokens into the different `vaults`. Then the `strategist` and `whiteListed user` of each `vaults` will swap between two given tokens `quoteToken` and `baseToken`. The users will get a number of share tokens based on the deposit amount, total shares, vault balance, and get the corresponding amount of tokens according to the share amount. In the contract `MasterSuperVault`, the users will invest `capitalToken` and the protocol will divide the investment fund into 5 equal portions and invest into 5 vaults. The user gets a different share token and can use it to withdraw the investment principle and profit. And then, there are some questions: 1. The only investment strategy of the contract `Vault` is swapping between `quoteToken` and `baseToken` in two different platforms `UniswapRouterV2` or `IOneInchAggregationRouterV4`. The swapping amount is always the total balance. Plus that the protocol will also charge deposit, withdraw, trade and perf(profit) fees. Why do the users not use the platform `UniswapRouterV2` or `IOneInchAggregationRouterV4` directly for token swap? 2. In the contract `Vault`, there are two kinds of tokens: `quoteToken` and `baseToken`. When the value of `position` is 0, `quoteToken` is used and the user deposited `baseToken` will be swapped to the `quoteToken`. When the value of `position` is 1, `baseToken` is used and the user deposited `quoteToken` will be swapped to the `baseToken`. Thus, although the users can choose which token to invest in, they cannot control which token they will get in the `withdraw()` function. The users will get `quoteToken` when `position` is 0 and `baseToken` when `position` is 1. This difference between invest and harvest tokens may be against the users' intention. In addition, the function `buy()` and `sell` can just inverse the current `Vault` by changing the `position` value and swapping all the `quoteToken/baseToken` to `baseToken/quoteToken`. The contract `MasterSuperVault` may provide a better way, in which the user will invest `capitalToken` and harvest `capitalToken`. 3. The above-mentioned `capitalToken` `quoteToken` and `baseToken` are unknown. Thus, their implementation is uncertain and may not support the current functionality well. In version 2, most of the swap operations use Chainlink as a price reference to set a maximum slippage. The profit is also accumulated by token swapping with the `0x Aggregator` instead of the `One Inch Aggregator`. Also, the current `_activeVaults` can be updated and the investment assets at old vaults will be distributed equally to the new `_activeVaults`.

Open the report
LowGas OptimizationSuperBots · CertiK · 31 Mar 2023Open

In the contract `Vault` and `MasterSuperVault`, each function may swap tokens multiple times and charges fees. Also, some of the fee charging functions like `takeTradingFees()`, `takePerfFees()`, `takePerfFeesFromBaseToken()` may also perform token swap. Some of the tokens are swapped and then burned out. This will cost lots of gas and may have gas waste.

Open the report
LowLack of reasonable boundarySuperBots · CertiK · 31 Mar 2023Open

The variables `pctDeposit`, `pctWithdraw`, `pctTradUpbots`, `pctPerfAlgoDev`, `pctPerfPartners` do not have reasonable boundaries, so they can be given arbitrarily values after deploying.

Open the report
LowPotential Sandwich AttacksSuperBots · CertiK · 31 Mar 2023Open

A sandwich attack might happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (before the transaction is attacked) a transaction to purchase one of the assets and make profits by back running (after the transaction is attacked) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - `_swapPancakeswap()` in the contract `MasterSuperVault` and `Vault`, which will call the `UniswapRouterV2(pancakeRouter).swapExactTokensForTokens()` function.

Open the report
LowThird Party DependencySuperBots · CertiK · 31 Mar 2023Open

The contract is serving 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 assume their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity address public constant pancakeRouter = 0x10ED43C718714eb63d5aA57B78B54704E256024E; ``` - The contracts `MasterSuperVault` and `Vault` interact with third party contract with `UniswapRouterV2` interface via `pancakeRouter`. --- ```solidity address public constant wbnb = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c; ``` - The contracts `MasterSuperVault` and `Vault` interact with third party contract with `wbnb` token via `wbnb`. --- ```solidity address public constant ubxt = 0xBbEB90cFb6FAFa1F69AA130B7341089AbeEF5811; ``` - The contracts `MasterSuperVault` and `Vault` interact with third party contract with `IERC20` interface via `ubxt`. --- ```solidity address public oneInchRouterAddr; ``` - The contract `Vault` interacts with third party contract with `IOneInchAggregationRouterV4` interface via `oneInchRouterAddr`. --- - The contract `VaultV2` interacts with third party contract `UniswapRouterV2`, `0x aggregator`, `Chainlink`, etc.

Open the report
LowUnknown tokenSuperBots · CertiK · 31 Mar 2023Open

The tokens `capitalToken`, `quoteToken` and `baseToken` are initialized in the functions `MasterSuperVault.constructor()` function and `VaultFactory.generateVault()`. Thus, the correctness of the `token` address and the actual token implementations are all uncertain.

Open the report

Contracts

No deployed address is recorded for these audits.

The reports name a repository or files. Open a report to see its scope.

The repositories and files the reports name

Superbots: questions

Is Superbots audited?

Trustblock holds 1 public audit report for Superbots, dated 31 Mar 2023. The latest is by CertiK (“SuperBots”).

Who audited Superbots?

CertiK wrote the report Trustblock holds for Superbots.

Are there open findings in Superbots’s audits?

10 findings are still open or acknowledged in the firms’ reports: 4 high, 6 low (all open). 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="superbots"
></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