- Home
- Security Audits
- WaveLength
Web3 · Smart Contract Audit
WaveLength Security Audit
softstack completed a smart contract audit of WaveLength's Protocol in October 2022, reporting 6 findings (1 medium, 2 low and 3 informational). The full report is published in the softstack public audit archive.
Key facts
- Client
- WaveLength
- Completed
- Languages
- Solidity, JavaScript
- Commit
7fb66f98ace7
About the project
WaveLength was a decentralised exchange and liquidity hub for the Velas network, built on Balancer V2 technology. It offered weighted liquidity pools and automated index funds that rebalanced holdings while earning trading fees for liquidity providers. The wavelength.exchange domain is now listed for sale and the exchange no longer appears to operate.
Scope
Source repositorygithub.com/wavelength-velas/WaveLength-ContractsComponents reviewed
13 modules · 13 files- WeightedPool2TokensFactory.sol
- WAVEToken.sol
- Authorizer.sol
- WAVEMasterChef.sol
- AaveLinearPoolFactory.sol
- WeightedPoolFactory.sol
- Timelock.sol
- Vault.sol
- MasterChefOperator.sol
- NoProtocolFeeLiquidityBootstrappingPoolFactory.sol
- StablePoolFactory.sol
- truffle-config.js
- hardhat.config.js
Findings
0 of 6 findings resolved before the final report.
| ID | Title | Severity | Status |
|---|---|---|---|
6.2.1 | Signature Malleability The function ecrecover allows you to convert a valid signature into a different valid signature without requiring knowledge of the private key. | Medium | acknowledged |
6.2.2 | Old And Non-Constant Solc Pragma ^0.7.0 The solc pragma ^0.7.0 is old and non-constant. Using an outdated compiler version can be problematic especially if there are publicly disclosed bugs and issues that affect the current compiler version. | Low | acknowledged |
6.2.3 | Custom Errors To Save Gas The contract was found to be using revert() statements. Since Solidity v0.8.4, custom errors have been introduced which are a better alternative to the revert. | Low | acknowledged |
6.2.4 | Floating Pragma Version Identified It is recommended to specify a fixed compiler version to ensure that the bytecode produced does not vary between builds. This is especially important if you rely | Informational | acknowledged |
6.2.5 | Flatted Files The solidity project files have been flatted which makes the review, modification, updates in the future quite hard. | Informational | acknowledged |
6.2.6 | Use Of SafeMath Library SafeMath library is found to be used in the contract. This increases gas consumption than traditional methods and validations if done manually. | Informational | acknowledged |
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 auditsMethodology
Review process
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.
Automated analysis
Static analysers sweep the full codebase to surface known weakness patterns, unreachable states and deviations from established conventions.
Manual code review
Independent engineers read the code line by line, concentrating on business logic, access control, arithmetic and the handling of external calls.
Adversarial testing
Property-based fuzzing and invariant tests attack the assumptions the protocol relies on, targeting states that ordinary unit tests never reach.
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.
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
WaveLength 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 WaveLength in October 2022. The full report is linked on this page and published in the softstack public audit archive.
The review reported 6 findings: 1 medium, 2 low and 3 informational. 0 of 6 were resolved or mitigated before the final report.
13 source files were reviewed in github.com/wavelength-velas/WaveLength-Contracts at commit 7fb66f9. The published report lists every file covered.
This report covers the code as reviewed in October 2022 at commit 7fb66f9. Any code changed after that point is outside the reviewed scope.
Related audits
Browse all security auditsDisclaimer
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.