Umbrella Network 3

CertiKFiles named in the report

CertiK reviewed Umbrella Network (Umbrella Network 3) on 29 Apr 2022: 5 findings, 0 critical; 3 marked fixed, 2 acknowledged.

No open critical findings
Open the reportOpen Umbrella Network’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings5

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

SeverityOpenAcknowledgedFixed
Critical000
High010
Medium000
Low013
LowImproper Usage of `public` and `external` TypeFixed

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

LowMissing Emit EventsFixed

There should always be events emitted in the sensitive functions that are controlled by centralization roles.

LowPotential Underflow in the function `rescueToken(Fixed

The function `rescueToken()` is a centralized function that is used to rescue the accidentally transferred tokens. The check on L169 is used to ensure that the users' staking tokens will not be transferred out. ```solidity=167 function rescueToken(ERC20 _token, address _recipient, uint256 _amount) external onlyOwner() { if (address(_token) == address(stakingToken)) { require(_totalSupply <= stakingToken.balanceOf(address(this)) - _amount, "amount is too big to rescue"); } else if (address(_token) == address(rewardsToken)) { revert("reward token can not be rescued"); } _token.transfer(_recipient, _amount); } ``` SafeMath from OpenZeppelin is not used in the check on L169 which makes it possible for underflow and will lead to an inaccurate calculation result. The result of `stakingToken.balanceOf(address(this)) - _amount` may underflow. As a result, the check may not actually in effect when the `_token.transfer()` has special logic.

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

  • contracts/staking/StakingRewards.sol

Part of Umbrella Network’s security record

Umbrella Network
Audits2 audits by 1 firmLast audit Apr 2022, by CertiK.
Critical findingsNo open critical findingsAcross 2 reports.
Open Umbrella Network’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 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