Communis audit reports

Ethereumcommunis.app

Communis has 1 public audit report from CertiK; dated 3 Jan 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 firm4

Statuses are the security firms’ own

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

Low
4
  • Low Open

    Divide Before Multiply

    Communis - Audit · CertiK · 3 Jan 2023 · Report ↗

  • Low Open

    Lack of Documentation

    Communis - Audit · CertiK · 3 Jan 2023 · Report ↗

  • Low Open

    Third Party Dependency

    Communis - Audit · CertiK · 3 Jan 2023 · Report ↗

  • Low Open

    Unsafe Integer Cast

    Communis - Audit · CertiK · 3 Jan 2023 · Report ↗

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
Communis - AuditSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 5 low
1 fixed · 4 open
skynet.certik.com ↗

Findings5

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low401
LowDivide Before MultiplyCommunis - Audit · CertiK · 3 Jan 2023Open

Performing integer division before multiplication truncates the low bits, losing the precision of calculation. ```solidity=753 uint256 recalculatedStakeShares = (s.stakedHearts + getRecalculatedBonusHearts(s)) * (10 ** 17) / stakesOriginalShareRate; ``` ```solidity=758 uint256 penalty = (s.stakedDays * (10 ** 15)) / 5555; ``` ```solidity=759 pr.maxPayout = (recalculatedStakeShares * penalty) / (10 ** 15); ``` --- ```solidity=770 bonusPercentage = ((3 * (10 ** 10)) * bonusPercentage) / (10 ** 10); ``` ```solidity=775 bonusPercentage = ((6 * (10 ** 10)) * bonusPercentage) / (10 ** 10); ``` --- ```solidity=784 payout = (maxPayout * (10 ** 10)) / bonusPercentage; ``` ```solidity=787 uint256 penalty = (stakesOriginalShareRate * (10 ** 15)) / globalShareRate; ``` ```solidity=788 payout = (payout * penalty) / (10 ** 15); ``` --- ```solidity=819 uint256 payout = (stakedCodeak / 80) * numberOfPayouts; ```

Open the report
LowLack of DocumentationCommunis - Audit · CertiK · 3 Jan 2023Open

The contract lacks comments or documentation explaining the methodology of each function and the reasoning behind the decisions taken. Specifically, there is no explanation on the calculation of the reward as well as the rules for users to participate in the projects. We treat the calculation in the contract blackbox, and make several assumptions based on the error message/function name during the audit.

Open the report
LowThird Party DependencyCommunis - Audit · CertiK · 3 Jan 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=545 _HEX private HEX; ``` - The contract `Communis` interacts with third party contract with `_HEX` interface via `HEX`.

Open the report
LowUnsafe Integer CastCommunis - Audit · CertiK · 3 Jan 2023Open

```solidity=651 (uint256(uint128(payout))) ``` - The type conversion `uint128(payout)` from larger type uint256 to smaller type uint128 may truncate data. --- ```solidity=652 | (uint256(uint128(recalculatedStakeShares)) << 128) ``` - The type conversion `uint128(recalculatedStakeShares)` from larger type uint256 to smaller type uint128 may truncate data. --- ```solidity=654 | (uint256(uint16(stakedDays)) << 40) ``` - The type conversion `uint16(stakedDays)` from larger type uint256 to smaller type uint16 may truncate data. --- ```solidity=655 | (uint256(uint40(stakesOriginalShareRate)) << 56) ``` - The type conversion `uint40(stakesOriginalShareRate)` from larger type uint256 to smaller type uint40 may truncate data. --- ```solidity=656 | (uint256(uint72(stakedHearts)) << 96) ``` - The type conversion `uint72(stakedHearts)` from larger type uint256 to smaller type uint72 may truncate data. --- ```solidity=669 | (uint256(uint112(payout)) << 16) ``` - The type conversion `uint112(payout)` from larger type uint256 to smaller type uint112 may truncate data. --- ```solidity=679 uint256(uint128(amount)) ``` - The type conversion `uint128(amount)` from larger type uint256 to smaller type uint128 may truncate data. --- ```solidity=680 | (uint256(uint128(stakedCodeak)) << 128) ``` - The type conversion `uint128(stakedCodeak)` from larger type uint256 to smaller type uint128 may truncate data. --- ```solidity=689 uint256(uint128(amount)) ``` - The type conversion `uint128(amount)` from larger type uint256 to smaller type uint128 may truncate data. --- ```solidity=690 | (uint256(uint128(stakedCodeak)) << 128) ``` - The type conversion `uint128(stakedCodeak)` from larger type uint256 to smaller type uint128 may truncate data. --- ```solidity=701 if(red.endBonusPayoutDay < currentDay) red.endBonusPayoutDay = uint16(currentDay); ``` - The type conversion `uint16(currentDay)` from larger type uint256 to smaller type uint16 may truncate data. --- ```solidity=702 if(red.stakedDays < s.stakedDays) red.stakedDays = uint16(s.stakedDays); ``` - The type conversion `uint16(s.stakedDays)` from larger type uint256 to smaller type uint16 may truncate data. --- ```solidity=704 red.sharesDebt += uint72(s.stakeShares); ``` - The type conversion `uint72(s.stakeShares)` from larger type uint256 to smaller type uint72 may truncate data. --- ```solidity=823 ebd.nextPayoutDay += uint16(numberOfPayouts * 91); ``` - The type conversion `uint16(numberOfPayouts * 91)` from larger type uint256 to smaller type uint16 may truncate data. --- ```solidity=952 uint128 payoutDebt = uint128(payout / 2); ``` - The type conversion `uint128(payout / 2)` from larger type uint256 to smaller type uint128 may truncate data. --- ```solidity=990 HEX.stakeGoodAccounting(address(stakeOwner), stakeIndex, uint40(stakeID)); ``` - The type conversion `uint40(stakeID)` from larger type uint256 to smaller type uint40 may truncate data.

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

Communis: questions

Is Communis audited?

Trustblock holds 1 public audit report for Communis, dated 3 Jan 2023. The latest is by CertiK (“Communis - Audit”).

Who audited Communis?

CertiK wrote the report Trustblock holds for Communis.

Are there open findings in Communis’s audits?

4 findings are still open or acknowledged in the firms’ reports: 4 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="communis"
></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