DEV Community

Discussion on: How to stop Laravel’s Valet asking for password

Collapse
 
dakira profile image
Matthias Niess

Slight security warning: You're giving two commands (brew and valet) full root access to your machine. If an attacker somehow modifies valet.php or homebrew, they can do with your machine whatever they want.

Collapse
 
eekayonline profile image
Edwin Klesman

You're right. That's why I mentioned security in the To conclude part.
As a developer, we always need to decide if the benefit outweighs any risks.
Depending on your setup and the context of the project you're working on, this might be acceptable.