Venus wstETH Oracle

QuantstampRepository at commit f638cef

Audit

Part of Quantstamp’s series

Quantstamp reviewed Venus Protocol (Venus wstETH Oracle) on 20 Feb 2024: 2 findings, 0 critical; all acknowledged, none fixed; 1 more marked mitigated.

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

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings6

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

SeverityOpenAcknowledgedFixedMitigated
Critical0000
High0000
Medium0000
Low0201

Marked Informational by the firm. Not counted as findings.

InformationalEnhancing Reliability in stETH to wstETH ConversionAcknowledged

`WstETH` contract contains a specific function that allows getting the amount of `stETH` from `wstETH`: ``` contract WstETH is ERC20Permit { ... function getStETHByWstETH(uint256 _wstETHAmount) external view returns (uint256) { return stETH.getPooledEthByShares(_wstETHAmount); } ... } ``` <br> Using the `stETH` contract directly to compute the `stETH` value from a fixed share value by calling `STETH.getPooledEthByShares(1 ether)` in the `WstETHOracle.getPrice()` function is correct. However, any future upgrade might create unknown results so we strongly recommend using `WstETH.getStETHByWstETH()` instead of the `stETH` contract.

InformationalRedundant ParameterAcknowledged

The `getPrice()` function accepts a parameter but reverts unless it is `WSTETH_ADDRESS`. In this case the parameter is not necessary, however, may still be kept in order to conform to the `OracleInterface`.

InformationalUse of Solidity Version with Known Compiler BugsAcknowledged

The in-scope contract is compiled using Solidity version 0.8.13. According to the [Solidity official's compiler bug list](https://docs.soliditylang.org/en/latest/bugs.html), this version contains several known compiler bugs, specifically 1 medium/high-severity, 2 medium-severity, and 6 low-severity bugs. According to our examination, these bugs seem to not affect the code in scope.

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

  • https://github.com/VenusProtocol/oracle/contracts/oracles/WstETHOracle.sol at commit f638cef

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