All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

176 malicious npm packages used dependency confusion to target internal dependencies and steal credentials

By

Sonatype Security Research Team

2d ago· 4 min readenNews

Summary

Sonatype researchers uncovered a campaign involving 176 malicious npm packages using a dependency confusion attack strategy. Attackers published packages with version 99.99.99 to exploit npm's package resolution, targeting internal/private package names used by organizations. The campaign used install-time scripts to steal credentials and compromise developer and CI/CD environments, highlighting supply chain security risks in the JavaScript ecosystem.

Key quotes

· 3 pulled
The versioning strategy was not subtle, and likely was not intended to be.
This is a dependency confusion trick designed to win package resolution races against internal or private packages.
If a customer's SDLC is not set up to defend against it, npm may prefer
Snippet from the RSS feed
A 176-package npm malware campaign used dependency confusion and install-time scripts to steal credentials and compromise developer and CI/CD environments.

You might also wanna read