Updated Developer security company Snyk is at the center of allegations concerning the possible targeting or testing of Cursor, an AI code editor company, using "malicious" packages uploaded to NPM. Paul McCarty, a security researcher at SourceCodeRed.com, said he made the "strange" finding during a malicious package detection routine. He claimed a user named "sn4k-s3c" had uploaded three packages that were later tagged as malicious and named in a way that seemingly targeted Cursor: cursor-retrieval cursor-always-local cursor-shadow-workspace "If you install any of these packages they will collect data about your system and send it to an attacker controlled web service," he claimed. The cursor-shadow-workspace package, for example, would capture outputs of an env command, he said. Secrets exposed by such commands include GitHub credentials, AWS keys, and NPM tokens, McCarty added, so they would be compromised if the package was run. He went on to say: "Now, typically, when we see packages like this, they are attempting to perform a dependency confusion attack on a specific company. I don't know if Cursor.com has a bug bounty program or a specific background. Still, I would suspect that Cursor has several NPM private packages named 'cursor-always-local,' 'cursor-retrieval,' and 'cursor-shadow-workspace.' The packages have since been removed from NPM, the open source JavaScript package library, but before they were, McCarty claimed the metadata indicated that an individual usin...
Snyk deployed 'malicious' packages, claims infoseccer
The Register
·Connor Jones
·Published Jan 14, 2025
·Updated
Affected Software
7 affected components
Cursor cursor-retrieval
Cursor cursor-always-local
Cursor cursor-shadow-workspace
Cursor AI code editor
npm cursor-retrieval
npm cursor-always-local
npm cursor-shadow-workspace
Frequently Asked Questions
1
What is the main incident discussed in the article?
The article discusses allegations against Snyk for deploying potentially malicious packages targeting the AI code editor company Cursor.
2
What security implications are raised in this article?
The article highlights concerns about the security risks associated with deploying malicious NPM packages that could compromise software development environments.
3
Which products are specifically mentioned as being affected by the malicious packages?
The affected products include Cursor's AI code editor and related NPM packages, such as cursor-retrieval, cursor-always-local, and cursor-shadow-workspace.
4
Who is accusing Snyk of deploying malicious packages?
The accusations come from Paul McCarty, a security researcher at SourceCorp.
5
What is Snyk’s role in the software development ecosystem?
Snyk is a developer security company that provides tools for identifying and fixing vulnerabilities in open-source software.