CertiK reviewed Mossland (MossLand Swap - Audit) on 15 Aug 2023: 3 findings, 0 critical; none marked fixed.
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 | 2 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 1 | 0 | 0 |
In the contract `AccessControl` the role `adminRole` has authority over the following functions: - grantRole() - revokeRole() Any compromise to the `adminRole` account may allow the hacker to take advantage of this authority and grant associated role to any account or revoke the role from any account. Note that `DEFAULT_ADMIN_ROLE` is the admin role for all roles. --- In the contract `AccessControl` the role `role` has authority over the following function: - renounceRole() Any compromise to the `role` account may allow the hacker to take advantage of this authority and renounce corresponding privileges to functions within other contracts. --- In the contract `ERC20Migratable` 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 mint/burn tokens in the contract and pause/unpause the functions `deposit()` and `withdraw()`.  --- In the contract `ERC20Migratable` the role `REGISTRAR_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `REGISTRAR_ROLE` account may allow the hacker to take advantage of this authority and alter the withdrawal allowances of users. 
In the contract, the `DEFAULT_ADMIN_ROLE` has the capability to mint an arbitrary amount of tokens, while the `REGISTRAR_ROLE` permits users to withdraw tokens. If both these roles are compromised, an attacker could get a significant quantity of tokens and sell those tokens to cause the token price to drop.
The contract has a payable constructor, making it able to receive native tokens. However, it does not have a function to withdraw the funds, which can lead to permanently locked tokens within the contract. ```solidity=670 constructor(string memory name, string memory symbol) payable ERC20(name, symbol) { ```
| Address | Chain | Source code |
|---|---|---|
| 0xbee2…4eaf0xbee20b9df360b8442534ed8059f3e5baeeb74eaf | Chain: Ethereum | Source code: Verified source |
1,045 projects reviewed · 1,376 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