The deploy function of the factory is meant to deploy new spaces. However, it can be front-
run with the same class hash and salt but different initialization calldata. As a result, the attacker may set themselves as the owner of the victim's newly deployed space. The victim may miss or ignore the error messages, think that the space was deployed correctly and then proceed to use it. Consider adding the caller address to the salt in order to bind the contract address to the
deployer.
The deploy function of the factory is meant to deploy new spaces. However, it can be front- run with the same class hash and salt but different initialization calldata. As a result, the attacker may set themselves as the owner of the victim's newly deployed space. The victim may miss or ignore the error messages, think that the space was deployed correctly and then proceed to use it. Consider adding the caller address to the salt in order to bind the contract address to the deployer.