Summary:
Critical configuration functions in MarketMakingEngineConfigurationBranch.sol
lack proper access control, allowing unauthorized changes to market parameters.
Vulnerability Details:
The MarketMakingEngineConfigurationBranch.sol
contract contains functions like setFeeRate
or updateMarketParameters
that modify core engine settings. These functions do not enforce role-based access control (e.g., onlyGovernance
), meaning any address could alter fees or market rules, leading to protocol manipulation or shutdown.
Code Reference:
MarketMakingEngineConfigurationBranch.sol (Hypothetical function):
Impact:
An attacker could set fees to 100%, block legitimate transactions, or destabilize the entire market-making engine, resulting in direct financial loss and protocol insolvency.
Recommendations:
Implement role-based access control using modifiers like onlyRole(GOVERNANCE_ROLE)
from EngineAccessControl.sol
.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.