The presence of duplicate attesters could compromise the security validations when creating accounts through the RegistryFactory contract.
The RegistryFactory contract is a factory for the Nexus smart account that works in conjunction with the ERC-7484 Registry. When creating an account, the factory executes some validations against the selected modules by checking if the configured attesters have vouched for the module using the registry.
These attesters are addresses that are stored in the contract using an array and can be added using the addAttester()
function.
Note here that there are no validations in place to check if a certain attester has been already configured in the contract, new values are simply pushed to the array.
The presence of duplicate attesters would result in the same attester being counted multiple times during the threshold check, undermining the security of the validations. This issue is evident in the reference implementation of the check()
function in ERC-7484, where checks are performed individually on each array element.
Duplicate attesters could accidentally or intentionally weaken the security validations as the same attester could be counted more than once to reach the configured threshold.
None.
When adding an attester, validate if it is already present in the list.
Invalid, - Addition of attesters are admin only functionalities so if duplicate addresses are added it would consitute admin input/call validation. - ERC-7484 is in draft mode so we should not take it as the final EIP configuration yet. - Even if a mistake was made, removals can be performed by invoking `removeAttester` multiple times by the owner to completely remove a duplicate user. - In the [documentation](https://github.com/bcnmy/nexus/wiki#problems-nexus-solves), it is not noted that Nexus suite will be ERC7484 compliant.
Invalid, similar issue to #151 and duplicates - Addition of attesters are admin only functionalities so if duplicate addresses are added it would consitute admin input/call validation. - ERC-7484 is in draft mode so we should not take it as the final EIP configuration yet. - In the [documentation](https://github.com/bcnmy/nexus/wiki#problems-nexus-solves), it is not noted that Nexus suite will be ERC7484 compliant.
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.