units.

CertiKCode version: not recorded (see the report)

CertiK reviewed Unit0 (units.) on 17 Jan 2025: 5 findings, 0 critical; 3 marked fixed, 2 acknowledged.

No open critical findings
Open the reportOpen Unit0’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
High000
Medium000
Low023
LowMultiple Formats for Miner's PubKey in BlockFixed

The function `getMinerPubkey()` gets the miner's public key using different strings: ```scala getBinaryData(s"miner_${rewardAddress}_PK") .orElse(getBinaryData(s"miner${rewardAddress}PK")) .orElse(getBinaryData(s"miner${rewardAddress.hexNoPrefix}PK")) ```

LowRedundant `filterBySpecOrChecksum`Fixed

The function `filterBySpecOrChecksum` only returns a `true` and is never used in the codebase.

LowRedundant OverrideFixed

The field `messageCode` of the `PeerSpec` object in `BasicMessagesRepo.scala` is assigned a value of `2` overriding the of the same field in the `InetSocketAddressSeqSPec` class. However, the value of the `messageCode` in the inherited class is already `2`, making this override operation redundant.

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.

Part of Unit0’s security record

Unit0
Audits1 audit by 1 firmLast audit Jan 2025, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Unit0’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