Skip to main content
MalwarePublished Updated

vanexa-agent (npm) · Malicious Code

Affects vanexa-agentSource GCVE Database

0

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

Data as of 7 Aug 2026, 07:43 UTC

Classification

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

ProductAffectedFixed in
npmvanexa-agentAffected
  • 1.1.8 – 1.1.48
30 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 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

Community reviews

Loading reviews…