SheetJS drops npm registry over 2FA requirement and “legal issues”

0
417

[ad_1]

In a surprising move, the popular open source project, SheetJS, also known as “xlsx”, dropped support for npm registration.

Downloaded around 1.4 million times per week on npm, SheetJS is trusted by NodeJS developers to create and analyze Excel spreadsheets using only JavaScript.

The project maintainer suggests that the decision to deregister npm is based on recently introduced two-factor requirements for major projects, GitHub’s abrupt decision-making, and ongoing “legal issues” between SheetJS and npm.

SheetJS moves away from npm logging

On April 14, the SheetJS maintainer introduced a code change that removed the npm dependencies used by the project.

All URL references to npm domains within the SheetJS source code have also been updated to use the SheetJS CDN, as seen by BleepingComputer.

Future versions of SheetJS are expected to be published on their CDN, cdn.sheetjs.com, instead of the npmjs registry.

SheetJS (also known as xlsx) is listed in the “Top 500 Packages” based on the number of components that depend on this library.

Note that the ‘sheetjs’ npm package is a mere placeholder reserved for SheetJS, while the official SheetJS npm library lives in ‘xlsx’:

SheetJS npm page
SheetJS project, distributed in the npm registry as ‘xlsx’ (npm)

From 2FA requirement to pending ‘legal issues’

This move by SheetJS has completely confused developers who opened a discussion thread on the project’s GitHub repository, questioning why.

The developer behind SheetJS cites a number of reasons behind npm, including the registry’s decision to force maintainers of major open source projects to two-factor authentication.

sheetjs enrolled in 2fa by npm
SheetJS dev now requires setting up 2FA per npm (GitHub)

GitHub’s initiative to enforce multi-factor authentication (MFA) came on the heels of last year’s hijacking incidents involving famous npm packages like ua-parser-js, coa, and rc.

These npm libraries, trusted by thousands of projects and businesses, were contaminated with malware in 2021 after attackers compromised npm accounts