CyberHappenings logo

Track cybersecurity events as they unfold. Sourced timelines. Filter, sort, and browse. Fast, privacy‑respecting. No invasive ads, no tracking.

npm enforces staged package publishing with 2FA approval and install source controls

First reported
Last updated
1 unique sources, 1 articles

Summary

Hide ▲

npm introduced staged publishing requiring maintainers to approve package releases via two-factor authentication (2FA) before they become publicly available, providing proof of presence for every publish including CI/CD and OIDC workflows. Additionally, npm added three new install source flags (--allow-file, --allow-remote, --allow-directory) to explicitly control non-registry install sources, replacing the single -allow-git flag. These measures target ongoing supply chain attack campaigns, such as those attributed to TeamPCP, which have escalated in open-source ecosystems.

Timeline

  1. 23.05.2026 19:35 1 articles · 2h ago

    npm enforces 2FA-gated staged publishing and expands install source controls

    npm introduced staged publishing requiring maintainers to approve package releases via 2FA before publication. New install source flags (--allow-file, --allow-remote, --allow-directory) were added to control non-registry installations, replacing the -allow-git flag.

    Show sources

Information Snippets