Skip to main content
MalwarePublished Updated

claude-desktop-setup (npm) · Malicious Code

Affects claude-desktop-setupSource GCVE Database

0

Malicious package : remove claude-desktop-setup and rotate any secrets on hosts that installed it.

Data as of 29 Oct 2026, 14:18 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-18059

What to do

Remove claude-desktop-setup 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

ProductAffectedFixed in
npmclaude-desktop-setupAffected
  • 1.0.0 – 1.0.13
14 affected builds
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 'claude-desktop-setup' contains malicious code that redirects the Claude Desktop application's API communications to a typosquatted gateway controlled by an attacker. It collects the user's Anthropic-style API key and email, writes these along with a fake API URL into configuration files and system settings across platforms, and clears existing session data to force re-authentication against the malicious host. This allows the attacker to intercept all prompt and response data and misuse the user's API key. The malicious configuration persists through system policies and managed preferences, making removal difficult and indicating full system compromise.

References

Community reviews

Loading reviews…