RareSwap

CertiK3 addresses on Ethereum

CertiK reviewed RareSwap on 12 Sep 2022: 10 findings, 3 critical; 1 marked fixed, 4 acknowledged, 5 open.

2 criticals acknowledged, not fixed
Open the reportOpen RareSwap’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings10

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

SeverityOpenAcknowledgedFixed
Critical021
High010
Medium010
Low500
CriticalCentralization Risk in RARESwapFactory.solAcknowledged

In the contract `RARESwapFactory` the role `feeToSetter` has authority over the functions shown in the diagram below. Any compromise to the `feeToSetter` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/6d77acc7c7264653b0215d0370b946bb/diagrams/centralization-DEGENSwapFactory-feeToSetter.svg) In the contract `RARESwapPair` the role `feeTaker` has authority over the functions shown in the diagram below. Any compromise to the `feeTaker` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/6d77acc7c7264653b0215d0370b946bb/diagrams/centralization-DEGENSwapPair-feeTaker.svg)

CriticalCentralization Risk in RARESwapRouter.solAcknowledged

In the contract `FeeStore` the role `_owner` has authority over the functions below: - feeAdddressSetWhileSwap - setAdminFee Any compromise to the `_owner` account may allow the hacker to take advantage of this authority.

HighHighly likely incompatible functionalitiesAcknowledged

The contract allows token contract to set `basetToken`. However, almost all of the token contracts does not provide such functionality. If the token has such functionality, it is possible for the token to drain the related pool.

MediumThird Party DependenciesAcknowledged

The contract is serving as the underlying entity to interact with third party Itoken interface. The scope of the audit treats 3rd party entities as black boxes and assume their functional correctness. However, in the real world, 3rd parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of 3rd parties can possibly create severe impacts, such as increasing fees of 3rd parties, migrating to new LP pools, etc.

Contracts in scope3

AddressChainSource code
0xf8262a34300a3115dfcb9e46897746673ef7b97dChain: EthereumSource code: Verified source
0x3c34473c1175a7b4eaa697356d6a6dc2618d273fChain: EthereumSource code: Verified source
0x9deeb73e971127b2634d7633182004380774451fChain: EthereumSource code: Verified source

Part of RareSwap’s security record

RareSwap
Audits1 audit by 1 firmLast audit Sep 2022, by CertiK.
Critical findings2 criticals acknowledged, not fixedReported in “RareSwap” by CertiK, Sep 2022. The team acknowledged both.
Open RareSwap’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