Billion Box security record

Polygon (POS)billionbox.io

As of 18 Nov 2026, Billion Box has 1 audit report on Trustblock, by CertiK, dated 8 Mar 2023. That report lists no open critical findings.

Critical findings
No open critical findings
In 1 report.
Open the latest report
Your label, live
Get the label for your site

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

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsSource
Lee Group - AuditSecurity firm: CertiKDate: Scope: Files listedNone openskynet.certik.com ↗

Findings11

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

SeverityOpenAcknowledgedFixed
Critical000
High300
Medium001
Low403
HighCentralization Risks in Peripheral ContractsLee Group - Audit · CertiK · 8 Mar 2023Open

In the contract `PortionBoxTicket` the role `MINTER` has authority over the functions shown in the diagram below. The `DEFAULT_ADMIN_ROLE` has the authority to assign `MINTER` roles. Any compromise to the `MINTER` or `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority and arbitrarily mint ticket NFTs. ![](https://accelerator-tasks-prod.acc.corp.certik.com/4b15af2f17694c6bbd5c1876760b2fdb/diagrams/centralization_PortionBoxTicket-PortionBoxTicket-MINTER.svg) --------------------- In the contract `TokenSplitter` the role `DEFAULT_ADMIN_ROLE` has authority over the function `setReceivers()`. Any compromise to the `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority and set the recipients of the surplus prize token that is not reserved. ![](https://accelerator-tasks-prod.acc.corp.certik.com/4b15af2f17694c6bbd5c1876760b2fdb/diagrams/centralization_TokenSplitter-TokenSplitter-DEFAULT_ADMIN_ROLE.svg) ------------------------ In the contract `TokenSwapper` 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 `targetToken` and `paths`, which could lead to stolen funds and/or disrupt normal transactions. ![](https://accelerator-tasks-prod.acc.corp.certik.com/4b15af2f17694c6bbd5c1876760b2fdb/diagrams/centralization_TokenSwapper-TokenSwapper-_owner.svg)

Open the report
HighCentralization Risks in PortionBox.solLee Group - Audit · CertiK · 8 Mar 2023Open

In the contract `PortionBox` the role `DEFAULT_ADMIN_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority and arbitrarily change critical state variables. ![](https://accelerator-tasks-prod.acc.corp.certik.com/4b15af2f17694c6bbd5c1876760b2fdb/diagrams/centralization_PortionBox-PortionBox-DEFAULT_ADMIN_ROLE.svg) In the contract `PortionBox` the role `OPERATOR` has authority over the functions shown in the diagram below. Any compromise to the `OPERATOR` account may allow the hacker to take advantage of this authority and start the first round and new rounds before the expected cron job. ![](https://accelerator-tasks-prod.acc.corp.certik.com/4b15af2f17694c6bbd5c1876760b2fdb/diagrams/centralization_PortionBox-PortionBox-OPERATOR.svg)

Open the report
HighCentralized Control of Contract UpgradeLee Group - Audit · CertiK · 8 Mar 2023Open

ProtionBox is an upgradeable contracts, the owner can upgrade the contract without the community's commitment. If an attacker compromises the account, he can change the implementation of the contract and drain tokens from the contract.

Open the report
LowIncompatibility with Deflationary TokensLee Group - Audit · CertiK · 8 Mar 2023Open

In contract `PortionBox`, the `purchaseToken` should not be deflationary token. 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=376 purchaseToken.transferFrom(_msgSender(), address(this), amount); ``` - In function buy(), purchaseToken is transferred in by `amount`. ```solidity=58 if (fromLeft > 0) { from.transfer(_msgSender(), fromLeft); } ``` - In function buyWithETH() and buyWithToken(), the `purchaseToken` needed is defined by `amountOut`, but the actual amount received by `PortionBox` would be less if using deflationary token, because of the transfer from `TokenSwapper` to `PortionBox`. ```solidity=377 prizeReserved += amount; ``` - In function `addReserve`, the `amount` is directly added to `prizeReserved` without compensating the potential transfer fees.

Open the report
LowPotential Lack of Randomness on Lottery ResultLee Group - Audit · CertiK · 8 Mar 2023Open

The PortionBox allows users to bet on the selected decimal places of the price on a given token. We'd like to point out that the possibility of every number may not be equal. For example, for BUSD/USD pricefeed, the first decimal place is very unlikely to be 5.

Open the report
LowThird Party DependencyLee Group - Audit · CertiK · 8 Mar 2023Open

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 addresses, etc. The contracts depends on: 1. Chainlink Aggregator for token price, which is used as input to calculate lottery result. 2. External Uniswap-like swapper to exchange native token and ERC20 token to `purchaseToken`. 3. External ERC20 tokens for normal token transactions.

Open the report
LowUnprotected InitializerLee Group - Audit · CertiK · 8 Mar 2023Open

Contract `PortionBox` does 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 he is the owner of the upgradeable contract. ```solidity=37 contract PortionBox is ERC165, IPortionBox, Initializable, AccessControlUpgradeable, ReentrancyGuardUpgradeable { ``` - `PortionBox` is an upgradeable contract that does not protect its initializer. ```solidity=146 function initialize( ``` - `initialize` is an unprotected initializer function.

Open the 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

Show this on your site

Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.

Content

Facts

Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="billion-box"
></div>
</body>

Paste the code where the label should appear. It uses no API credit and updates by itself.

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