Labrado audit reports

BNB Chain, Ethereumlbrd.xyzGitHub

Labrado has 1 public audit report from CertiK; dated 17 Oct 2022; 1 critical finding, marked fixed by the firm.

Critical and high findings
No open critical findings; 1 high acknowledged in the firms’ reports
In that report, 1 critical finding was reported. It is marked fixed by the firm that reported it. 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
Labrado - AuditSecurity firm: CertiKDate: Scope: Files listed1 critical finding, fixedFindings: 1 critical · 1 high · 9 low
4 fixed · 1 acknowledged · 6 open
skynet.certik.com ↗

Findings11

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

SeverityOpenAcknowledgedFixed
Critical001
High010
Medium000
Low603

Not fixed (7)

HighAcknowledgedCentralization Related RisksLabrado - Audit · CertiK · 17 Oct 2022

In the contract `LabradoRouter02` the role `admin` has authority over the functions shown in the diagram below. Any compromise to the `admin` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/45b7966d4f85489c8c95f255c3e44403/diagrams/centralization_LabradoRouter02-LabradoRouter02-admin.svg) In the contract `LabradoFactory` the role `admin` has authority over the functions shown in the diagram below. Any compromise to the `admin` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/45b7966d4f85489c8c95f255c3e44403/diagrams/centralization_LabradoFactory-LabradoFactory-admin.svg) In the contract `LabradoPair` the role `factory` has authority over the functions shown in the diagram below. Any compromise to the `factory` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/45b7966d4f85489c8c95f255c3e44403/diagrams/centralization_LabradoPair-LabradoPair-factory.svg) In the contract `LabradoPair` the role `routers` has authority over the functions shown in the diagram below. Any compromise to the `routers` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/45b7966d4f85489c8c95f255c3e44403/diagrams/centralization_LabradoPair-LabradoPair-routers.svg) In the contract `Excalibur` 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/45b7966d4f85489c8c95f255c3e44403/diagrams/centralization_Excalibur-Excalibur-_owner.svg) In the contract `LabradoToken` 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/45b7966d4f85489c8c95f255c3e44403/diagrams/centralization_LabradoToken-LabradoToken-_owner.svg) In the contract `LabradoBaseNFT` the role `DEFAULT_ADMIN_ROLE` has authority over the following functions. - `setBaseUri()` Any compromise to the `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority. In the contract `LabradoBaseNFT` the role `MINTER_ROLE` has authority over the following functions. - `mint()` - `mintByBatch()` Any compromise to the `MINTER_ROLE` account may allow the hacker to take advantage of this authority. In the contract `LabradoOperator` the role `DEFAULT_ADMIN_ROLE` has authority over the following functions. - `setSupportTokens()` - `setSupportNfts()` - `setOperatorWalletTokens()` - `setOperatorWalletNFTs()` - `pause()` - `unpause()` - `withdrawTokensStuck()` - `withdrawAllTokensStuck()` Any compromise to the `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority. In the contract `LabradoOperator`, the users' tokens and native tokens will be stored in two wallet accounts, `operatorWalletTokens` and `operatorWalletNFTs`. Any compromise to the `operatorWalletTokens` account and `operatorWalletNFTs` account may allow the hacker to take advantage of this authority.

Report ↗
LowOpenDiscussion of the contract `LabradoOperator`Labrado - Audit · CertiK · 17 Oct 2022

According to the codes in the contract `LabradoOperator`, the users can use the function `depositToken()` for the deposit of ERC20 tokens or native tokens, which transfers the tokens to the address `operatorWalletTokens` directly, and can use the function `depositNFT()` for the NFT deposit, which transfers the NFT to the address `operatorWalletNFTs` directly. These deposits are not recorded in the contract and there are no functions to withdraw the users' ERC20 tokens, native tokens, and NFTs.

Report ↗
LowOpenDiscussion of the variables `openSwap` and `openALabrado - Audit · CertiK · 17 Oct 2022

According to the protocol, the variables `openSwap` and `openAddLiquidity` are used to limit whether anyone can use the swap and add liquidity functions. These variables can be updated by the privileged roles. The `Labrado` is a decentralized crypto trading protocol and may be used by other contracts as a third-party dependency. When the two variables are false, some logic in the contracts depended on the swap and add liquidity functions may fail. For examples: 1. In Deflationary Tokens(like SafeMoon), accumulated transfer fees will be used to add liquidity in the call of transfer. In this condition, the add liquidity function is forbidden and the call of transfer will fail. 2. In some DeFi protocols, the contract may call the swap function to swap tokens to match their logic. In this condition, the swap function is forbidden and the logic in these contracts may fail to execute.

Report ↗
LowOpenImproper Usage of `public` and `external` TypeLabrado - Audit · CertiK · 17 Oct 2022

`public` functions that are never called by the contract could be declared as `external`. `external` functions are more efficient than `public` functions.

Report ↗
LowOpenLack of reasonable boundaryLabrado - Audit · CertiK · 17 Oct 2022

The function `setupFeeSwap()` is used to change the value of variable `feeSwap`, which is used to calculated the fee in swap. The variable `feeSwap` does not have a reasonable boundary, so it can be given up to 999 after deploying, which means the fee charged on swapping could be 99.9%.

Report ↗
LowOpenUnlocked Compiler VersionLabrado - Audit · CertiK · 17 Oct 2022

The contract has unlocked compiler version. An unlocked compiler version in the source code of the contract permits the user to compile it at or above a particular version. This, in turn, leads to differences in the generated bytecode between compilations due to different compiler versions. This can lead to an ambiguity when debugging as compiler specific bugs may occur in the codebase that would be hard to identify over a span of multiple compiler versions rather than a specific one.

Report ↗
LowOpenUnused library `LabradoLiquidityMathLibrary`Labrado - Audit · CertiK · 17 Oct 2022

The library is never used in the project.

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

Labrado: questions

Is Labrado audited?

Trustblock holds 1 public audit report for Labrado, dated 17 Oct 2022. The latest is by CertiK (“Labrado - Audit”).

Who audited Labrado?

CertiK wrote the report Trustblock holds for Labrado.

Are there open findings in Labrado’s audits?

7 findings are still open or acknowledged in the firms’ reports: 1 high, 6 low (6 open, 1 acknowledged). Of 1 critical finding: marked fixed by the firm. 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