Hashflow-Audit3

CertiKFiles named in the report

CertiK reviewed Hashflow (Hashflow-Audit3) on 19 Sep 2022: 9 findings, 0 critical; 6 marked fixed, 1 acknowledged, 2 open.

No open critical findings
Open the reportOpen Hashflow’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings9

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

SeverityOpenAcknowledgedFixed
Critical000
High010
Medium000
Low206
LowInconsistency Between Comment and CodeFixed

There is an inconsistency between code and comment on L654. The comments for multi-hop trades is incorrectly placed in the single-hop trade code block.

LowInefficient Conditional StatementFixed

Comparison `percentWithdrawLimit >= 0`, that is always true, may be unnecessary. ```solidity=119 require( percentWithdrawLimit >= 0 && percentWithdrawLimit <= 100, 'HashflowGovernance: Number should be a percentage.' ); ```

LowLack of Storage Gap in Upgradeable ContractFixed

For upgradeable contracts, there must be a storage gap to "allow developers to freely add new state variables in the future without compromising the storage compatibility with existing deployments". Otherwise, it may be very difficult to write new implementation code. Without storage gap, the variable in the child contract might be overwritten by the upgraded base contract if new variables are added to the base contract. Refer to https://docs.openzeppelin.com/upgrades-plugins/1.x/writing-upgradeable

LowMissing Pool Authority Check in RFQt Cross ChainFixed

In contract `HashflowRouter`, function `tradeXChain()` proceeds without using `_isPoolAuthorized()` function to confirm if the quote.pool is allowed, whereas this check is carried out in RFQm process.

LowTypos in Comments and Error MessagesFixed

Several typos were found in the comments of different files.

LowUser-Defined GettersFixed

The linked functions are equivalent to the compiler-generated getter functions for the respective variables.

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

  • contracts/HashflowRouter.sol
  • contracts/HashflowFactory.sol
  • contracts/core/HashflowERC20.sol
  • contracts/HashflowGovernance.sol
  • contracts/pools/HashflowPrivatePool.sol
  • contracts/pools/HashflowPublicPool.sol
  • contracts/pools/HashflowPool.sol
  • contracts/xchain/HashflowXChainUA.sol

Part of Hashflow’s security record

Hashflow
Audits4 audits by 3 firmsLast audit Mar 2023, by Quantstamp.
Critical findingsNo open critical findingsAcross 4 reports.
IncidentIncident 13 Jun 2023Source: De.Fi incident database.
Open Hashflow’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 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