Yeah I also noticed the install instructions is run this batch file that gets administrator access and starts downloading things…
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.