Web3 · Smart Contract Audit

CrowdSwap Security Audit

softstack completed a smart contract audit of CrowdSwap's Staking in June 2022, reporting 8 findings (1 high, 1 medium, 2 low and 4 informational), of which 8 were resolved or mitigated before the final report. The full report is published in the softstack public audit archive.

Key facts

Client
CrowdSwap
Completed
Chains
Ethereum
Languages
Solidity
Commit
9d9ea98d6a6d
Market cap
$59,785 as of 2026-09-26

About the project

CrowdSwap is a decentralised finance platform that aggregates swaps across multiple decentralised exchanges to route trades at the best price. It also provides cross-chain transfers, staking, yield farming and a marketplace where traders publish automated liquidity strategies. The platform runs on EVM networks including Ethereum, Arbitrum, Base and BNB Chain, with CROWD as its utility token.

Scope

Source repositorygithub.com/CrowdSwap/CrowdStaking

Components reviewed

5 modules · 5 files
  1. DateTimeUtil.sol
  2. OwnableUpgradeable.sol
  3. StakingRewards.sol
  4. DatTimeUtil.sol
  5. DatTimeutil.sol

Findings

0Critical
1High
1Medium
2Low
4Informational

8 of 8 findings resolved before the final report.

IDTitleSeverityStatus
6.2.1Initialize Not Protected

Code Snippet Result/Recommendation StakingRewards.sol is an upgradeable contract that uses an initializer. The initialize function is an unprotected external function.

Highfixed
6.2.2Mathematical Units

Code Snippet Result/Recommendation The current implementation has a calculation for time units. DateTimeUtil.sol (line 6 - line 9) uint constant SECONDS_PER_YEAR = 365 * 24 * 60 * 60; uint constant SECONDS_PER_MONTH = 30 * 24 * 60 * 60;…

Mediumfixed
6.2.3Missing Events

Code Snippet Result/Recommendation Critical functions which are important to track or alert on change, doesn’t have events. StakingRewards.sol (line 95) function setRewards()...

Lowfixed
6.2.4Ownership Control

Code Snippet Result/Recommendation StakingRewards.sol contract is Ownable. While it allows setting of restricted aspects and only owner aspects like upgrade. It centralizes power in one address.

Lowfixed
6.2.5Missing Test Cases

Code Snippet Result/Recommendation The current implementation has no unit-tests. NA It is highly recommended to write test cases for every function and control the behaviour at any time of contract executions.

Informationalfixed
6.2.6Unexplicit Uint Types

Code Snippet Result/Recommendation In the current implementation several unsigned integer variables have an unexplicit type (uint).

Informationalfixed
6.2.7Floating Compiler Version

Code Snippet Result/Recommendation The current pragma solidity directive is floating. It is recommended to specify a fixed compiler version to

Informationalfixed
6.2.8Missing NatSpec Documentation

Code Snippet Result/Recommendation Solidity contracts can use a special form of comments to provide rich documentation for function, return variables, and more.

Informationalfixed

About this engagement

A smart contract audit reviews on-chain code for flaws an attacker could exploit. Engineers trace how assets move through the contracts, check who can call privileged functions, and test the arithmetic, external calls and upgrade paths. Each finding is rated by severity, and fixes are re-checked before the final report.

How softstack runs smart contract audits

Methodology

Review process

  1. Scoping and threat modelling

    The commit hash is frozen and the attack surface is mapped: asset flows, trust assumptions, privileged roles and the external systems the code depends on.

  2. Automated analysis

    Static analysers sweep the full codebase to surface known weakness patterns, unreachable states and deviations from established conventions.

  3. Manual code review

    Independent engineers read the code line by line, concentrating on business logic, access control, arithmetic and the handling of external calls.

  4. Adversarial testing

    Property-based fuzzing and invariant tests attack the assumptions the protocol relies on, targeting states that ordinary unit tests never reach.

  5. Reporting

    Every finding is documented with a severity rating, its impact, the steps to reproduce it and a concrete remediation the team can act on.

  6. Remediation verification

    Submitted fixes are re-reviewed against the original finding, and the final report records the resolved state of each one.

Standards and references

  • SWC RegistrySmart Contract Weakness Classification
  • CWECommon Weakness Enumeration

FAQ

CrowdSwap was audited by softstack GmbH, a German Web3 security and software company based in Flensburg and certified to ISO/IEC 27001 by TÜV SÜD. softstack completed a smart contract audit for CrowdSwap in June 2022. The full report is linked on this page and published in the softstack public audit archive.

The review reported 8 findings: 1 high, 1 medium, 2 low and 4 informational. 8 of 8 were resolved or mitigated before the final report.

5 source files were reviewed in github.com/CrowdSwap/CrowdStaking at commit 9d9ea98. The published report lists every file covered.

This report covers the code as reviewed in June 2022 at commit 9d9ea98. Any code changed after that point is outside the reviewed scope.

Related audits

Browse all security audits

Disclaimer

This audit represents a point-in-time security assessment of the reviewed codebase and is intended for informational purposes only. While Softstack applies industry-standard security review methodologies, no audit can guarantee the absence of vulnerabilities, bugs, or other security risks. This report does not constitute financial, legal, regulatory, or investment advice, nor does it endorse the project, its business model, products, or services. Security is an ongoing process, and we strongly recommend conducting a new assessment following any material code changes or at least every 6 months to address newly emerging threats, vulnerabilities, and ecosystem developments.