CertiK reviewed 3525 Lottery (3525Lottery - Audit (Addendum)) on 6 Feb 2023: 16 findings, 0 critical; 1 acknowledged, 15 open.
Report hosted on skynet.certik.com.
Trustblock does not review code.
Statuses are the security firm’s own, from its report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 0 | 1 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 15 | 0 | 0 |
In the contract `Lottery` 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 update the manager address, withdraw contract funds and modify key parameters of the Lottery contract.  Furthermore, the role `Manager` has authority over the following functions: * `sendWhitelist()` * `setWhitelistCode()` * `setPublicWhitelist()` * `takeWhitelist()` * `takePublicWhitelist()` * `forceBindRecommender()` * `setPresale()` * `setPause()` * `allocateIdlePool()` Any compromise to the `Manager` account may allow the hacker to take advantage of this authority and modify the list of whitelisted addresses, pause the contract and modify other settings. In the contract `LotteryDescriptor` the role `owner` has authority over the `registerSlot()` function. Any compromise to the `owner` account may allow the hacker to take advantage of this authority and register new slots. In the contract `LotterySFT` the role `owner` has authority over the `setMetadataDescriptor()` function. Any compromise to the `owner` account may allow the hacker to take advantage of this authority and update the `metadataDescriptor` address. Furthermore, the role `Manager` has authority over the functions `mint()` and `burn()`. Any compromise to the `Manager` account may allow the hacker to take advantage of this authority and mint and burn LotterySFT tokens arbitrarily. Finally, all functions in the `Arithmetic` contract were found to be privileged (only callable by the owner address), but of the `view` type.
The report names a repository or files. Open the report to see its scope.
Repository and files the report names (19)
1,044 projects reviewed · 1,375 reports · latest May 2025
See CertiK’s auditsSomething 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