GMX engaged Guardian to review the security of its Config file updates. From the 12th of January to the 16th of January a team of 2 auditors reviewed the source code in scope.
- Published
- Review window
- January 12 to 16, 2024
- Language
- Solidity
- Chains
- Arbitrum, Avalanche
- Sector
- Perpetuals
- 0 Critical
- 0 High
- 0 Medium
- 2 Low
- 0 Informational
Scope
Overview
GMX engaged Guardian to review the security of its Config file updates. From the 12th of January to the 16th of January a team of 2 auditors reviewed the source code in scope.
Findings 2
-
CON-1 Low onlyKeeper Not Implemented In The RoleModule Optimization Pending
Description
The
onlyKeepermodifier is implemented directly in theConfigcontract, however it would uphold separation of concerns and deduplicate code if it were implemented in theRoleModulecontract.Recommendation
Consider moving the
onlyKeeperimplementation to theRoleModulecontract and utilizing the_validateRolefunction to deduplicate code. -
CON-2 Low Limited Keepers Cannot Set Gas Multipliers Optimization Pending
Description
Limited keepers are able to configure the
ESTIMATED_GAS_FEE_BASE_AMOUNTandEXECUTION_GAS_FEE_BASE_AMOUNT.However, they are unable to configure the
ESTIMATED_GAS_FEE_MULTIPLIER_FACTORandEXECUTION_GAS_FEE_MULTIPLIER_FACTOR.Recommendation
Consider whether the limited keepers should be allowed to configure the gas multipliers.
No findings match.
More from GMX
All 44 reportsPut your code through the same review.
This review started with a conversation about scope. Tell us what you are building and we will plan yours with you.
