LIVE NEWS
  • Apple Will Reportedly Add Bill-Splitting Feature to iOS 27
  • Opinion | Putin Has No Good Way Out of His War
  • Flowise’s MCP implementation can run ghost commands
  • DOE Restarts Home Efficiency Rebates, and Electrification Is the Biggest Loser
  • Albania prosecutors probe Jared Kushner-linked resort amid violent protests
  • Clinical Workflow Automation: Where AI Is Making Real Inroads
  • AMD Radeon RX 9070 GRE review: A cheaper GPU for a wildly expensive era
  • US court upholds injunction against Trump policy banning transgender troops | Donald Trump News
Prime Reports
  • Home
  • Popular Now
  • Crypto
  • Cybersecurity
  • Economy
  • Geopolitics
  • Global Markets
  • Politics
  • See More
    • Artificial Intelligence
    • Climate Risks
    • Defense
    • Healthcare Innovation
    • Science
    • Technology
    • World
Prime Reports
  • Home
  • Popular Now
  • Crypto
  • Cybersecurity
  • Economy
  • Geopolitics
  • Global Markets
  • Politics
  • Artificial Intelligence
  • Climate Risks
  • Defense
  • Healthcare Innovation
  • Science
  • Technology
  • World
Home»Cybersecurity»npm Adds 2FA-Gated Publishing and Package Install Controls Against Supply Chain Attacks
Cybersecurity

npm Adds 2FA-Gated Publishing and Package Install Controls Against Supply Chain Attacks

primereportsBy primereportsMay 23, 2026No Comments2 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
npm Adds 2FA-Gated Publishing and Package Install Controls Against Supply Chain Attacks
Share
Facebook Twitter LinkedIn Pinterest Email


Ravie LakshmananMay 23, 2026Software Supply Chain / DevSecOps

npm Adds 2FA-Gated Publishing and Package Install Controls Against Supply Chain Attacks

GitHub has rolled out new controls for npm to improve the security of the software supply chain, giving maintainers the ability to explicitly approve a release prior to the packages becoming publicly available for installation.

Called staged publishing, the feature is now generally available on npm. It mandates that a human maintainer pass a two-factor authentication (2FA) challenge to approve a package before it is pushed to the npmjs[.]com.

“Instead of a direct publish that immediately makes a package version available to consumers, the prebuilt tarball is uploaded to a stage queue where a maintainer must explicitly approve it before it becomes installable,” GitHub said.

The Microsoft-owned subsidiary said the change ensures “proof of presence” for every publish, including those that come from non-interactive CI/CD workflows and trusted publishing with OpenID Connect (OIDC) authentication.

Before using staged publishing, package maintainers have to meet the following criteria –

  • Have publish access to the package
  • Package already exists on the npm registry, meaning a brand new package cannot be staged
  • 2FA is enabled for the account

Developers can use the command “npm stage publish” from the root directory of the package to submit it to a staging area. To use this command, it’s essential to update to npm CLI 11.15.0 or newer. For optimal protection, GitHub is recommending that staged publishing be paired with trusted publishing using OIDC.

Cybersecurity

A second update focused on npm relates to the introduction of three new install source flags alongside the existing -allow-git flag –

  • –allow-file: Controls installs from local file paths and local tarballs
  • –allow-remote: Controls installs from remote URLs, including https tarballs
  • –allow-directory: Controls installs from local directories

The flags allow developers to “apply the same explicit-allowlist approach to every non-registry install source,” GitHub said.

The development comes amid a massive surge in software supply chain attacks targeting open-source ecosystems over the past few months, with one cybercriminal group known as TeamPCP engaging in poisoning popular packages at an unprecedented scale through a self-perpetuating cycle of compromises.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleElectric bills sizzle in summer heat as the cost of cooling climbs : NPR
Next Article Grayscale names 4 Clarity Act altcoin winners
primereports
  • Website

Related Posts

Cybersecurity

Miasma Supply Chain Attack Compromises Red Hat npm Packages with Credential-Stealing Worm

June 1, 2026
Cybersecurity

Alleged Kimwolf Botmaster ‘Dort’ Arrested, Charged in U.S. and Canada – Krebs on Security

June 1, 2026
Cybersecurity

As the Pentagon Pushes for Battlefield AI, Some Military Leaders Urge Caution

June 1, 2026
Add A Comment
Leave A Reply Cancel Reply

Top Posts

Paxton’s win over Cornyn sets up high-stakes Texas clash with Talarico

May 28, 202616 Views

Global Resources Outlook 2024 | UNEP

December 6, 202510 Views

Texas Democrat Talarico claims voting laws are rigged ahead of Paxton race

May 28, 20269 Views
Stay In Touch
  • Facebook
  • YouTube
  • TikTok
  • WhatsApp
  • Twitter
  • Instagram
Latest Reviews

Subscribe to Updates

Get the latest tech news from FooBar about tech, design and biz.

PrimeReports.org
Independent global news, analysis & insights.

PrimeReports.org brings you in-depth coverage of geopolitics, markets, technology and risk – with context that helps you understand what really matters.

Editorially independent · Opinions are those of the authors and not investment advice.
Facebook X (Twitter) LinkedIn YouTube
Key Sections
  • World
  • Geopolitics
  • Popular Now
  • Artificial Intelligence
  • Cybersecurity
  • Crypto
All Categories
  • Artificial Intelligence
  • Climate Risks
  • Crypto
  • Cybersecurity
  • Defense
  • Economy
  • Geopolitics
  • Global Markets
  • Healthcare Innovation
  • Politics
  • Popular Now
  • Science
  • Technology
  • World
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Disclaimer
  • Cookie Policy
  • DMCA / Copyright Notice
  • Editorial Policy

Sign up for Prime Reports Briefing – essential stories and analysis in your inbox.

By subscribing you agree to our Privacy Policy. You can opt out anytime.
Latest Stories
  • Apple Will Reportedly Add Bill-Splitting Feature to iOS 27
  • Opinion | Putin Has No Good Way Out of His War
  • Flowise’s MCP implementation can run ghost commands
© 2026 PrimeReports.org. All rights reserved.
Privacy Terms Contact

Type above and press Enter to search. Press Esc to cancel.