← Voltar ao feed
low

GitHub Launches npm Package Firewall Preview to Block Malicious Packages at Install Time

1 fonte(s) · 1 atualização(ões) · publicado 29/10/2026 07:26 · coletado há 3 dias

GitHub announced a public preview of a package firewall for npm that acts as an install-time policy gate, inspecting metadata requests and package downloads for signs of malicious activity. It is available to all GitHub Enterprise Cloud customers, including data-resident tenants. The firewall sits between endpoints or internal registries and upstream registries, which targets malware that compromises systems at install time, particularly when AI coding agents and CI runners install dependencies automatically. The article notes that Rust 1.100 (scheduled for November 12, 2026) will add a configurable minimum publish age, and that similar cooldown mechanisms have spread across many ecosystems over the past year.

Detalhes técnicos

  • Endpoints such as coding agents and CI/CD hosts point at the firewall instead of the public registry, and downloads are checked against administrator-defined policies.
  • Policy controls: block known malware using active advisories in the GitHub Advisory Database; block by vulnerability severity (default "Critical only", configurable up to "Any severity"); block SLSA attestation downgrades versus earlier versions; block newly introduced preinstall/postinstall scripts; and enforce a cooldown (minimum package age) of 1 to 365 days, default 1 day, 0 disables it.
  • Erroneously blocked packages can be released through an exception request approved by enterprise administrators and security managers.
  • Rust 1.100 adds "global-min-publish-age" in cargo/config.toml, defaulting to a seven-day wait.
  • Socket cautions that cooldowns delay legitimate fixes and that malicious releases that evade detection can outlast the cooldown; their value is giving researchers, maintainers and registries time to act.

Remediação

  • Enterprise administrators should configure the firewall policies and route AI agent and CI/CD dependency installs through it.
  • Apply cooldown or minimum-age settings in package managers and build tooling, with a defined exception process for urgent fixes.

Linha do tempo

  1. thehackernews.com ↗ · pub. 29/10/2026 07:26 · coletado 29/10 09:00 primeiro registro

    GitHub Launches npm Package Firewall Preview to Block Malicious Packages at Install Time

    ler a análise desta fonte

    GitHub announced a public preview of a package firewall for npm that acts as an install-time policy gate, inspecting metadata requests and package downloads for signs of malicious activity. It is available to all GitHub Enterprise Cloud customers, including data-resident tenants. The firewall sits between endpoints or internal registries and upstream registries, which targets malware that compromises systems at install time, particularly when AI coding agents and CI runners install dependencies automatically. The article notes that Rust 1.100 (scheduled for November 12, 2026) will add a configurable minimum publish age, and that similar cooldown mechanisms have spread across many ecosystems over the past year.

    Technical Details

    • Endpoints such as coding agents and CI/CD hosts point at the firewall instead of the public registry, and downloads are checked against administrator-defined policies.
    • Policy controls: block known malware using active advisories in the GitHub Advisory Database; block by vulnerability severity (default "Critical only", configurable up to "Any severity"); block SLSA attestation downgrades versus earlier versions; block newly introduced preinstall/postinstall scripts; and enforce a cooldown (minimum package age) of 1 to 365 days, default 1 day, 0 disables it.
    • Erroneously blocked packages can be released through an exception request approved by enterprise administrators and security managers.
    • Rust 1.100 adds "global-min-publish-age" in cargo/config.toml, defaulting to a seven-day wait.
    • Socket cautions that cooldowns delay legitimate fixes and that malicious releases that evade detection can outlast the cooldown; their value is giving researchers, maintainers and registries time to act.

    Remediation

    • Enterprise administrators should configure the firewall policies and route AI agent and CI/CD dependency installs through it.
    • Apply cooldown or minimum-age settings in package managers and build tooling, with a defined exception process for urgent fixes.