Quantstamp reviewed Voltz Protocol on 25 Mar 2022: 8 findings, 0 critical; 4 marked fixed, 4 acknowledged.
Report hosted on certificate.quantstamp.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 1 | 0 |
| Low | 0 | 3 | 4 |
On `L409` in `MarginEngine.sol`, the function `checkPositionMarginAboveRequirement()` is invoked when the caller is trying to add some liquidity (i.e., when `params.liquidityDelta > 0`) to their `position` instead of when the liquidity gets removed (i.e., when `params.liquidityDelta < 0`). Failing to correctly check the required margin could lead to un-recoverable fund loss on the platform.
On `L281` of `MarginEngine.sol`, the code allows anyone to add margin to any position. There is a possibility that this could be utilized by an attacker to manipulate the system in order to conduct a more complex attack.
Smart contracts will often have `owner` variables to designate the person with special privileges to make modifications to the smart contract. Specifically, there are some actions that could have important consequences for end-users: 1. The owner of `contracts/Factory.sol` can call owner-only functions in `contracts/MarginEngine.sol` and manipulate all the parameters at any time at will. 1. The owner of `contracts/Factory.sol` can call owner-only functions in `contracts/VAMM.sol` and manipulate all the parameters at any time at will. 1. The owner of `contracts/Factory.sol` can call owner-only functions in `contracts/MarginEngine.sol` and change the external contracts used by the `MarginEngine` at any time at will. 1. The owner of `rate_oracles/BaseRateOracle.sol` can call owner-only functions.
The functions `mint()` and `burn()` can be used to modify position's margin without calling `updatePositionMargin()` that transfers in or out the required tokens. This could be used by attackers to potentially manipulate the internal state of the contract which may lead to unexpected results.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (67)
236 projects reviewed · 332 reports · latest Oct 2026
See Quantstamp’s auditsSomething 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