Part 2

Zaros
PerpetualsDEXFoundrySolidity
70,000 USDC
View results
Submission Details
Severity: high
Invalid

Missing Access Control in MarketMakingEngineConfigurationBranch

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):

    function setFeeRate(uint256 newFee) external {
    // No access control modifier
    feeRate = newFee;
    }

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.

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.