EdgeMatrix Computing Protocol 2(EMC 2)

CertiKFiles named in the report

CertiK reviewed Edge Matrix Computing (EdgeMatrix Computing Protocol 2(EMC 2)) on 2 Feb 2024: 11 findings, 1 critical; 6 marked fixed, 5 open.

1 critical finding, fixed
Open the reportOpen Edge Matrix Computing’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings11

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

SeverityOpenAcknowledgedFixed
Critical001
High100
Medium001
Low404
HighCentralization Related RisksOpen

In the contract `MerkleClaim` the role `_owner` has authority over the functions shown in the diagram below. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-af78-1a707ce0-b108-5772604a2fee/diagrams/centralization_MerkleClaim-MerkleClaim-_owner.svg) Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and do the following: - replace `merkleRoot` and generate new `merkleProofs` to claim the tokens in the contract. In the contract `Ownable` the role `_owner` has authority over the functions shown in the diagram below. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-af78-1a707ce0-b108-5772604a2fee/diagrams/centralization_MerkleClaim-Ownable-_owner.svg) Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and do the following: - transfer ownership to zero address. - transfer ownership to a specific address. --- In the contract `NodeStakeV1` the role `manager` has authority over the functions shown in the diagram below. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-af78-1a707ce0-b108-5772604a2fee/diagrams/centralization_NodeStake-NodeStakeV1-manager.svg) Any compromise to the `manager` account may allow the hacker to take advantage of this authority and do the following: - set upper and lower deposit limits. - turn on or turn off the deposit function. - update `manager` address.

LowIncompatibility With Deflationary Tokens (Non-staOpen

The project design may not be compatible with non-standard ERC20 tokens, such as deflationary tokens or rebase tokens.

LowPull-Over-Push Pattern In `transferOwnership()` FOpen

The change of `_owner` by function `transferOwnership()` overrides the previously set `_owner` with the new one without guaranteeing the new `_owner` is able to actuate transactions on-chain.

LowThird-Party Dependency UsageOpen

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 assumes 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=461 address public immutable override token; ``` - The contract `MerkleClaim` interacts with third party contract with `IERC20` interface via `token`. --- ```solidity=39 IERC20 public immutable token; //Token's contract address for reward. Will be designated as EMC token (has been audited) contract address ``` - The contract `NodeStakeV1` interacts with third party contract with `IERC20` interface via `token`.

LowUse of `abi.encodePacked()`Open

As a general practice, use of `abi.encodePacked` isn't recommended, since it is susceptible to hash collisions in some instances where dynamically-sized inputs are used consecutively. While this is not the case in this instance, we also note that `abi.encodePacked` may be removed in future solidity versions (see this issue: [https://github.com/ethereum/solidity/issues/11593](https://github.com/ethereum/solidity/issues/11593)).

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

  • NodeStake.sol
  • MerkleClaim.sol

Part of Edge Matrix Computing’s security record

Edge Matrix Computing
Audits2 audits by 1 firmLast audit Oct 2024, by CertiK.
Critical findingsNo open critical findingsAcross the 2 reports, 2 critical findings were reported. Each is marked fixed by the firm that reported it.
Open Edge Matrix Computing’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