Tokemak audit and security record

Base, Ethereumtokemak.xyzXGitHub

Tokemak has 7 public audit reports from Hexens and Quantstamp; the latest is Hexens, 1 Jul 2026. 89 findings in 7 reports: 47 fixed, 1 mitigated, 8 acknowledged, none open, 33 informational.

Open the latest report

Your label, liveGet it for your site

Trustblock: Last audit Jul 2026. Hexens. 7 reports, 2 firms. 47 of 55 findings fixedLast audit Jul 2026 · Hexens7 reports, 2 firms · 47 of 55 findings fixed

Updated · Trustblock does not review code.

Skip to the sections

The record over time

Bar height: findings in the report · Select a mark to open it

Audit reports 7
Incidents 0
None on record
01 · Reviews

Who audited Tokemak?

7reports from 2 firms, Jul 2021 to Jul 2026
89 findings, by severity
Critical
2
High
10
Medium
18
Low
26
Informational
33
Fixed 47Mitigated 1Acknowledged 8Open 0Statuses are each firm’s own.

Not fixed (8)

HighAcknowledgedManager's Decisions Are Made Off the ChainTokemak · Quantstamp · 29 Jul 2021

The core flow of the system (i.e., supplying liquidity) is currently carried out by the admin team in an off-chain fashion. Precisely put, the calculations of slashing, reward distributions, and asset allocations take place of the chain. Based upon those calculations, the manager submits the transactions to the blockchain. This design assumes a high trust in the manager. The manager can be compromised or go rogue in which case users can lose funds.

Report ↗
MediumAcknowledgedUser can bypass duration lock of their deposit when migratingTokemak Acctoke Migration security review · Hexens · 7 Oct 2024

The report gives no description here.

Report ↗
MediumAcknowledgedStake Without Locking FundsTokemak · Quantstamp · 29 Jul 2021

An attacker can obtain staking power if there is any `schedule` with a passed `hardStart`. The code never checks if funds are being deposited to an already expired `schedule`. Moreover, the code does not unset the `isActive` flag for expired schedules. This could result in a malicious user staking a large amount of funds in order to vote for their favorable target controller followed with an immediate withdraw of their funds. This scenario could be used as a utility to conduct a more complex attack.

Report ↗
LowAcknowledgedLack of dynamic price stale check adjustment mechanismTokemak Mainnet Follow Up security review · Hexens · 20 Aug 2024

The report gives no description here.

Report ↗
LowAcknowledgedAllowance Double-Spend ExploitTokemak · Quantstamp · 29 Jul 2021

As it presently is constructed, the contract is vulnerable to the [allowance double-spend exploit](https://github.com/OpenZeppelin/openzeppelin-solidity/blob/b4f87bb8fc25fb07f73099701e39e167a3d36465/contracts/token/ERC20/ERC20.sol#L71-L78), as with other ERC20 tokens.

Report ↗
Show all 8 ↓
LowAcknowledgedFunds Held in `BalancerController` Could be DrainedTokemak · Quantstamp · 29 Jul 2021

The visibility of function `deploy` and `withdraw` are set to `external` and without any permission check. With this, an attacker can withdraw all the funds that are in the other pools first, then drain the funds returned to the contract by deploying funds into a malicious pool under the attacker’s control. Right now, the manager uses the vulnerable controller through delegate calls. Therefore, the manager’s storage is used for the platform funds. If someone directly calls the controller it would net no funds.

Report ↗
LowAcknowledgedGas Usage / `for` Loop ConcernsTokemak · Quantstamp · 29 Jul 2021

Some loops are not capped at a max number of supported iterations. This has certain implications on the gas usage. > 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. Listed are the loops that we deem as unsafe with respect to gas usage: 1. `contracts/manager/Manager.sol:executeMaintenance:L125` function: ```solidity=125 for (uint256 x = 0; x < params.cycleSteps.length; x++) ``` 2. `contracts/manager/Manager.sol:executeRollover:L147` function: ```solidity=147 for (uint256 x = 0; x < params.cycleSteps.length; x++) { _executeControllerCommand(params.cycleSteps[x]); } ``` 3. `contracts/manager/Manager.sol:L152` ```solidity=152 for (uint256 y = 0; y < params.poolsForWithdraw.length; y++) ``` 4. contracts/staking/Staking.sol:102~104: ```solidity=102 for(uint256 i = 0; i < length; i++) { retSchedules[i] = StakingScheduleInfo(schedules[scheduleIdxs.at(i)], scheduleIdxs.at(i)); } ```

Report ↗
LowAcknowledgedUnlocked PragmaTokemak · Quantstamp · 29 Jul 2021

Every Solidity file specifies in the header a version number of the format `pragma solidity (^)0.4.*`. 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". Different versions of Solidity is used: ``` - Version used: ['0.6.11', '>=0.4.24<0.8.0', '>=0.5.0', '>=0.6.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0', '^0.6.0', '^0.6.5'] - ^0.6.5 (node_modules/@0x/contracts-erc20/contracts/src/v06/IERC20TokenV06.sol#20) - ^0.6.5 (node_modules/@0x/contracts-utils/contracts/src/v06/LibSafeMathV06.sol#20) - ^0.6.5 (node_modules/@0x/contracts-utils/contracts/src/v06/errors/LibRichErrorsV06.sol#20) - ^0.6.5 (node_modules/@0x/contracts-utils/contracts/src/v06/errors/LibSafeMathRichErrorsV06.sol#20) - ^0.6.5 (node_modules/@0x/contracts-zero-ex/contracts/src/errors/LibNativeOrdersRichErrors.sol#20) - ^0.6.5 (node_modules/@0x/contracts-zero-ex/contracts/src/errors/LibSignatureRichErrors.sol#20) - ^0.6.5 (node_modules/@0x/contracts-zero-ex/contracts/src/features/interfaces/INativeOrdersEvents.sol#20) - ABIEncoderV2 (node_modules/@0x/contracts-zero-ex/contracts/src/features/interfaces/INativeOrdersEvents.sol#21) - ^0.6.5 (node_modules/@0x/contracts-zero-ex/contracts/src/features/interfaces/INativeOrdersFeature.sol#20) - ABIEncoderV2 (node_modules/@0x/contracts-zero-ex/contracts/src/features/interfaces/INativeOrdersFeature.sol#21) - ^0.6.5 (node_modules/@0x/contracts-zero-ex/contracts/src/features/libs/LibNativeOrder.sol#20) - ABIEncoderV2 (node_modules/@0x/contracts-zero-ex/contracts/src/features/libs/LibNativeOrder.sol#21) - ^0.6.5 (node_modules/@0x/contracts-zero-ex/contracts/src/features/libs/LibSignature.sol#20) - ABIEncoderV2 (node_modules/@0x/contracts-zero-ex/contracts/src/features/libs/LibSignature.sol#21) - >=0.6.0 (node_modules/@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol#2) - ^0.6.0 (node_modules/@gnosis.pm/mock-contract/contracts/MockContract.sol#1) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/math/MathUpgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol#3) - >=0.4.24<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol#4) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/SafeERC20Upgradeable.sol#3) - >=0.6.2<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/access/AccessControl.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/access/Ownable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/cryptography/ECDSA.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/cryptography/MerkleProof.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/math/Math.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/math/SafeMath.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/token/ERC20/SafeERC20.sol#3) - >=0.6.2<0.8.0 (node_modules/@openzeppelin/contracts/utils/Address.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/utils/Context.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/utils/EnumerableSet.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/utils/Pausable.sol#3) - >=0.6.0<0.8.0 (node_modules/@openzeppelin/contracts/utils/SafeCast.sol#3) - >=0.5.0 (node_modules/@sushiswap/core/contracts/uniswapv2/interfaces/IUniswapV2ERC20.sol#3) - >=0.5.0 (node_modules/@sushiswap/core/contracts/uniswapv2/interfaces/IUniswapV2Factory.sol#3) - >=0.6.2 (node_modules/@sushiswap/core/contracts/uniswapv2/interfaces/IUniswapV2Router01.sol#3) - >=0.6.2 (node_modules/@sushiswap/core/contracts/uniswapv2/interfaces/IUniswapV2Router02

Report ↗
Latest Tokemak audit reports
Auto Finance · Hexens · 1 medium · 4 lowTokemak security review · Hexens · 2 medium · 1 lowTokemak security review · Hexens · 1 critical · 1 high · 1 medium · 2 lowTokemak Acctoke Migration security review · Hexens · 1 critical · 3 medium · 3 low
All 7 Tokemak audit reports
ReportSecurity firmDateScopeCritical findingsFindingsSource
Auto FinanceSecurity firm: HexensDate: Scope: Not recorded; see the reportNone openFindings: 1 medium · 4 low
5 fixed
GitHub ↗
Tokemak security reviewSecurity firm: HexensDate: Scope: Not recorded; see the reportNone openFindings: 2 medium · 1 low
3 fixed
GitHub ↗
Tokemak security reviewSecurity firm: HexensDate: Scope: Not recorded; see the report1 critical finding, fixedFindings: 1 critical · 1 high · 1 medium · 2 low
5 fixed
GitHub ↗
Tokemak Acctoke Migration security reviewSecurity firm: HexensDate: Scope: Not recorded; see the report1 critical finding, fixedFindings: 1 critical · 3 medium · 3 low
6 fixed · 1 acknowledged
GitHub ↗
Tokemak Mainnet Follow Up security reviewSecurity firm: HexensDate: Scope: Not recorded; see the reportNone openFindings: 2 medium · 2 low
3 fixed · 1 acknowledged
GitHub ↗
Tokemak security reviewSecurity firm: HexensDate: Scope: Not recorded; see the reportNone openFindings: 7 high · 8 medium · 6 low
21 fixed
GitHub ↗
TokemakSecurity firm: QuantstampDate: Scope: Files listedNone openFindings: 2 high · 1 medium · 8 low
4 fixed · 6 acknowledged
certificate.quantstamp.com ↗
02 · Control

Who can change it?

Contracts2

AddressChainSource code
0x2e9d63788249371f1dfc918a52f8d799f4a38c94Chain: EthereumSource code: Verified source (exact match, checked 13 Sep 2026)
0x2e9d63788249371f1dfc918a52f8d799f4a38c94Chain: BaseSource code: Verified source

All 2 addresses and the files the reports name

05 · Incidents

Has Tokemak been hacked?

0incidents on record
06 · Protection

What protects Tokemak day to day?

Bug bounty · platform, largest reward, scopeNot recorded yet
Operational security · certifications heldNot recorded yet
Monitoring · Teamcoming soon

Tokemak security: common questions

Is Tokemak audited?

Trustblock holds 7 public audit reports for Tokemak, dated 29 Jul 2021 to 1 Jul 2026. The latest is by Hexens (“Auto Finance”).

Who audited Tokemak?

2 security firms wrote the reports Trustblock holds for Tokemak: Hexens and Quantstamp.

Are there open findings in Tokemak’s audits?

89 findings in 7 reports: 47 fixed, 1 mitigated, 8 acknowledged (the team chose not to change the code), none open, 33 informational. Of 2 critical findings: all marked fixed by the firms. Statuses are the security firms’ own.

Has Tokemak been hacked?

No incident is on record for Tokemak. Public incident reports, last checked 27 Nov 2026.

How this record is made. Public reports from each firm and what the chain itself answers, each read twice and compared with the original. No score, no grade. Method and limits · Something wrong? Tell us