Idle Governance

QuantstampFiles named in the report

Quantstamp reviewed Idle Finance (Idle Governance) on 26 Oct 2020: 8 findings, 0 critical; 6 marked fixed, 2 acknowledged.

No open critical findings
Open the reportOpen Idle Finance’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings8

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium001
Low025
LowGas Usage / `for` Loop ConcernsAcknowledged

Gas usage is a main concern for smart contract developers and users, since high gas costs may prevent users from wanting to use the smart contract. Even worse, some gas usage issues may prevent the contract from providing services entirely. For example, if a `for` loop requires too much gas to exit, then it may prevent the contract from functioning correctly entirely. It is best to break such loops into individual functions as possible. In particular, for `contracts/IdleController.sol`, if many markets are added, `refreshIdleSpeedsInternal()` may run into issues. **update-2020-10-26**: Idle Team added a `_resetMarkets` method which should completely remove all markets in case of emergency. Gas analysis was also conducted successfully.

LowPrivileged RolesAcknowledged

(a) For `contracts\PriceOracle.sol`, a potentially malicious owner (if the private key was leaked) can change the feed contract addresses/block length to give incorrect price oracles that can affect the token. While privileged roles for the Idle token are addressed in https://developers.idle.finance/advanced/admin-powers, it is not addressed for the price oracle. (b) For `contracts/IdleController.sol`, the admin can manipulate the rate of tokens in which each market receives by adding/removing idle markets to the list. **update-2020-10-26**: Idle Team stated that the owner of the `PriceOracle.sol` and the `IdleController.sol` contracts will be the Timelock contract (i.e., the governance itself) directly on deploy.

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

  • contracts/mocks/ChainLinkOracleMock.sol
  • contracts/Unitroller.sol
  • contracts/mocks/IdleTokenMock.sol
  • contracts/mocks/Token8Mock.sol
  • contracts/mocks/PriceOracleMock.sol
  • contracts/lib/CarefulMath.sol
  • contracts/interfaces/IdleToken.sol
  • contracts/interfaces/ChainLinkOracle.sol
  • contracts/interfaces/Comptroller.sol
  • contracts/Migrations.sol
  • contracts/ERC20Permit.sol
  • contracts/Reservoir.sol
  • contracts/Idle.sol
  • contracts/IdleControllerStorage.sol
  • contracts/Timelock.sol
  • contracts/interfaces/CERC20.sol
  • contracts/GovernorAlpha.sol
  • contracts/IdleController.sol
  • contracts/mocks/CERC20Mock.sol
  • contracts/PriceOracle.sol
  • contracts/EcosystemFund.sol
  • contracts/mocks/TokenMock.sol
  • contracts/Vester.sol
  • contracts/EarlyRewards.sol
  • contracts/lib/Exponential.sol
  • contracts/mocks/ComptrollerMock.sol
  • contracts/VesterFactory.sol

Part of Idle Finance’s security record

Idle Finance
Audits3 audits by 2 firmsLast audit Jun 2021, by Consensys.
Critical findingsNo open critical findingsAcross 3 reports.
Open Idle Finance’s security record

Security firm

Quantstamp

236 projects reviewed · 332 reports · latest Oct 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