L2Finance audit reports

L2Finance has 1 public audit report from CertiK; dated 2 May 2023; no critical findings reported.

Critical and high findings
No open critical findings; 2 high acknowledged in the firms’ reports
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
L2FinanceSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 2 high · 3 medium · 6 low
7 fixed · 4 acknowledged
skynet.certik.com ↗

Findings11

11 findings in 1 report: 7 fixed, 4 acknowledged (the team chose not to change the code), none open.

SeverityAcknowledgedFixed
Critical00
High20
Medium21
Low06

Not fixed (4)

HighAcknowledgedCentralization Risks in L2Finance.solL2Finance · CertiK · 2 May 2023

In the contract `Ownable` 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 transfer the ownership to any address. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dafc365c1b904954919c64aed0829ca6/diagrams/centralization_L2Finance-Ownable-_owner.svg) In the contract `HasNoEther` the role `_owner` has authority over the functions shown in the diagram below. This centralization risk may lead to a single point of failure and gives the owner significant control over the contract's behavior: 1. `reclaimEther()` - allows the owner to transfer all ether in the contract to the owner. 2. `reclaimToken()` - allows the owner to transfer any type of ERC20 in the contract to the owner. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority and bring unpredictable damages to the project. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dafc365c1b904954919c64aed0829ca6/diagrams/centralization_L2Finance-HasNoEther-_owner.svg) In the contract `L2Finance` 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 `sellBurnFee`, set the `excludeFee`/`_open`/`_key`, set the `_swap` and `_swapAllow` to block certain users from swapping functionality. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dafc365c1b904954919c64aed0829ca6/diagrams/centralization_L2Finance-L2Finance-_owner.svg)

Report ↗
HighAcknowledgedInitial Token DistributionL2Finance · CertiK · 2 May 2023

All L2FI tokens are sent to the deployer when deploying the contract. This could be a centralization risk as the deployer can distribute tokens without obtaining the consensus of the community.

Report ↗
MediumAcknowledgedIncompatibility with Deflationary TokensL2Finance · CertiK · 2 May 2023

When transferring deflationary ERC20 tokens, the input amount may not be equal to the received amount due to the charged transaction fee. For example, if a user sends 100 deflationary tokens (with a 10% transaction fee), only 90 tokens actually arrived to the contract. However, a failure to discount such fees may allow the same user to withdraw 100 tokens from the contract, which causes the contract to lose 10 tokens in such a transaction. Reference: https://thoreum-finance.medium.com/what-exploit-happened-today-for-gocerberus-and-garuda-also-for-lokum-ybear-piggy-caramelswap-3943ee23a39f ```solidity=843 bool success = IERC20(_usdtAddr).transferFrom(_msgSender(), address(this), amountUSDTIn); ``` - Transferring tokens by `amountUSDTIn`. ```solidity=841 uint256 amountL2FIOut = _getL2FIOut(amountUSDTIn, poolL2FIBal, poolUSDTBal); ``` - This function call executes the following operation. - In `L2Finance._getL2FIOut`, - `uint256 denominator = poolUSDTBal.add(amountUSDTIn);` - In `SafeMath.add`, - `uint256 c = a + b;` - The `amountUSDTIn` appears to be used for bookkeeping purposes without compensating the potential transfer fees. --- ```solidity=861 bool success = IERC20(_usdtAddr).transferFrom(_msgSender(), address(this), amountUSDTIn); ``` - Transferring tokens by `amountUSDTIn`. ```solidity=859 uint256 amountL2FIOut = _getL2FIOut(amountUSDTIn, poolL2FIBal, poolUSDTBal); ``` - This function call executes the following operation. - In `L2Finance._getL2FIOut`, - `uint256 denominator = poolUSDTBal.add(amountUSDTIn);` - In `SafeMath.add`, - `uint256 c = a + b;` - The `amountUSDTIn` appears to be used for bookkeeping purposes without compensating the potential transfer fees.

Report ↗
MediumAcknowledgedLogical issues in reclaimToken functionL2Finance · CertiK · 2 May 2023

The function `reclaimToken()` can be called by the owner to drain all ERC20 tokens in the contract, including the USDT and the L2FI. This is both a centralization issue and a logical issue.

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

L2Finance: questions

Is L2Finance audited?

Trustblock holds 1 public audit report for L2Finance, dated 2 May 2023. The latest is by CertiK (“L2Finance”).

Who audited L2Finance?

CertiK wrote the report Trustblock holds for L2Finance.

Are there open findings in L2Finance’s audits?

4 findings are still open or acknowledged in the firms’ reports: 2 high, 2 medium (all acknowledged). No critical finding is reported. 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