Skip to content

Conversation

@giovannivignone
Copy link

Motivation

Solution

@octane-security-app
Copy link

Summary by Octane

New Contracts

  • ValidationLocatorLib.sol: The smart contract facilitates managing validation keys, including entity ID/address handling and options configuration for call validations.

Updated Contracts

  • AccountStorage.sol: The smart contract update replaces ModuleEntity with ValidationLookupKey for validation storage and adds a module address to ValidationStorage.
  • ModularAccountBase.sol: The smart contract refactor introduces "ValidationLocator" to streamline validation logic, removing direct "ModuleEntity" usage.
  • ModularAccountView.sol: Added ValidationLocatorLib for enhanced validation function lookup in the smart contract.
  • ModuleManagerInternals.sol: The smart contract update refines validation function management, adds unique entity ID checks, and consolidates flag and selector updates.
  • SemiModularAccountBase.sol: Added ValidationLookupKey usage for validation checks, enhancing validation handling with ValidationLocatorLib functions.
  • Constants.sol: Added ValidationLookupKey and its fallback constant for enhanced validation in SemiModularAccount.
  • ValidationModuleMocks.sol: Removed the entityId check in validateUserOp, returning _userOpValidationFunctionData unconditionally.

🔗 Commit Hash: c7f0d54

@octane-security-app
Copy link

Overview

Vulnerabilities found: 13                                                                                
Severity breakdown: 4 High, 9 Medium

Detailed findings

src/account/ModularAccount.sol

src/account/ModularAccountBase.sol


🔗 Commit Hash: c7f0d54
🛡️ Octane Dashboard: All vulnerabilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants