npm · Malicious package advisory
Malwarecursor-shadow-workspace
GHSA-p745-gmcg-8qxr
Malicious code in cursor-shadow-workspace (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.2` ## Source: ossf-package-analysis (1c0d7191f53edcbd6d8459f64259fb12d6390bc73fffef3e045a073875f0f91f) The OpenSSF Package Analysis project identified 'cursor-shadow-workspace' @ 1.0.2 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/4012598c9b06e58935bd8883f7a0cd37c3130664/osv/malicious/npm/cursor-shadow-workspace/MAL-2025-29.json)) **References:** - https://github.com/ossf/malicious-packages/blob/4012598c9b06e58935bd8883f7a0cd37c3130664/osv/malicious/npm/cursor-shadow-workspace/MAL-2025-29.json - https://github.com/ossf/malicious-packages/blob/78792aee23e5c759f309a3d2e9397caf2439773e/osv/malicious/npm/cursor-shadow-workspace/MAL-2025-29.json - https://github.com/advisories/GHSA-p745-gmcg-8qxr
Compromised versions (1)
- = 1.0.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.