GitHub Launches npm Package Firewall to Block Risky Dependencies Before Installation
Supply Chain Risk · 5 sources · Updated 19d ago · First seen Oct 29, 2026

GitHub has launched Package Firewall in public preview for GitHub Enterprise Cloud customers, introducing installation-time controls to block suspicious npm packages. The firewall inspects package metadata requests and downloads against administrator-configured policies covering known malware, vulnerability severity, attestation downgrades, newly introduced installation scripts, and minimum package age. Enterprise administrators and security managers can approve exceptions for blocked packages, providing a controlled route for dependencies that require review.
The launch reflects growing adoption of package publication cooldowns as a software supply-chain defense, with Rust 1.100 also scheduled to introduce configurable minimum-publication-age controls. These waiting periods give defenders time to identify malicious releases before organizations install them, but can delay legitimate security fixes and cannot stop malicious packages that remain undetected beyond the cooldown. Security teams evaluating the preview should pair age-based restrictions with malware and vulnerability policies and a governed exception process, rather than treating package age as proof of safety.


