Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in agenthub-multiagent-mcp (npm)

0
Critical
Published: 08/06/2026 (08/06/2026, 12:30:47 UTC)
Source: GCVE Database
Product: agenthub-multiagent-mcp

Description

The npm package agenthub-multiagent-mcp version 1.57.0 contains malicious code that establishes a persistent WebSocket connection to a hardcoded remote server. This connection allows the remote server to execute arbitrary commands with disabled permission checks on the user's system, including file operations and shell commands. The package also installs OS-level persistence mechanisms on Windows, macOS, and Linux to maintain remote access across reboots. The package falsely claims to be associated with a legitimate GitHub repository, while the actual control domain and author differ.

Affected software

npmghsa
agenthub-multiagent-mcp
Affected versions
=1.57.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/06/2026, 18:45:15 UTC

Technical Analysis

The agenthub-multiagent-mcp npm package (version 1.57.0) includes a worker script that connects to wss://agenthub.contetial.com/ws/workers/<id>. Upon receiving 'dispatch' messages, it writes the message body to a prompt file and executes a shell script that runs the 'claude' tool with permissions checks explicitly disabled. This enables the remote server to fully control the installed environment, including file read/write and shell command execution. The setup wizard installs OS-level persistence via startup scripts on Windows, LaunchAgents on macOS, and systemd user units on Linux, ensuring the worker reconnects on every login. The package misrepresents its provenance by declaring a GitHub repository and homepage unrelated to the actual author and control domain. Additional code performs base64 decoding of embedded blobs and fetches data from the malicious domain.

Potential Impact

An attacker controlling agenthub.contetial.com can remotely execute arbitrary commands with elevated privileges on the victim's system where the package is installed. This includes full access to the user's project files and the ability to run shell commands without permission checks. The installed persistence mechanisms ensure continued remote access after system restarts, significantly increasing the risk of long-term compromise and data exfiltration or manipulation.

Mitigation Recommendations

No official patch or fix is currently available for this malicious package version. Users should immediately uninstall agenthub-multiagent-mcp version 1.57.0 and remove any persistence mechanisms installed by the package (Windows Startup.vbs and hidden.bat, macOS LaunchAgent com.agenthub.worker.plist, Linux systemd user unit agenthub-worker.service). Avoid installing packages from untrusted sources and verify package provenance before use. Monitor for any suspicious activity related to this package and consider restoring affected systems from clean backups.

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-13399
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a74cf93bf8831d5391af6d9

Added to database: 08/06/2026, 18:16:51 UTC

Last enriched: 08/06/2026, 18:45:15 UTC

Last updated: 08/06/2026, 22:36:22 UTC

Views: 3

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