Brewlabs Marketplace and PoolFactory

CertiKFiles named in the report

CertiK reviewed Brewlabs (Brewlabs Marketplace and PoolFactory) on 3 Apr 2024: 16 findings, 1 critical; 9 marked fixed, 2 acknowledged, 5 open.

1 critical finding, fixed
Open the reportOpen Brewlabs’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings16

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical001
High021
Medium001
Low506
Low`BrewsMarketplace.supportsInterface()` Always RetOpen

The function `BrewsMarketplace.supportsInterface()` is overridden and will consistently return `false`, which is unusual because it's designed to return true for supported interface identifiers.

LowMissing Emit EventsOpen

There should always be events emitted in the sensitive functions that are controlled by centralization roles.

LowPotential Read Only Reentrancy AttackOpen

Read-only reentrancy occurs when a contract makes external calls before updating its state variables. If another contract accesses these variables during the external call, it may operate on outdated information, leading to unexpected behavior.

LowThe Surplus Native Tokens Are Not ReturnedOpen

The functions calling `_transferServiceFee()` are marked as payable, and there's a validation to ensure the input native token meets the minimum required amount. However, if the input native token exceeds this amount, the function currently lacks a mechanism to refund the excess. This oversight could lead to unintentional loss of funds for the called. Implementing a refund logic for the excess amount is crucial to prevent the potential loss of caller funds.

LowUnprotected InitializerOpen

The contracts do not protect their initializers. An attacker can call the initializer and assume ownership of the logic contract, whereby she can perform privileged operations that trick unsuspecting users into believing that she is the owner of the upgradeable contract.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (2)

  • BrewsMarketplace.sol
  • BrewlabsPoolFactory.sol

Part of Brewlabs’s security record

Brewlabs
Audits3 audits by 2 firmsLast audit Apr 2024, by CertiK.
Critical findings1 open critical findingReported in “Brewlabs Treasury” by CertiK, Aug 2022. Not marked fixed in that report.
Open Brewlabs’s security record

Security firm

CertiK

1,045 projects reviewed · 1,376 reports · latest May 2025

See CertiK’s audits

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