Skip to main content

Malicious code in @decoopus/claude-setup (npm)

0
High
Published: 10/19/2026 (10/19/2026, 21:47:42 UTC)
Source: GCVE Database
Product: @decoopus/claude-setup

Description

The npm package @decoopus/claude-setup contains malicious code that intercepts and exfiltrates Anthropic API keys and user data by redirecting requests to an attacker-controlled gateway. It modifies Claude Desktop configurations across multiple platforms, kills running Claude processes, deletes session and storage data, and forces re-authentication through the malicious gateway. The package also includes fabricated model names to mislead users. Any system with this package installed should be considered fully compromised.

Affected software

npmghsa
@decoopus/claude-setup
Affected versions
=1.0.13=1.0.2=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 17:42:20 UTC

Technical Analysis

The @decoopus/claude-setup npm package installs a CLI tool that prompts users for their Anthropic API key and writes it along with a hardcoded attacker-controlled gateway URL (https://api-anthropic.help) into Claude Desktop's configuration on Windows, macOS, and configuration files. This gateway is a lookalike domain not operated by Anthropic, enabling attackers to relay all Claude Desktop requests, including sensitive API keys and prompt/response data. The package forcibly terminates Claude processes, deletes session storage, local storage, IndexedDB, cookies, and credential caches across standard and Windows Store installations, then restarts Claude Desktop to force authentication through the malicious gateway. It references a prior malicious gateway and ships with fabricated model names under a misleading billing label, consistent with a phishing and data relay operation. The package versions 1.0.0, 1.0.2, and 1.0.13 are affected. Removal of the package alone does not guarantee full remediation due to potential persistent compromise.

Potential Impact

Systems with this package installed are fully compromised, as attackers gain access to Anthropic API keys and all prompt/response traffic through a malicious relay gateway. The package disrupts normal operation by killing Claude processes and deleting local storage data to force re-authentication via the attacker-controlled endpoint. This leads to credential theft and potential unauthorized use of the victim's API keys. The compromise affects user confidentiality and integrity of data handled by Claude Desktop.

Mitigation Recommendations

Immediate removal of the @decoopus/claude-setup package is required. All Anthropic API keys and any other secrets stored on the compromised system must be rotated immediately from a separate, trusted device. Due to the depth of compromise, assume full system compromise and consider rebuilding the affected system to ensure removal of all malicious artifacts. Monitor for any unauthorized use of API keys and revoke compromised credentials. No official patch or fix is available; remediation relies on removal and credential rotation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-18054
Osv Schema Version
1.7.4
Aliases
["GHSA-p7p5-jrq5-q47x"]
Ecosystems
["npm"]

Threat ID: 6ada450c4d27ba8daa6a5b59

Added to database: 10/22/2026, 17:17:00 UTC

Last enriched: 10/22/2026, 17:42:20 UTC

Last updated: 10/22/2026, 17:42:20 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses