Researchers Hijack Popular NPM Package with Millions of Downloads

0
224
Researchers Hijack Popular NPM Package with Millions of Downloads


Feb 16, 2023Ravie LakshmananSupply Chain / Software Security

Researchers Hijack Popular NPM Package with Millions of Downloads

A preferred npm package deal with greater than 3.5 million weekly downloads has been discovered weak to an account takeover assault.

“The package deal could be taken over by recovering an expired area identify for considered one of its maintainers and resetting the password,” software program provide chain safety firm Illustria mentioned in a report.

While npm’s safety protections restrict customers to have just one lively e mail deal with per account, the Israeli agency mentioned it was in a position to reset the GitHub password utilizing the recovered area.

The assault, in a nutshell, grants a menace actor entry to the package deal’s related GitHub account, successfully making it attainable to publish trojanized variations to the npm registry that may be weaponized to conduct provide chain assaults at scale.

This is achieved by making the most of a GitHub Action that is configured within the repository to routinely publish the packages when new code adjustments are pushed.

“Even although the maintainer’s npm consumer account is correctly configured with [two-factor authentication], this automation token bypasses it,” Bogdan Kortnov, co-founder and CTO of Illustria, mentioned.

NPM Package

Illustria didn’t disclose the identify of the module, however famous that it reached out to its maintainer, who has since taken steps to safe the account.

This is just not the primary time developer accounts have been discovered weak to takeovers lately. In May 2022, a menace actor registered an expired area utilized by the maintainer related to the ctx Python package deal to grab management of the account and distributed a malicious model.

Found this text attention-grabbing? Follow us on Twitter and LinkedIn to learn extra unique content material we publish.

LEAVE A REPLY

Please enter your comment!
Please enter your name here