Port3 audit reports

Arbitrum, BNB Chain, Ethereum, Polygon (POS), Solanaport3.ioGitHub

Port3 has 1 public audit report from CertiK; dated 30 Oct 2023; 1 critical finding, 1 acknowledged, not fixed.

Critical findings
1 critical acknowledged, not fixed
Reported in “Port3-audit” by CertiK, Oct 2023. The team acknowledged it. See the findings
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 firm8

Statuses are the security firms’ own

8 findings are still open or acknowledged in the firms’ reports: 1 critical, 1 high, 1 medium, 5 low (5 open, 3 acknowledged).

Critical
1
High
1
Medium
1
Low
5
  • Critical Acknowledged

    The `owner` can withdraw all the assets from the

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

  • High Acknowledged

    Centralization Related Risks

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

  • Medium Acknowledged

    No Upper Limit in **setProtocolFeePercent** and *

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

  • Low Open

    Confusing function implementation and function na

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

  • Low Open

    Incompatibility with Deflationary Tokens

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

  • Low Open

    Third-Party Dependency Usage

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

  • Low Open

    Unnecessary Use of SafeMath

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

  • Low Open

    Variables That Could Be Declared as Immutable

    Port3-audit · CertiK · 30 Oct 2023 · Report ↗

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
Port3-auditSecurity firm: CertiKDate: Scope: Files listed1 critical acknowledged, not fixedFindings: 1 critical · 1 high · 1 medium · 7 low
2 fixed · 3 acknowledged · 5 open
skynet.certik.com ↗

Findings10

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

SeverityOpenAcknowledgedFixed
Critical010
High010
Medium010
Low502
LowConfusing function implementation and function naPort3-audit · CertiK · 30 Oct 2023Open

The "claimRandomPool" function allows owners to withdraw certain amount of assets from the contract without any restrictions. The auditor would like to understand how such an implementation matches the function name "claimRandomPool." What does the word "Random" mean in the context of the function?

Open the report
LowIncompatibility with Deflationary TokensPort3-audit · CertiK · 30 Oct 2023Open

When transferring deflationary ERC20 tokens, the input amount may not be equal to the received amount due to the charged transaction fee. For example, if a user sends 100 deflationary tokens (with a 10% transaction fee), only 90 tokens actually arrived to the contract. However, a failure to discount such fees may allow the same user to withdraw 100 tokens from the contract, which causes the contract to lose 10 tokens in such a transaction. Reference: https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f ```solidity=106 IERC20(rewardToken).safeTransferFrom(msg.sender, address(this), amount); ``` - Transferring tokens by `amount`. ```solidity=110 totalReward = totalReward.add(amount); ``` - This function call executes the following operation. - In `SafeMath.add`, - `uint256 c = a + b;` - The `amount` appears to be used for bookkeeping purposes without compensating the potential transfer fees.

Open the report
LowThird-Party Dependency UsagePort3-audit · CertiK · 30 Oct 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 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=18 address public rewardToken; ``` - The contract `PrizePool` interacts with third party contract with `IERC20` interface via `rewardToken`.

Open the report
LowUnnecessary Use of SafeMathPort3-audit · CertiK · 30 Oct 2023Open

The `SafeMath` library is used unnecessarily. With Solidity compiler versions 0.8.0 or newer, arithmetic operations will automatically revert in case of integer overflow or underflow. ```solidity=13 using SafeMath for uint256; ``` - `SafeMath` library is used for `uint256` type in `PrizePool` contract. ```solidity=83 userFeePool[_users[i]] = userFeePool[_users[i]].add(_amounts[i]); ``` - `SafeMath.add` is called in `setWhitelist` function of `PrizePool` contract. *Note: Only a sample of 2 `SafeMath` library usage in this contract (out of 18) are shown above.* --- ```solidity=17 library SafeMath { ``` - An implementation of `SafeMath` library is found.

Open the report
LowVariables That Could Be Declared as ImmutablePort3-audit · CertiK · 30 Oct 2023Open

The linked variables assigned in the constructor can be declared as `immutable`. Immutable state variables can be assigned during contract creation but will remain constant throughout the lifetime of a deployed contract. A big advantage of immutable variables is that reading them is significantly cheaper than reading from regular state variables since they will not be stored in storage.

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

Port3: questions

Is Port3 audited?

Trustblock holds 1 public audit report for Port3, dated 30 Oct 2023. The latest is by CertiK (“Port3-audit”).

Who audited Port3?

CertiK wrote the report Trustblock holds for Port3.

Are there open findings in Port3’s audits?

8 findings are still open or acknowledged in the firms’ reports: 1 critical, 1 high, 1 medium, 5 low (5 open, 3 acknowledged). Of 1 critical finding: 1 acknowledged, not fixed. 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="port3"
></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