As of 3 Nov 2026, KyotoSwap has 1 audit report on Trustblock, by CertiK, dated 21 Apr 2023. That report lists no open critical findings.
Record last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Newest first
Statuses are the security firm’s own, from each report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 0 | 0 |
| Medium | 0 | 3 | 1 |
| Low | 9 | 0 | 4 |
The `initialize()` function in the contract `KswapToken` and `MasterChef` is not protected and can be called by anyone.
Open the reportThe contracts have different or unlocked compiler versions. Different or unlocked compiler versions in the source code of the contract permit the user to compile the code at different versions. 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.
Open the reportThe function `migrate()` in the Library `LibTokenLocker` has not been used. It will create a new lock or add the input amount to an existing lock without an actual `lockedToken` transfer from the user. Also, the function does not transfer the redeemed tokens to the users but starts a new lock even if the old lock has expired.
Open the reportPerforming integer division before multiplication truncates the low bits, losing the precision of the calculation. For example: ```solidity=343 user.rewardDebt = user .amount .mul(multiplier) .div(BOOST_PRECISION) .mul(pool.accKswapPerShare) .div(ACC_KSWAP_PRECISION); ``` --- ```solidity=375 user.rewardDebt = user .amount .mul(multiplier) .div(BOOST_PRECISION) .mul(pool.accKswapPerShare) .div(ACC_KSWAP_PRECISION); ``` --- ```solidity=498 user.rewardDebt = user .amount .mul(_newMultiplier) .div(BOOST_PRECISION) .mul(pool.accKswapPerShare) .div(ACC_KSWAP_PRECISION); ```
Open the reportWhen transferring standard ERC20 deflationary tokens, the input amount may not be equal to the received amount due to the charged transaction fee. As a result, an inconsistency in the amount will occur.
Open the reportFunctions that update state variables should emit relevant events as notifications.
Open the reportA reentrancy attack can occur when the contract creates a function that makes an external call to another untrusted contract before resolving any effects. If the attacker can control the untrusted contract, they can make a recursive call back to the original function, repeating interactions that would have otherwise not run after the external call resolved the effects. For example, the linked functions contain state variables that are updated after the external calls and consequentially are vulnerable to potential reentrancy attacks.
Open the reportComparisons that are always true or always false may be incorrect or unnecessary. ```solidity=608 require(_lpToken.balanceOf(address(this)) >= 0, "None BEP20 tokens"); ```
Open the reportThe `SafeMath` library is used unnecessarily. With Solidity compiler versions 0.8.0 or newer, arithmetic operations will automatically revert in case of integer overflow or underflow. For example: ```solidity=38 using SafeMath for uint256; ``` - `SafeMath` library is used for `uint256` type in `MasterChef` contract. ```solidity=190 uint256 multiplier = block.number.sub(pool.lastRewardBlock); ``` - `SafeMath.sub` is called in `pendingKswap` function of `MasterChef` contract. *Note: Only a sample `SafeMath` library usage in this contract is shown above.*
Open the reportThe reports name a repository or files. Open a report to see its scope.
Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.
Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.
<head><script src="https://widget.trustblock.run/project-widget.min.js" defer></script></head><body><divdata-tb-project-widgetdata-tb-project-slug="kyoto-swap"></div></body>
Paste the code where the label should appear. It uses no API credit and updates by itself.
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