KyotoSwap security record

BNB Chainkyotoswap.io

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.

Critical findings
No open critical findings
In 1 report.
Open the latest report
Your label, live
Get the label for your site

Record last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

AuditSecurity firmDateScopeCritical findingsReport
KyotoSwapSecurity firm: CertiKDate: Scope: Files named in the reportNo open critical findingsOpen · skynet.certik.com

Findings17

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium031
Low904
Low`initialize()` Can Be Called by AnyoneKyotoSwap · CertiK · 21 Apr 2023Open

The `initialize()` function in the contract `KswapToken` and `MasterChef` is not protected and can be called by anyone.

Open the report
LowDifferent Or Unlocked Compiler VersionKyotoSwap · CertiK · 21 Apr 2023Open

The 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 report
LowDiscussion On Function `migrate()`KyotoSwap · CertiK · 21 Apr 2023Open

The 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 report
LowDivide Before MultiplyKyotoSwap · CertiK · 21 Apr 2023Open

Performing 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 report
LowIncompatibility With Deflationary TokensKyotoSwap · CertiK · 21 Apr 2023Open

When 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 report
LowMissing Emit EventsKyotoSwap · CertiK · 21 Apr 2023Open

Functions that update state variables should emit relevant events as notifications.

Open the report
LowPotential Reentrancy AttackKyotoSwap · CertiK · 21 Apr 2023Open

A 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 report
LowTautology or ContradictionKyotoSwap · CertiK · 21 Apr 2023Open

Comparisons 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 report
LowUnnecessary Use of SafeMathKyotoSwap · CertiK · 21 Apr 2023Open

The `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 report

Contracts

No deployed address is recorded for these audits.

The reports name a repository or files. Open a report to see its scope.

The repositories and files the reports name

Show this on your site

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.

Content

Facts

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.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-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