Malicious npm Packages Target AI Coding Company in Dependency Confusion Attack

In January 2025, a Snyk researcher published malicious npm packages seemingly aimed at Cursor, an AI coding company. The packages, named "cursor-retrieval," "cursor-always-local," and "cursor-shadow-workspace," collected system data, including environment variables containing sensitive information like AWS keys and GitHub credentials, and sent it to an attacker-controlled server. This resembles dependency confusion attacks, where public packages mimic private ones to trick developers. The OpenSSF package analysis scanner flagged these packages, and advisories were issued. The incident highlights the need for vigilance and robust security when using npm packages.

https://sourcecodered.com/snyk-malicious-npm-package/

Comments

Popular posts from this blog

Endor Labs Announces Integrated SAST Offerings

OWASP Releases Enhanced Dependency-Check Tool with Advanced Tagging and Policy Management Features

The Hidden Cost of DevSecOps: Time and Financial Burden of Security on Developers