inside K1ValidatorFactory.sol
a Nexus account can be created by calling createAccount
, inside this function the actualSalt
is computed and after some configurations the account is initialized if it was not already deployed
The problem however, is that createAccount
can be frontran due to a missing unique parameter such as msg.sender
. Because of this paramaters passed into the function can be frontran by a malicious user and ultimately create an account before the honest user can do so.
Ultimately, the honest user will be unable to create the account due to the if statement:
add msg.sender
somewhere inside the function so that the creation of an account can not be copied and frontran
Invalid if a new Nexus proxy is already deployed, [`createDeterministicERC1967` will not revert](https://github.com/Vectorized/solady/blob/main/src/utils/LibClone.sol#L745), but simply return, so there is no DoS here. Users should carefully select a unique salt and initData when creating a new Nexus Proxy instance as noted in documentation [here](https://github.com/bcnmy/nexus/wiki/NexusAccountFactory#createaccount)
Invalid if a new Nexus proxy is already deployed, [`createDeterministicERC1967` will not revert](https://github.com/Vectorized/solady/blob/main/src/utils/LibClone.sol#L745), but simply return, so there is no DoS here. Users should carefully select a unique salt and initData when creating a new Nexus Proxy instance as noted in documentation [here](https://github.com/bcnmy/nexus/wiki/NexusAccountFactory#createaccount)
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.