1inch Exchange

CertiKFiles named in the report

CertiK reviewed 1inch Network (1inch Exchange) on 15 Nov 2020: 8 findings, 0 critical; 3 marked fixed, 5 open.

No open critical findings
Open the reportOpen 1inch Network’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings8

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium100
Low403
MediumPausable contract not externally unpausableOpen

The `_unpause` function in the `Pausable` contract is not exposed, meaning that an accidental invocation of the `pause` function is irreversible.

LowNon-optimal flags storage typeOpen

The `flags` variable could be reduced in size to be tight-packed with the address declaration that follows it by setting its size to `uint96` permitting 96 different flags. This would reduce the total storage cost of the `SwapDescription` to 7 from 8 if we do not factor in the `permit` variable.

LowUnlocked Solidity compiler versionsOpen

An unlocked compiler version in the source code of the contract permits the user to compile it at or above a particular version. This, in turn, leads to differences in the generated bytecode between compilations due to differing compiler version numbers. This can lead to ambiguity when debugging as compiler-specific bugs may occur in the codebase that would be hard to identify over a span of multiple compiler versions rather than a specific one.

LowUnnecessary `else` statement in `uniBalanceOf` imOpen

The `uniBalanceOf` function can skip the `else`-block implementation and directly return the specific value after the `if`-condition is not me

LowUsage of if-revert pattern over requireOpen

The `swap` function in the `OneInchExchange` contract contains the usage of the if-revert pattern over using a require clause, which may be deprecated in the future: ```solidity if (!desc.flags.isDiscountChi()) { revert(RevertReasonParser.parse(reason, "Swap failed: ")); } ```

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

  • contracts/helpers/RevertReasonParser.sol
  • contracts/OneInchFlags.sol
  • contracts/GasDiscountCalculator.sol
  • contracts/OneInchExchange.sol
  • contracts/helpers/UniERC20.sol

Part of 1inch Network’s security record

1inch Network
Audits42 audits by 13 firmsLast audit Jul 2026, by Hexens.
Critical findings2 open critical findingsReported in “1inch Liquidity Protocol” by Consensys, Dec 2020. Not marked fixed in that report.
IncidentIncident 6 Mar 2025Source: De.Fi incident database.
Open 1inch Network’s security record

Security firm

CertiK

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