MossLand Swap - Audit

CertiK1 address on Ethereum

CertiK reviewed Mossland (MossLand Swap - Audit) on 15 Aug 2023: 3 findings, 0 critical; none marked fixed.

No open critical findings
Open the reportOpen Mossland’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings3

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

SeverityOpenAcknowledgedFixed
Critical000
High200
Medium000
Low100
HighCentralization Related RisksOpen

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()`. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-39fa-94314c10-84c3-9372ae3e8c46/diagrams/centralization_ERC20Migratable-ERC20Migratable-DEFAULT_ADMIN_ROLE.svg) --- 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. ![](https://accelerator-tasks-prod.acc.corp.certik.com/11ee-39fa-94314c10-84c3-9372ae3e8c46/diagrams/centralization_ERC20Migratable-ERC20Migratable-REGISTRAR_ROLE.svg)

HighMinting Centralization RiskOpen

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.

LowLocked Blockchain Native TokensOpen

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) { ```

Contracts in scope1

AddressChainSource code
0xbee20b9df360b8442534ed8059f3e5baeeb74eafChain: EthereumSource code: Verified source

Part of Mossland’s security record

Mossland
Audits2 audits by 1 firmLast audit Aug 2023, by CertiK.
Critical findingsNo open critical findingsAcross 2 reports.
Open Mossland’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