RAI Finance audit reports

Base, BNB Chain, Ethereumrai.financeXGitHub

RAI Finance has 1 public audit report from CertiK; dated 26 Oct 2022; 1 critical finding, 1 acknowledged, not fixed. It also holds 3 deployed contracts on 3 chains.

Critical findings
1 critical acknowledged, not fixed
Reported in “RAI Finance” by CertiK, Oct 2022. The team acknowledged it. See the findings
High findings
3 high open in the firms’ reports
Statuses are the security firms’ own. See the open and acknowledged findings
Open the latest report
Your label, live
Get the label for your site

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

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
RAI FinanceSecurity firm: CertiKDate: Scope: Files listed1 critical acknowledged, not fixedFindings: 1 critical · 5 high · 2 medium · 4 low
7 fixed · 2 acknowledged · 3 open
skynet.certik.com ↗

Findings12

12 findings in 1 report: 7 fixed, 2 acknowledged (the team chose not to change the code), 3 open.

SeverityOpenAcknowledgedFixed
Critical010
High302
Medium011
Low004

Not fixed (5)

CriticalAcknowledgedCentralization Risk in Controller.solRAI Finance · CertiK · 26 Oct 2022

In the contract, `Controller`, the role, `_owner`, has the authority over the functions shown in the diagram below. Any compromise to the privileged account which has access to `_owner` may allow the hacker to take advantage of this and drain out all `portfolio` assets by adding hacked module. ![](https://accelerator-tasks-prod.acc.corp.certik.com/6aaa6dba5d8943948d210605ffea44dd/Controller-_owner.svg) In the contract, `Controller`, the role, `isFactory`, has the authority over the functions shown in the diagram below. Any compromise to the privileged account which has access to `isFactory` may allow the hacker to take advantage of this. ![](https://accelerator-tasks-prod.acc.corp.certik.com/6aaa6dba5d8943948d210605ffea44dd/Controller-isFactory.svg)

Report ↗
HighOpenCalling `removeModule` Should Be LimitedRAI Finance · CertiK · 26 Oct 2022

The `manager` can call `removeModule` at any time, if `PortfolioModule` is removed, `PortfolioModule.redeem` can not be called on this `portfolio`, users can not `redeem` their assets. So limit calling `removeModule` is necessary.

Report ↗
HighOpenCentralization Risk in PortfolioFactory.solRAI Finance · CertiK · 26 Oct 2022

In the contract, `PortfolioFactory`, the role, `_owner`, has the authority over the functions shown in the diagram below. Any compromise to the privileged account which has access to `_owner` may allow the hacker to take advantage of this and [fixme]. ![](https://accelerator-tasks-prod.acc.corp.certik.com/6aaa6dba5d8943948d210605ffea44dd/PortfolioFactory-_owner.svg)

Report ↗
HighOpenMalicious Users Can Create And Manipulate `PortfoRAI Finance · CertiK · 26 Oct 2022

Everyone can call `PortfolioFactory.create` to create a `Portfolio` with specified `manager`. The `manager` can call `ManagerModule.trade` to swap one token to another token, malicious users can get profit from this `trade`, but the assets of `Portfolio` are lost. An example looks like `Sandwich Attacks`, the `manager` calls the function `ManagerModule.trade` with meager `_minReceiveQuantity` value, and sandwich attack himself to get profit.

Report ↗
MediumAcknowledgedLack of restrictions when calling `removeXXX`RAI Finance · CertiK · 26 Oct 2022

The contract owner can call `removePortfolio`/`removeFactory`/`removeModule`/`removeResource` at any time, some functionalities depend on these values, for example, `PortfolioModule.redeem` can not be called when `portfolio` removed from the controller. So calling these functions should be limited to guarantee normal function logic.

Report ↗

Contracts3

AddressChainSource code
0x1a28ed8472f644e8898a169a644503b779748d6eChain: BNB ChainSource code: Verified source
0xb49fa25978abf9a248b8212ab4b87277682301c0Chain: EthereumSource code: Verified source
0x703d57164ca270b0b330a87fd159cfef1490c0a5Chain: BaseSource code: Verified source

All 3 addresses and the files the reports name

RAI Finance: questions

Is RAI Finance audited?

Trustblock holds 1 public audit report for RAI Finance, dated 26 Oct 2022. The latest is by CertiK (“RAI Finance”).

Who audited RAI Finance?

CertiK wrote the report Trustblock holds for RAI Finance.

Are there open findings in RAI Finance’s audits?

5 findings are still open or acknowledged in the firms’ reports: 1 critical, 3 high, 1 medium (3 open, 2 acknowledged). Of 1 critical finding: 1 acknowledged, not 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