Skip to main content
MalwarePublished Updated

@agent-link/agent (npm) · Malicious Code

Affects @agent-link/agentSource GCVE Database

0

Malicious package : remove @agent-link/agent and rotate any secrets on hosts that installed it.

Data as of 6 Aug 2026, 18:33 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10705

What to do

Remove @agent-link/agent from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npm@agent-link/agentAffected
  • 0.1.269 – 0.1.325
41 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…