Venus Protocol: Native Token Gateway

QuantstampRepository at commit 9fe398b

Audit

Part of Quantstamp’s series

Quantstamp reviewed Venus Protocol (Venus Protocol: Native Token Gateway) on 5 Mar 2024: 1 finding, 0 critical; it is acknowledged, not fixed.

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

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings5

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low010

Marked Informational by the firm. Not counted as findings.

InformationalAlready Approved Borrow Delegates Can Now Redeem as WellAcknowledged

The protocol already allows users the ability to approve delegates to borrow and pay on their behalf. The protocol's upgrade extends the functionalities available to delegates, now includes the ability to redeem underlying collateral on behalf of the vToken holder. This extension is built upon the pre-existing delegate feature, which already permitted delegates to mint, repay, or borrow. The issue is that users approved those borrow delegates under the assumption that they would only be able to borrow on their behalf. However, with this new update, those same borrow delegates are automatically redeem delegates as well.

InformationalDifferent Solidity Versions Used in the Same CodebaseAcknowledged

The isolated pools repository uses Solidity version `0.8.13` in most of the contracts in scope except for the `NativeTokenGateway` contract which uses `0.8.20`. Using different compiler versions brings risks of inconsistent contract behavior. Additionally, some chains do not support the latter version, and deployment might not be possible, or the contracts usage might be hindered by this.

InformationalUnlocked PragmaAcknowledged

Every Solidity file specifies in the header a version number of the format `pragma solidity (^)0.8.*`. The caret (`^`) before the version number implies an unlocked pragma, meaning that the compiler will use the specified version _and above_, hence the term "unlocked".

InformationalEvent Emission for Unchanged Delegate StatusFixed

The `updateDelegate` function emits a `DelegateUpdated` event for every call, even if the delegate's approval status remains unchanged.

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 (6)

  • https://github.com/VenusProtocol/isolated-pools/contracts/Gateway/NativeTokenGateway.sol at commit 9fe398be0b46233feb4de03d6256d445de27cb04
  • https://github.com/VenusProtocol/isolated-pools/contracts/Gateway/Interfaces/IWrappedNative.sol at commit 9fe398be0b46233feb4de03d6256d445de27cb04
  • https://github.com/VenusProtocol/isolated-pools/contracts/ComptrollerStorage.sol at commit 9fe398be0b46233feb4de03d6256d445de27cb04
  • https://github.com/VenusProtocol/isolated-pools/contracts/VToken.sol at commit 9fe398be0b46233feb4de03d6256d445de27cb04
  • https://github.com/VenusProtocol/isolated-pools/contracts/VTokenInterfaces.sol at commit 9fe398be0b46233feb4de03d6256d445de27cb04
  • https://github.com/VenusProtocol/isolated-pools/contracts/Comptroller.sol at commit 9fe398be0b46233feb4de03d6256d445de27cb04

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

Quantstamp

240 projects reviewed · 338 reports · latest Nov 2026

See Quantstamp’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