Skip to main content

Malicious code in claude-channel-discord (npm)

0
Medium
Published: 09/04/2026 (09/04/2026, 06:37:18 UTC)
Source: GCVE Database
Product: claude-channel-discord

Description

The npm package 'claude-channel-discord' version 9.9.9 is identified as a malicious package designed for dependency confusion reconnaissance. It contains preinstall and postinstall scripts that execute code sending the host's hostname to an attacker-controlled endpoint on Pipedream. This beacon triggers automatically during installation and when the package is required, potentially leaking sensitive environment information to an external server. The package exhibits suspicious characteristics such as an implausibly high version number, self-referential dependencies, and a name crafted to collide with legitimate internal packages.

Affected software

npmghsa
claude-channel-discord
Affected versions
=9.9.9

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: 09/07/2026, 18:23:22 UTC

Technical Analysis

The 'claude-channel-discord' npm package at version 9.9.9 acts as a dependency-confusion probe. Its package.json includes preinstall and postinstall hooks that run 'node index.js --save-prod', and its main entry also executes index.js. This script collects the host's OS hostname and sends it via an HTTP GET request to a Pipedream.net URL controlled by the attacker. The package's behavior leads to automatic data exfiltration during npm install and when the package is required in code. The package's metadata and naming pattern align with known dependency confusion reconnaissance tactics, aiming to leak host identifiers to an external collection endpoint.

Potential Impact

The primary impact is the unintended disclosure of the installer's host identifier (hostname) to an attacker-controlled external endpoint. This leakage can aid attackers in reconnaissance activities, potentially facilitating further targeted attacks. There is no indication of direct code execution beyond the data exfiltration or other malicious payloads. No known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or fix is available for this package. The best mitigation is to avoid installing or using the 'claude-channel-discord' package version 9.9.9. Review dependencies carefully to prevent dependency confusion attacks by verifying package authenticity and source. Employ strict package name whitelisting and use private registries where possible to reduce exposure to malicious packages.

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-15922
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a9ad4e8acd9273b49b6766e

Added to database: 09/04/2026, 14:25:44 UTC

Last enriched: 09/07/2026, 18:23:22 UTC

Last updated: 10/04/2026, 04:58:23 UTC

Views: 23

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