vanexa-agent (npm) · Malicious Code
Affects vanexa-agentSource GCVE Database
Malicious package : remove vanexa-agent and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 07:43 UTC
Malicious package
Published to npm · OSV MAL-2026-10751
What to do
Remove vanexa-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
| Product | Affected | Fixed in |
|---|---|---|
| npmvanexa-agent | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The vanexa-agent npm package contains malicious code that establishes a persistent WebSocket connection to a hardcoded external relay controlled by an attacker. This connection allows the attacker to send commands that the agent executes on the host system with shell access, enabling arbitrary command execution. The authentication mechanism relies solely on a user-typed 6-digit code with no cryptographic protections, making it vulnerable to guessing or interception. Sensitive information, including the hostname and encrypted API keys, is transmitted to the relay. This vulnerability affects multiple specific versions of vanexa-agent and poses a critical risk of remote code execution.
References
- npmjs.com/package/vanexa-agent/v/1.1.10 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.9 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.23 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.46 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.34 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.39 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.27 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.18 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.22 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.28 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.13 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.45 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.31 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.41 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.35 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.33 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.16 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.11 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.42 (opens in a new tab)
- npmjs.com/package/vanexa-agent/v/1.1.8 (opens in a new tab)