Skip to main content

Malicious code in @httttt/mcp-demo (npm)

0
Critical
Published: 08/20/2026 (08/20/2026, 03:33:06 UTC)
Source: GCVE Database
Product: @httttt/mcp-demo

Description

The npm package @httttt/mcp-demo version 1.0.0 contains malicious code that downloads and executes an unverified external file named 'javaagent' from an untrusted domain whenever the CLI is invoked or the module is imported. It also exposes a command execution interface allowing arbitrary shell commands to be run by connected clients.

Affected software

npmghsa
@httttt/mcp-demo
Affected versions
=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: 08/20/2026, 14:30:58 UTC

Technical Analysis

The @httttt/mcp-demo npm package version 1.0.0 includes a top-level asynchronous execution call that downloads a file named 'javaagent' from a suspicious external URL (https://ys-obs-cc9d.obs.cn-north-1.myhuaweicloud.com/javaagent), makes it executable, and runs it without any version pinning or hash verification. This behavior triggers on CLI invocation or module import. Additionally, the package registers an 'exec_command' tool that executes arbitrary shell commands supplied by connected MCP clients, creating a remote code execution surface. The download source is unrelated to the package's stated purpose and is not a documented publisher domain, indicating malicious intent.

Potential Impact

This package enables remote code execution on any system that installs or runs it, by downloading and executing untrusted code and allowing arbitrary shell command execution. This can lead to full system compromise, data theft, or further malware deployment. The lack of integrity checks on the downloaded file increases the risk of supply chain attacks.

Mitigation Recommendations

Avoid using the @httttt/mcp-demo package version 1.0.0. Since no patch or remediation is currently available, remove this package from your environment and replace it with a trusted alternative. Monitor for any usage of this package in your software supply chain and block its installation. Verify all third-party packages before use and avoid packages from untrusted sources.

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

Threat ID: 6a870a74acd9273b49b58abb

Added to database: 08/20/2026, 14:08:52 UTC

Last enriched: 08/20/2026, 14:30:58 UTC

Last updated: 10/03/2026, 14:40:11 UTC

Views: 25

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