HardhatFoundry
30,000 USDC
View results
Submission Details
Severity: medium
Valid

Nexus smart account is not in compliance with EIP-7579

Summary

EIP-7579 clearly states that smart accounts MUST implement ERC-165. This includes returning false for any interface function that reverts instead of implementing the functionality. However, Nexus.sol does not implement ERC-165, making it non-compliant with EIP-7579.

Impact

The lack of ERC-165 implementation in Nexus.sol results in non-compliance with EIP-7579. This non-compliance can lead to interoperability issues with other smart contracts & modules expecting ERC-165 support.

Recommendation

Implement ERC-165 in Nexus.sol as recommended in the standard. This involves adding the supportsInterface function to check for supported interfaces & ensuring it returns false for unsupported interfaces.

Updates

Lead Judging Commences

0xnevi Lead Judge 12 months ago
Submission Judgement Published
Validated
Assigned finding tags:

finding-ERC7579-ERC165-non-compliant

The argument for medium severity here is the potential inconsistencies with external integrations that would like to query whether a contract supports the interface. The impact is arguable though, so would leave open for arguments during appeals period.

Support

FAQs

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