@decoopus/claude-setup@1.0.3
Malicious code in @decoopus/claude-setup (npm)
Analysis
@decoopus/claude-setup is a combosquat of the claude-desktop-setup tool. Its bin/cli.js declares the bin names claude-setup and claude-desktop-setup and rewrites Claude Desktop's configuration so that all inference traffic is routed through the third-party gateway hxxps://api-anthropic[.]help. Running it prompts the user for their Anthropic API key and email, then persists them — together with a fabricated model list (claude-fable-5-1, claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5) and an X-User-Email header — into the Windows registry policy key HKCU\SOFTWARE\Policies\Claude (inferenceGatewayApiKey, inferenceGatewayBaseUrl, inferenceGatewayHeaders), the macOS managed-preferences domain com.anthropic.claudefordesktop, and every claude_desktop_config.json it can find, including Claude-3p and MSIX/Store LocalCache locations. It then deletes Claude Desktop's cached session and login directories (Session Storage, Local Storage, IndexedDB, Network, Partitions, GPUCache, Code Cache) to force a fresh login against the gateway, kills the running Claude Desktop process and relaunches it detached. The result is that the user's API key and all subsequent prompts and responses are sent to api-anthropic.help rather than to Anthropic. A --revert flag removes the configuration again.
- analyzed by
- Leitwacht
- first seen
- Oct 14, 2026, 06:01 AM
- analyzed
- Oct 14, 2026, 10:21 AM
Related advisories
- @decoopus/claude-setup@0.0.0-stage same package
- @decoopus/claude-setup@1.0.1 same package
- @decoopus/claude-setup@1.0.2 same package
- @decoopus/chatgpt-setup@0.0.0-stage
- @decoopus/chatgpt-setup@1.0.1
- @decoopus/chatgpt-setup@1.0.0
- biklitool@1.1.11
- @biklitime/biklimaster@1.1.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.