• About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us
TechTrendFeed
  • Home
  • Tech News
  • Cybersecurity
  • Software
  • Gaming
  • Machine Learning
  • Smart Home & IoT
No Result
View All Result
  • Home
  • Tech News
  • Cybersecurity
  • Software
  • Gaming
  • Machine Learning
  • Smart Home & IoT
No Result
View All Result
TechTrendFeed
No Result
View All Result

npm Provides 2FA-Gated Publishing and Bundle Set up Controls In opposition to Provide Chain Assaults

Admin by Admin
May 25, 2026
Home Cybersecurity
Share on FacebookShare on Twitter


Ravie LakshmananCould 23, 2026Software program Provide Chain / DevSecOps

GitHub has rolled out new controls for npm to enhance the safety of the software program provide chain, giving maintainers the flexibility to explicitly approve a launch previous to the packages changing into publicly obtainable for set up.

Referred to as staged publishing, the characteristic is now typically obtainable on npm. It mandates {that a} human maintainer cross a two-factor authentication (2FA) problem to approve a bundle earlier than it’s pushed to the npmjs[.]com.

“As a substitute of a direct publish that instantly makes a bundle model obtainable to shoppers, the prebuilt tarball is uploaded to a stage queue the place a maintainer should explicitly approve it earlier than it turns into installable,” GitHub stated.

The Microsoft-owned subsidiary stated the change ensures “proof of presence” for each publish, together with those who come from non-interactive CI/CD workflows and trusted publishing with OpenID Join (OIDC) authentication.

Earlier than utilizing staged publishing, bundle maintainers have to satisfy the next standards –

  • Have publish entry to the bundle
  • Bundle already exists on the npm registry, that means a model new bundle can’t be staged
  • 2FA is enabled for the account

Builders can use the command “npm stage publish” from the basis listing of the bundle to submit it to a staging space. To make use of this command, it is important to replace to npm CLI 11.15.0 or newer. For optimum safety, GitHub is recommending that staged publishing be paired with trusted publishing utilizing OIDC.

A second replace centered on npm pertains to the introduction of three new set up supply flags alongside the prevailing -allow-git flag –

  • –allow-file: Controls installs from native file paths and native tarballs
  • –allow-remote: Controls installs from distant URLs, together with https tarballs
  • –allow-directory: Controls installs from native directories

The flags enable builders to “apply the identical explicit-allowlist method to each non-registry set up supply,” GitHub stated.

The event comes amid a huge surge in software program provide chain assaults focusing on open-source ecosystems over the previous few months, with one cybercriminal group referred to as TeamPCP poisoning widespread packages at an unprecedented scale via a self-perpetuating cycle of compromises.

Tags: 2FAGatedaddsAttacksChainControlsINSTALLnpmPackagePublishingSupply
Admin

Admin

Next Post
Tech Life – May this tech assist tens of millions of us sleep higher?

Tech Life - May this tech assist tens of millions of us sleep higher?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Trending.

These 5 Easy Methods Helped Me Construct a Smarter House

These 5 Easy Methods Helped Me Construct a Smarter House

July 19, 2025
Discover a Software program Improvement Firm in Europe

Discover a Software program Improvement Firm in Europe

August 22, 2025
Arbitrage: Environment friendly Reasoning by way of Benefit-Conscious Hypothesis

Arbitrage: Environment friendly Reasoning by way of Benefit-Conscious Hypothesis

August 8, 2026
Submit Your Questions: The Nice Knowledge Heart Backlash

Submit Your Questions: The Nice Knowledge Heart Backlash

August 27, 2026
The House Assistant survey dataset – Open House Basis

The House Assistant survey dataset – Open House Basis

August 29, 2026

TechTrendFeed

Welcome to TechTrendFeed, your go-to source for the latest news and insights from the world of technology. Our mission is to bring you the most relevant and up-to-date information on everything tech-related, from machine learning and artificial intelligence to cybersecurity, gaming, and the exciting world of smart home technology and IoT.

Categories

  • Cybersecurity
  • Gaming
  • Machine Learning
  • Smart Home & IoT
  • Software
  • Tech News

Recent News

Odoo Customization vs Customary: When to Customise

Odoo Customization vs Customary: When to Customise

September 13, 2026
Z-Wave at CEDIA Expo 2026: Why Connectivity Issues

Z-Wave at CEDIA Expo 2026: Why Connectivity Issues

September 13, 2026
  • About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us

© 2025 https://techtrendfeed.com/ - All Rights Reserved

No Result
View All Result
  • Home
  • Tech News
  • Cybersecurity
  • Software
  • Gaming
  • Machine Learning
  • Smart Home & IoT

© 2025 https://techtrendfeed.com/ - All Rights Reserved