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 @agent-link/agent (npm)

0
Critical
Published: 07/16/2026 (07/16/2026, 18:41:12 UTC)
Source: GCVE Database
Product: @agent-link/agent

Description

The @agent-link/agent npm package contains malicious code that connects to a hardcoded WebSocket relay at wss://msclaude.ai. This relay can send commands that are executed interactively on the host system via a locally spawned shell, enabling remote command execution. The package also fetches and installs updates from the same unverified origin, allowing an attacker controlling the relay to replace the package with malicious versions. The publisher identity and origin of the relay are unclear and unverified, increasing the risk of supply chain compromise. Multiple specific versions of the package are affected.

Affected software

npmghsa
@agent-link/agent
Affected versions
=0.1.269=0.1.325=0.1.319=0.1.285=0.1.280=0.1.272=0.1.310=0.1.293=0.1.283=0.1.299=0.1.279=0.1.308=0.1.294=0.1.281=0.1.287=0.1.320=0.1.323=0.1.270=0.1.303=0.1.316=0.1.322=0.1.277=0.1.278=0.1.284=0.1.311=0.1.296=0.1.324=0.1.275=0.1.318=0.1.274=0.1.312=0.1.298=0.1.302=0.1.292=0.1.282=0.1.304=0.1.314=0.1.273=0.1.271=0.1.289=0.1.307

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:33:01 UTC

Technical Analysis

The @agent-link/agent npm package establishes a WebSocket connection to a hardcoded relay endpoint (wss://msclaude.ai) and forwards messages received from this relay directly into a locally spawned pseudo-terminal (PTY) shell process. This design allows whoever controls the relay or holds a session URL to execute arbitrary commands interactively on the host system running the agent. Additionally, the package's emergency upgrade mechanism downloads replacement package tarballs from the same origin, verifying only manifest data served by that origin, effectively allowing the relay operator to push signed-by-manifest malicious updates. The package's publisher provenance is unclear, with inconsistent GitHub references and an unverified relay domain, indicating a high risk of malicious supply chain activity.

Potential Impact

An attacker controlling the WebSocket relay or possessing a valid session URL can execute arbitrary commands on the host system running the vulnerable @agent-link/agent package. This includes interactive shell access and the ability to perform HTTP requests or other operations via included scripts. Furthermore, the attacker can push malicious package updates by controlling the update manifest and tarball served from the relay domain, enabling persistent compromise and further malicious actions. This represents a critical supply chain compromise risk.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately discontinue use of the @agent-link/agent package versions listed as affected. Due to the malicious nature of the package and unverified publisher identity, it is recommended to remove the package from all environments and avoid installing it until a trustworthy, verified version or alternative is available. Monitor for any unauthorized command execution or unexpected network connections to wss://msclaude.ai. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.

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

Threat ID: 6a74cf8cbf8831d5391ae70d

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

Last enriched: 08/06/2026, 18:33:01 UTC

Last updated: 08/06/2026, 18:33:01 UTC

Views: 2

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