MegaMoon audit reports

MegaMoon has 1 public audit report from CertiK; dated 13 Oct 2022; 2 critical findings, 2 open. It also holds 1 deployed contract on 1 chain.

Critical findings
2 open critical findings
Reported in “Megamoon - Audit” by CertiK, Oct 2022. Not marked fixed in that report. See the findings
High findings
2 high open in the firms’ reports
Statuses are the security firms’ own. 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
Megamoon - AuditSecurity firm: CertiKDate: Scope: Files listed2 open critical findingsFindings: 2 critical · 3 high · 1 medium · 13 low
14 fixed · 5 open
skynet.certik.com ↗

Findings19

19 findings in 1 report: 14 fixed, 5 open.

SeverityOpenFixed
Critical20
High21
Medium01
Low112

Not fixed (5)

CriticalOpenCentralization Risks in MegamoonLottery.solMegamoon - Audit · CertiK · 13 Oct 2022

In the contract `MegamoonLottery` 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 get DAO fee. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dea8876e01e548a8b75b72fb0a15787a/diagrams/centralization_MegamoonLottery-MegamoonLottery-_owner.svg) In the contract `MegamoonLottery` the role `operatorAddress` has authority over the functions shown in the diagram below. Any compromise to the `operatorAddress` account may allow the hacker to take advantage of this authority and repeatedly call `closeLottery` in a contract to try the best `finalNumber` by reverting bad `finalNumber`. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dea8876e01e548a8b75b72fb0a15787a/diagrams/centralization_MegamoonLottery-MegamoonLottery-operatorAddress.svg)

Report ↗
CriticalOpenCentralization Risks in MegamoonPilot.solMegamoon - Audit · CertiK · 13 Oct 2022

In the contract `MegaMoonPilot` 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, add & set the staking pool, update the reward multiplier, and emergency withdraws token. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dea8876e01e548a8b75b72fb0a15787a/diagrams/centralization_MegamoonPilot-MegaMoonPilot-_owner.svg) 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dea8876e01e548a8b75b72fb0a15787a/diagrams/centralization_MegamoonPilot-Ownable-_owner.svg)

Report ↗
HighOpenCentralization Risks in MegamoonDealer.solMegamoon - Audit · CertiK · 13 Oct 2022

In the contract `MegamoonDealer` 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,set the lottery address,fee setting,and transfer the contract's ERC tokens. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dea8876e01e548a8b75b72fb0a15787a/diagrams/centralization_MegamoonDealer-MegamoonDealer-_owner.svg) In the contract `MegamoonDealer` the role `lotteryAddress` has authority over the functions shown in the diagram below. Any compromise to the `lotteryAddress` account may allow the hacker to take advantage of this authority, inject the lottery and return fund from lottery. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dea8876e01e548a8b75b72fb0a15787a/diagrams/centralization_MegamoonDealer-MegamoonDealer-lotteryAddress.svg)

Report ↗
HighOpenCentralization Risks in RandomNumberGenerator.solMegamoon - Audit · CertiK · 13 Oct 2022

In the contract `RandomNumberGenerator` 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 `keyHash` to impact the random number and withdraw LINK tokens. ![](https://accelerator-tasks-prod.acc.corp.certik.com/dea8876e01e548a8b75b72fb0a15787a/diagrams/centralization_RandomNumberGenerator-RandomNumberGenerator-_owner.svg)

Report ↗
LowOpenThird Party DependenciesMegamoon - Audit · CertiK · 13 Oct 2022

The contract is serving as the underlying entity to interact with third party ChainLink Random Oracle protocols. The scope of the audit treats 3rd party entities as black boxes and assume their functional correctness. However, in the real world, 3rd parties can be compromised and this may lead to be attacted. In addition, upgrades of 3rd parties can possibly create severe impacts, such as increasing fees of 3rd parties, etc.

Report ↗

Contracts1

AddressChainSource code
0x119c0d7237e7ea6dcdf26fdca8128fc9aaa5acddChain: BNB ChainSource code: Verified source

All 1 address and the files the reports name

MegaMoon: questions

Is MegaMoon audited?

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

Who audited MegaMoon?

CertiK wrote the report Trustblock holds for MegaMoon.

Are there open findings in MegaMoon’s audits?

5 findings are still open or acknowledged in the firms’ reports: 2 critical, 2 high, 1 low (all open). Of 2 critical findings: 2 open. 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