The post is about Linux vulnerabilities, but given the recent supply chain attacks, I'd be especially careful with Homebrew: https://x.com/i/status/2052106143271354859
I personally switched away from macOS with this being one of the reasons, after having realized brew will eventually compromise my system with their antics.