FibSWAP DEx - Audit 2

CertiKFiles named in the report

CertiK reviewed FibSwapDex (FibSWAP DEx - Audit 2) on 4 Oct 2022: 5 findings, 0 critical; 1 marked fixed, 1 acknowledged, 3 open.

No open critical findings
Open the reportOpen FibSwapDex’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings5

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

SeverityOpenAcknowledgedFixed
Critical000
High300
Medium000
Low011
HighCentralization Risks in Fibswap.solOpen

In the contract `Fibswap` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and change the contract state variables and the contract behavior. ![](https://accelerator-tasks-prod.acc.corp.certik.com/205b0975c01e4910ad626f798686b0c1/diagrams/centralization_Fibswap-Fibswap-_owner.svg) ![](https://accelerator-tasks-prod.acc.corp.certik.com/205b0975c01e4910ad626f798686b0c1/diagrams/centralization_Fibswap-OwnableUpgradeable-_owner.svg) ![](https://accelerator-tasks-prod.acc.corp.certik.com/205b0975c01e4910ad626f798686b0c1/diagrams/centralization_Fibswap-OwnerPausableUpgradeable-_owner.svg)

HighCentralized Control of Contract UpgradeOpen

`Fibswap` is an upgradeable contract, the owner can upgrade the contract without the community's commitment. If an attacker compromises the account, he can change the implementation of the contract and drain tokens from the contract.

HighPotential Centralization RisksOpen

According to the contract logic, the user calls `xcall` to transfer tokens to this chain, and then the router calls `execute` to transfer tokens to the `dest` address on the other chain. There is a potential centralization risk, the router can choose to call `execute` or not, or the router can just call `removeLiquidity` to withdraw tokens that belong to the user. The user needs to know this potential risk.

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

  • contracts/Fibswap.sol
  • contracts/Executor.sol

Part of FibSwapDex’s security record

FibSwapDex
Audits1 audit by 1 firmLast audit Oct 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open FibSwapDex’s security record

Security firm

CertiK

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