CertiK reviewed MARBLEX (Marblex - Audit 2) on 11 Apr 2024: 2 findings, 0 critical; 1 marked fixed, 1 acknowledged.
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 | 0 | 0 | 1 |
### `marblex_coin::coin_mbx` Module 1. **Minter Role**: - Control over the creation of new coins. - Function: - `mint_to`: Mints new coins and allocates them to a specified address, influencing the coin supply. - If the private key is compromised, it could lead to overproduction or misallocation of coins, affecting the currency's value. 2. **Burner Role**: - Authority over the destruction of coins. - Function: - `burn`: Destroys a specified amount of coins, reducing the total supply. - If the private key is compromised, the attacker can manipulate the total coin supply, impacting the currency's economics. 3. **Freezer Role**: - Restrict access to user accounts. - Functions: - `set_freeze`/`set_freeze_many`: Freezes user accounts, preventing transactions. - `set_unfreeze`/`set_unfreeze_many`: Unfreezes accounts, restoring transaction capabilities. - If the private key is compromised, the attacker can freeze/unfreeze users' accounts and disrupt user access and operations. 4. **Pauser Role**: - Halt or resume contract operations. - Functions: - `pause`: Suspends all contract activities. - `unpause`: Resumes contract operations. - If the private key is compromised, the attacker can disrupt service availability for all users. 5. **Owner**: - refers to @marblex_coin, which can `initialize` the `coin_mbx` module. - If the private key is compromised, the attacker can take advantage of the privileged functionalities. ### `marblex_coin::access_control_enumerable` Module 1. **Owner Role**: - The deployer of the module, which has control over role management. - Key Functions: - `transfer_ownership`: Transfers `DEFAULT_ADMIN_ROLE` ownership to a new address. - `set_role_admin`: Assigns or changes the admin for any role, giving the owner control over who manages each role. - If the private key is compromised, the attacker can reallocate roles or change ownership, gaining full control of the module. 2. **DEFAULT_ADMIN_ROLE**: - Default admin for all roles that can manage all roles in the `coin_mbx` module if the admin role not set. - Key Functions: - `grant_role`: Grants any role to any account, controlling permissions. - `revoke_role`: Removes any role from any account, potentially stripping powers. - If the private key is compromised, the attacker can reallocate roles, gaining the control of the module. 3. **Role Admins**: - The role admins are designated by the owner role and manage certain roles. - Key Functions: - `grant_role`: Grants a certain role to any account, controlling the given role's permission. - `revoke_role`: Removes a certain role from any account, potentially stripping powers. - If the private key is compromised, the attacker can reallocate a given role, gaining the power of the given role..
The report names a repository or files. Open the report to see its scope.
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