pkgmgr-homebrew-formula-dev
Audited by Socket on Aug 14, 2026
2 alerts found:
Anomalyx2The formula itself contains no direct malicious logic; it performs a conventional build/install/test flow for a Zig CLI. The main security red flag is the anomalous `sha256` value (empty-string hash), which undermines the intended integrity verification of the downloaded tarball and increases the risk of building tampered upstream code. Additionally, the snippet appears truncated/malformed, so full assurance requires the complete file. Overall risk is driven by potential supply-chain compromise rather than in-formula behavior.
This is a standard Homebrew wrapper around installing a third-party npm package, where the primary security exposure is executing `npm install` (which can run package-provided install scripts). The most significant red flag in the provided snippet is the suspicious `sha256` value matching the empty-content hash, which suggests placeholder/incorrect integrity data and undermines confidence in artifact authenticity. The fragment is also truncated, so additional behavior cannot be ruled out. Verify the full, complete formula and confirm the correct tarball checksum and npm integrity enforcement before trusting the package.