cursor-ai-fork (npm) · Malicious Code
Affects cursor-ai-forkSource GCVE Database
Malicious package : remove cursor-ai-fork and rotate any secrets on hosts that installed it.
Data as of 29 Oct 2026, 23:25 UTC
Malicious package
Published to npm · OSV MAL-2025-49254
What to do
Remove cursor-ai-fork from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcursor-ai-fork | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package cursor-ai-fork contains malicious code that can fully compromise any computer on which it is installed or running. The compromise may allow an attacker to gain full control over the affected system, potentially exposing all stored secrets and keys. Immediate removal of the package is recommended, but due to the extent of the compromise, simply removing the package may not eliminate all malicious software. Secrets and keys should be rotated from a separate, secure computer to prevent further unauthorized access.