Umbrella Network audit reports

BNB Chain, Ethereumumb.networkXGitHub

Umbrella Network has 2 public audit reports from CertiK; the latest is CertiK, 29 Apr 2022; no critical findings reported. It also holds 3 deployed contracts on 2 chains.

Critical and high findings
No open critical findings; 3 high open, 1 high acknowledged 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.

Audits2

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
Umbrella Network 3Security firm: CertiKDate: Scope: Files listedNone openFindings: 1 high · 4 low
3 fixed · 2 acknowledged
skynet.certik.com ↗
Umbrella 2Security firm: CertiKDate: Scope: Files listedNone openFindings: 3 high · 5 low
8 open
skynet.certik.com ↗

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 (8 open, 2 acknowledged).

High
4
Low
6
  • High Acknowledged

    Centralization Related Risks

    Umbrella Network 3 · CertiK · 29 Apr 2022 · Report ↗

  • High Open

    Centralization Related Risks

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

  • High Open

    Invalid daily limit

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

  • High Open

    Logical issue of the function `_beforeTokenTransf

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

  • Low Acknowledged

    Logical issue of the function `_getReward()`

    Umbrella Network 3 · CertiK · 29 Apr 2022 · Report ↗

  • Low Open

    Improper Usage of `public` and `external` Type

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

  • Low Open

    Logical issue of function `swapForUMB()`

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

  • Low Open

    Logical issue of the bonus for lock

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

  • Low Open

    Logical issue of the function `_getReward()`

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

  • Low Open

    SafeMath Not Used

    Umbrella 2 · CertiK · 21 Mar 2022 · Report ↗

Findings13

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

SeverityOpenAcknowledgedFixed
Critical000
High310
Medium000
Low513
HighCentralization Related RisksUmbrella 2 · CertiK · 21 Mar 2022Open

In the contract `Blacklisted` the role `owner` has authority over the following functions: - `setupBlacklist()` Any compromise to the `owner` account may allow a hacker to take advantage of this authority. In the contract `LockSettings` the role `owner` has authority over the following functions: - `removePeriods()` - `setLockingTokenSettings()` Any compromise to the `owner` account may allow a hacker to take advantage of this authority. In the contract `OnDemandToken` the role `owner` has authority over the following functions: - `setupMinter()` - `setupMinters()` Any compromise to the `owner/minter` account may allow a hacker to take advantage of this authority. In the contract `OnDemandTokenBridgable` the role `owner` has authority over the following functions: - `setupBridge()` Any compromise to the `owner` account may allow a hacker to take advantage of this authority. In the contract `SwappableTokenV2` the role `owner` has authority over the following functions: - `startEarlySwap()` - `setDailyCup()` Any compromise to the `owner` account may allow a hacker to take advantage of this authority. In the contract `rUMB2/rUMB2BSC` the role `owner/minter` has authority over the following functions: - `mint()` Any compromise to the `owner/minter` account may allow a hacker to take advantage of this authority. In the contract `StakingLockable` the role `owner` has authority over the following functions: - `finishFarming()` Any compromise to the `owner` account may allow a hacker to take advantage of this authority.

Open the report
HighInvalid daily limitUmbrella 2 · CertiK · 21 Mar 2022Open

According to the following codes, the user's balance drops divided by the constant variable `ONE(1e18)` and compared with the daily limit. ```solidity (uint256 limit, bool freshLimit) = _currentLimit(data); require(limit != 0, "swapping period not started OR limit"); uint256 amountToSwap = balanceOf(msg.sender); require(amountToSwap != 0, "you dont have tokens to swap"); uint32 amountWoDecimals = uint32(amountToSwap / ONE); require(amountWoDecimals <= limit, "daily CUP limit"); swapData.usedLimit = uint32(freshLimit ? amountWoDecimals : data.usedLimit + amountWoDecimals); swapData.swappedSoFar += amountWoDecimals; ``` In solidity, the division truncation problem exists for division operations. Hence, when the user's balance is below 1e18, like 0.9e18. The `usedLimit` and `swappedSoFar` will record incorrectly. As a result, the user can swap 0.9e18token for many times. The actual number of tokens swapped can easily exceed the daily limit.

Open the report
HighLogical issue of the function `_beforeTokenTransfUmbrella 2 · CertiK · 21 Mar 2022Open

According to the following codes, the function `_beforeTokenTransfer()` will check the `from` and `to` addresses and calls the function `_mint()` to mint tokens when the balance is not enough. ```solidity function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal virtual override { if (_from != address(0) && _to != address(0) && bridges[msg.sender]) { uint256 balance = balanceOf(msg.sender); if (balance < _amount) { _mint(msg.sender, _amount - balance); } } } ``` The `OnDemandTokenBridgable._beforeTokenTransfer()` will be called in the `rUMB2._beforeTokenTransfer()` and rUMB2 has a total supply limit. The function `_mint()` doesn't check if the total supply limit exceeds. As a result, the total supply may exceed the total supply limit. Any compromise to the `bridges` account may allow a hacker to take advantage of this authority to mint the tokens without limit.

Open the report
LowImproper Usage of `public` and `external` TypeUmbrella 2 · CertiK · 21 Mar 2022Open

`public` functions that are never called by the contract could be declared as `external`. `external` functions are more efficient than `public` functions.

Open the report
LowLogical issue of function `swapForUMB()`Umbrella 2 · CertiK · 21 Mar 2022Open

According to the following codes, the function `swapForUMB()` is used to swap the user's all rUMB2 tokens to be UMB tokens. ```solidity function swapForUMB() external { SwapData memory data = swapData; (uint256 limit, bool freshLimit) = _currentLimit(data); require(limit != 0, "swapping period not started OR limit"); uint256 amountToSwap = balanceOf(msg.sender); require(amountToSwap != 0, "you dont have tokens to swap"); uint32 amountWoDecimals = uint32(amountToSwap / ONE); require(amountWoDecimals <= limit, "daily CUP limit"); swapData.usedLimit = uint32(freshLimit ? amountWoDecimals : data.usedLimit + amountWoDecimals); swapData.swappedSoFar += amountWoDecimals; if (freshLimit) swapData.dailyCupTimestamp = uint32(block.timestamp); _burn(msg.sender, amountToSwap); umb.swapMint(msg.sender, amountToSwap); emit LogSwap(msg.sender, amountToSwap); } ``` However, there exists a daily cap for the swap amount. As a result, the user can't swap when the balance is over the daily cap.

Open the report
LowLogical issue of the bonus for lockUmbrella 2 · CertiK · 21 Mar 2022Open

According to the following codes, users can choose to lock their tokens for a period to get additional rewards. This additional rewards is calculated through `balances[_user].lockedWithBonus`. ```solidity function _lockTokens(address _user, address _token, uint256 _amount, uint256 _period) internal notPaused { uint256 multiplier = multipliers[_token][_period]; require(multiplier != 0, "invalid period or not supported token"); uint256 stakeBonus = calculateBonus(_amount, multiplier); _stake(_token, _user, _amount, stakeBonus); _addLock(_user, _token, _amount, _period, multiplier); } ``` After the locked period, users can get their token back. However, users may choose not to unlock the token in time, at which point their staked tokens is no different from a common stake, but any enjoy additional rewards.

Open the report
LowLogical issue of the function `_getReward()`Umbrella 2 · CertiK · 21 Mar 2022Open

According to the following codes, the rewards are distributed to users through minting. ```solidity function _getReward(address _user, address _recipient) internal nonReentrant updateReward(_user) returns (uint256 reward) { reward = balances[_user].rewards; if (reward != 0) { balances[_user].rewards = 0; OnDemandToken(address(rUmb2)).mint(_recipient, reward); emit RewardPaid(_user, reward); } } ``` The `rUmb2` token has a max mint limit. As a result, the reward distribution may fail due to this limit.

Open the report
LowSafeMath Not UsedUmbrella 2 · CertiK · 21 Mar 2022Open

SafeMath from OpenZeppelin is not used in the following functions which makes them possible for overflow/underflow and will lead to an inaccurate calculation result. - `SwappableTokenV2().swapForUMB()` - `StakingLockable.notifyRewardAmount()` - `StakingLockable.rewardPerToken()` - `StakingLockable.earned()` - `StakingLockable._stake()` - `StakingLockable._addLock()` - `StakingLockable._withdrawUnlockedTokens()`

Open the report

Contracts3

AddressChainSource code
0x6fc13eace26590b80cccab1ba5d51890577d83b2Chain: BNB ChainSource code: Verified source
0x6fc13eace26590b80cccab1ba5d51890577d83b2Chain: EthereumSource code: Verified source
0x846f52020749715f02aef25b5d1d65e48945649dChain: BNB ChainSource code: Verified source

All 3 addresses and the files the reports name

Umbrella Network: questions

Is Umbrella Network audited?

Trustblock holds 2 public audit reports for Umbrella Network, dated 21 Mar 2022 to 29 Apr 2022. The latest is by CertiK (“Umbrella Network 3”).

Who audited Umbrella Network?

CertiK wrote the 2 reports Trustblock holds for Umbrella Network.

Are there open findings in Umbrella Network’s audits?

10 findings are still open or acknowledged in the firms’ reports: 4 high, 6 low (8 open, 2 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="umbrella-network"
></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