It's not any worse than all the projects on github with an "easy" install instructions of "curl ... | sudo sh". Heck, even an innocent "sudo make install" command can easily contain a malicious payload.
MacOS devs blindly trust it like it's the app store.
But I agree that everyone should review the Homebrew install script for any package they're installing if they're concerned about security.