Venus - Vaults Audit

CertiKFiles named in the report

Audit

Part of CertiK’s series

CertiK reviewed Venus Protocol (Venus - Vaults Audit) on 4 Jul 2023: 10 findings, 0 critical; 3 marked fixed, 7 open.

No open critical findings
Open the reportOpen Venus Protocol’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings10

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

SeverityOpenAcknowledgedFixed
Critical000
High100
Medium000
Low603
LowPossible OverflowFixed

The following struct in `XVSVaultStorage` was changed between implementations. From ```solidity struct WithdrawalRequest { uint256 amount; uint256 lockedUntil; } ``` to the struct ```solidity struct WithdrawalRequest { uint256 amount; uint128 lockedUntil; uint128 afterUpgrade; } ``` Note that both structs will only take up 2 storage slots, so there will not be any storage collisions. However the second slot now packs two `uint128` values together. If `lockedUntil` is greater than the maximum `uint128`, then it will overflow when the implementation is upgraded so that the new `lockedUntil` will be a smaller value. It will also make `afterUpgrade` a nonzero value to start. We give this an informational severity as it is very unlikely any of these values will be this large as it would require a `pool.lockPeriod` to be set to an extremely large value.

LowTypoFixed

In `VRTVault.sol`, the error message from the modifier `userHasPosition()` is missing a space.

LowUnused EventFixed

Some events are never emitted, which can lead to confusion and code maintainability issues. ```solidity=19 event AdminTransfered(address indexed oldAdmin, address indexed newAdmin); ``` - `AdminTransfered` is declared in `VRTVault` but never emitted.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (7)

  • contracts/XVSVault/XVSVault.sol
  • contracts/Vault/VAIVault.sol
  • contracts/XVSVault/XVSStore.sol
  • contracts/XVSVault/XVSVaultStorage.sol
  • contracts/VRTVault/VRTVaultStorage.sol
  • contracts/Vault/VAIVaultStorage.sol
  • contracts/VRTVault/VRTVault.sol

Part of Venus Protocol’s security record

Venus Protocol
Audits67 audits by 7 firmsLast audit Sep 2025, by Quantstamp.
Critical findingsNo open critical findingsAcross the 67 reports, 4 critical findings were reported. Each is marked fixed by the firm that reported it.
IncidentIncident 12 May 2022Source: De.Fi incident database.
Open Venus Protocol’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 reports · latest May 2025

See CertiK’s audits

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