RareSwap has 1 public audit report from CertiK; dated 12 Sep 2022; 3 critical findings, 2 acknowledged, not fixed, 1 marked fixed. It also holds 3 deployed contracts on 1 chain.
Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.
Newest first
| Report | Security firm | Date | Scope | Critical findings | Findings | Source |
|---|---|---|---|---|---|---|
| RareSwap | Security firm: CertiK | Date: | Scope: 3 addresses on Ethereum | 2 criticals acknowledged, not fixed | Findings: 3 critical · 1 high · 1 medium · 5 low 1 fixed · 4 acknowledged · 5 open | skynet.certik.com ↗ |
10 findings in 1 report: 1 fixed, 4 acknowledged (the team chose not to change the code), 5 open.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 2 | 1 |
| High | 0 | 1 | 0 |
| Medium | 0 | 1 | 0 |
| Low | 5 | 0 | 0 |
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.  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. 
Report ↗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.
Report ↗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.
Report ↗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.
Report ↗`public` functions that are never called by the contract could be declared as `external`. `external` functions are more efficient than `public` functions.
Report ↗There should always be events emitted in the sensitive functions that are controlled by centralization roles.
Report ↗The **require** can be used to check for conditions and throw an exception if the condition is not met. It is better to provide a string message containing details about the error that will be passed back to the caller.
Report ↗| Address | Chain | Source code |
|---|---|---|
| 0xf826…b97d0xf8262a34300a3115dfcb9e46897746673ef7b97d | Chain: Ethereum | Source code: Verified source |
| 0x3c34…273f0x3c34473c1175a7b4eaa697356d6a6dc2618d273f | Chain: Ethereum | Source code: Verified source |
| 0x9dee…451f0x9deeb73e971127b2634d7633182004380774451f | Chain: Ethereum | Source code: Verified source |
Trustblock holds 1 public audit report for RareSwap, dated 12 Sep 2022. The latest is by CertiK (“RareSwap”).
CertiK wrote the report Trustblock holds for RareSwap.
9 findings are still open or acknowledged in the firms’ reports: 2 critical, 1 high, 1 medium, 5 low (5 open, 4 acknowledged). Of 3 critical findings: 2 acknowledged, not fixed, 1 marked fixed. Statuses are the security firms’ own.
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