Lakefront Finance audit reports

Lakefront Finance has 1 public audit report from CertiK; dated 14 Sep 2022; no critical findings reported.

Critical and high findings
No open critical findings; 4 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
Lakefront AuditSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 4 high · 1 medium · 11 low
9 fixed · 4 acknowledged · 3 open
skynet.certik.com ↗

Findings16

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

SeverityOpenAcknowledgedFixed
Critical000
High040
Medium001
Low308

Not fixed (7)

HighAcknowledgedCentralization Risks in FeeManager.solLakefront Audit · CertiK · 14 Sep 2022

In the contract `FeeManager` the role `keeper` has authority over the functions shown in the diagram below. Any compromise to the `keeper` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_FeeManager-FeeManager-keeper.svg)

Report ↗
HighAcknowledgedCentralization Risks in ShipyardVault.solLakefront Audit · CertiK · 14 Sep 2022

In the contract `ShipyardVault` 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/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_ShipyardVault-ShipyardVault-_owner.svg)

Report ↗
HighAcknowledgedCentralization Risks in StrategyCurveLP.solLakefront Audit · CertiK · 14 Sep 2022

In the contract `StrategyCurveLP` 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/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_StrategyCurveLP-StrategyCurveLP-_owner.svg) In the contract `StrategyCurveLP` the role `keeper` has authority over the functions shown in the diagram below. Any compromise to the `keeper` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_StrategyCurveLP-StrategyCurveLP-keeper.svg) In the contract `StrategyCurveLP` the role `vault` has authority over the functions shown in the diagram below. Any compromise to the `vault` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_StrategyCurveLP-StrategyCurveLP-vault.svg)

Report ↗
HighAcknowledgedCentralization Risks in StratManager.solLakefront Audit · CertiK · 14 Sep 2022

In the contract `StratManager` 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/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_StratManager-StratManager-_owner.svg) In the contract `StratManager` the role `keeper` has authority over the functions shown in the diagram below. Any compromise to the `keeper` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_StratManager-StratManager-keeper.svg) In the contract `StratManager` the role `strategist` has authority over the functions shown in the diagram below. Any compromise to the `strategist` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/f28dd995f42b44c0a3998c3f57a7101b/diagrams/centralization_StratManager-StratManager-strategist.svg)

Report ↗
LowOpenPotential Reentrancy AttackLakefront Audit · CertiK · 14 Sep 2022

A reentrancy attack can occur when the contract creates a function that makes an external call to another untrusted contract before resolving any effects. If the attacker can control the untrusted contract, they can make a recursive call back to the original function, repeating interactions that would have otherwise not run after the external call resolved the effects. *This finding is considered minor because the state variable is only incremented or decremented. So, the effect of out-of-order increments may be unobservable after transaction. However, the reentrancy vulnerability may still cause other issues in the middle of transaction.* ### External call(s) ```solidity=162 _harvest(); ``` * This function call executes the following external call(s). * In `SafeERC20._callOptionalReturn`, * `returndata = address(token).functionCall(data,SafeERC20: low-level call failed)` * In `StrategyCurveLP._harvest`, * `IGaugeFactory(gaugeFactory).mint(rewardsGauge)` * In `StrategyCurveLP.swapRewardsToNative`, * `IUniswapRouterETH(crvRouter).swapExactTokensForTokens(crvBal,0,crvToNativeRoute,address(this),block.timestamp)` * In `StrategyCurveLP.deposit`, * `IRewardsGauge(rewardsGauge).deposit(wantBal)` * In `StrategyCurveLP.chargeFees`, * `IERC20(native).safeTransfer(tx.origin,callFeeAmount)` * In `StrategyCurveLP._harvest`, * `IRewardsGauge(rewardsGauge).claim_rewards(address(this))` * In `StrategyCurveLP.chargeFees`, * `IERC20(native).safeTransfer(companyFeeRecipient,companyFeeAmount)` * In `Address.functionCallWithValue`, * `(success,returndata) = target.call{value: value}(data)` * In `StrategyCurveLP.addLiquidity`, * `IUniswapRouterETH(unirouter).swapExactTokensForTokens(nativeBal,0,nativeToDepositRoute,address(this),block.timestamp)` * In `StrategyCurveLP.chargeFees`, * `IERC20(native).safeTransfer(strategist,strategistFeeAmount)` * In `StrategyCurveLP.addLiquidity`, * `IWrappedNative(native).withdraw(depositNativeAmount)` * In `StrategyCurveLP.swapRewardsToNative`, * `IUniswapRouterETH(unirouter).swapExactTokensForTokens(bal,0,rewards[i].toNativeRoute,address(this),block.timestamp)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity(amounts,0,true)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity{value: depositNativeAmount}(amounts,0)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity(amounts_scope_0,0,true)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity(want,amounts_scope_0,0)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity(amounts_scope_0,0)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity(want,amounts_scope_1,0)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity(amounts_scope_1,0)` * In `StrategyCurveLP.addLiquidity`, * `ICurveSwap(pool).add_liquidity(amounts_scope_2,0)` ```solidity=161 function harvest() external virtual whenNotPaused gasThrottle { ``` * This function call executes the following external call(s). * In `GasThrottler.gasThrottle`, * `require(bool,string)(tx.gasprice <= IGasPrice(gasprice).maxGasPrice(),gas is too high!)` ### State variables written after the call(s) ```solidity=162 _harvest(); ``` * This function call executes the following assignment(s). * In `StrategyCurveLP._harvest`, * `lastHarvest = block.timestamp` --- ### External call(s) ```solidity=172 IGaugeFactory(gaugeFactory).mint(rewardsGauge); ``` ```solidity=174 IRewardsGauge(rewardsGauge).claim_rewards(address(this)); ``` ```solidity=175 swapRewardsToNative(); ``` * This function call executes the following external call(s). * In `StrategyCurveLP.swapRewardsToNative`, * `IUniswapRouterETH(crvRouter).swapExactTokensForTokens(crvBal,0,crvToNativeRoute,address(this),block.timestamp)` * In `StrategyCurveLP.swapRewardsToNative`, * `IUniswapRouterETH(unirouter).swapExactTokensForTokens(bal,0,rewards[i].toNativeRoute,address(this),block.timestamp)` ```solidity=178 chargeFees(); ``` * This function call executes the following external call(s). * In `SafeERC20._callOptionalReturn`, * `returndata = address(token).functionCall(data,SafeERC20: low-level call failed)` * In `StrategyCurveLP.chargeFees`, * `IERC20(native).safeTransfer(tx.origin,callFeeAmount)` * In `StrategyCurveLP.chargeFees`, * `IERC20(native).safeTransfer(companyFeeRecipient,companyFeeAmount)` * In `Address.functionCallWithValue`, * `(success,returndata) = target.call{value: value}(data)` * In `StrategyCurveLP.chargeFees`, * `IERC20(native).safeTransfer(strategist,strategistFeeAmount)` ```solidity=179 addLiquidity(); ``` * This function call executes the following external call(s). * In `StrategyCurveLP.addLiquidity`, * `IUniswapRouterETH(unirouter).swapExactTokensForTokens(nativeBal,0,nativeToDepositRoute,address(this),

Report ↗
LowOpenPotential Sandwich AttacksLakefront Audit · CertiK · 14 Sep 2022

A sandwich attack might happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (before the transaction being attacked) a transaction to purchase one of the assets and make profits by backrunning (after the transaction being attacked) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - `add_liquidity()` - `swapExactTokensForTokens()`

Report ↗
LowOpenThird Party DependencyLakefront Audit · CertiK · 14 Sep 2022

The contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assume their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity=30 function deposit(address _shipyardVaultAddress, address _depositTokenAddress, uint256 _amountInDepositToken) external nonReentrant { ``` - The function `ShipyardOneClickCurve.deposit` interacts with third party contract with `IUniswapRouterETH` interface via `_shipyardVaultAddress`. --- ```solidity=113 function withdraw(address _shipyardVaultAddress, address _requestedTokenAddress, uint256 _withdrawAmountInShipToken) external nonReentrant { ``` - The function `ShipyardOneClickCurve.withdraw` interacts with third party contract with `ICurveSwap` interface via `_shipyardVaultAddress`. --- ```solidity=25 address public native; ``` - The contract `StrategyCurveLP` interacts with third party contract with `IWrappedNative` interface via `native`. --- ```solidity=29 address public gaugeFactory; ``` - The contract `StrategyCurveLP` interacts with third party contract with `IGaugeFactory` interface via `gaugeFactory`. --- ```solidity=30 address public rewardsGauge; ``` - The contract `StrategyCurveLP` interacts with third party contract with `IRewardsGauge` interface via `rewardsGauge`. --- ```solidity=31 address public pool; ``` - The contract `StrategyCurveLP` interacts with third party contract with `ICurveSwap` interface via `pool`. --- ```solidity=51 address public crvRouter; ``` - The contract `StrategyCurveLP` interacts with third party contract with `IUniswapRouterETH` interface via `crvRouter`. --- ```solidity=23 IStrategy public strategy; ``` - The contract `ShipyardVault` interacts with third party contract with `IStrategy` interface via `strategy`.

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

Lakefront Finance: questions

Is Lakefront Finance audited?

Trustblock holds 1 public audit report for Lakefront Finance, dated 14 Sep 2022. The latest is by CertiK (“Lakefront Audit”).

Who audited Lakefront Finance?

CertiK wrote the report Trustblock holds for Lakefront Finance.

Are there open findings in Lakefront Finance’s audits?

7 findings are still open or acknowledged in the firms’ reports: 4 high, 3 low (3 open, 4 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