Malicious code in @vanexalabs-ai/vanexa-agent (npm)
The npm package @vanexalabs-ai/vanexa-agent contains malicious code that implements a WebRTC daemon capable of executing arbitrary shell commands received from remote peers or signaling relay operators. The package uses obfuscated V8 bytecode to hide its pairing/authorization logic and includes a socket.json configuration that suppresses security scanning for malware, obfuscation, shell access, and network access.
- Disclosed
- Last updated
- Blast radius
- Hosts where the @vanexalabs-ai/vanexa-agent package is explicitly executed; full remote code execution possible for anyone controlling the signaling relay or paired peer.
- Ecosystems
- Attack vectors
- Affected entities
- @vanexalabs-ai/vanexa-agentnpm package containing malicious code implementing remote code execution via WebRTC daemon
The @vanexalabs-ai/vanexa-agent npm package contains intentionally malicious code that establishes a WebRTC daemon paired with remote peers (such as phones) using signaling relays at https://vanexa-agent-relay.workers.dev and https://vanexa-agent-relay.tubefood.workers.dev. The daemon listens for commands over WebRTC DataChannel and executes them via child_process.spawn/exec on the host machine, providing full remote code execution to anyone controlling the signaling relay or a paired peer.\n\nThe package deliberately obfuscates its runtime dispatch logic by shipping it only as V8 bytecode (dist/bundle.jsc loaded via bytenode), with the fallback .cjs file minified. The developers frame this obfuscation as 'commercial IP protection,' but it prevents security review of the pairing and authorization semantics. A socket.json file at the tarball root explicitly suppresses security scanning across all relevant categories: aiMalware, gptMalware, obfuscatedCode, usesEval, nativeCode, shellAccess, filesystemAccess, networkAccess, bypassesEnvironment, and installScripts.\n\nThe malicious behavior is triggered only when the agent is explicitly executed by an operator (not during npm install or require), which bounds the blast radius to systems where the package is actively run. However, any host running the agent becomes vulnerable to remote code execution from the relay operators or paired peers.
Indicators of compromise
- Packages
- @vanexalabs-ai/vanexa-agent
- Domains
- vanexa-agent-relay.workers.dev
- vanexa-agent-relay.tubefood.workers.dev
Remediation
- Immediately uninstall @vanexalabs-ai/vanexa-agent from all systems
- Audit any systems where this package was installed or executed for signs of unauthorized access or command execution
- Review network logs for connections to vanexa-agent-relay.workers.dev or vanexa-agent-relay.tubefood.workers.dev
- Do not install or use this package or any successor packages from the same publisher without independent security review
- Report the package to npm for removal and publisher account investigation
Sources
- GitHub Advisory GHSA-748q-7cjg-cvvx · GitHub Advisory Database
Cite this entry
"Malicious code in @vanexalabs-ai/vanexa-agent (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 6, 2026; last updated August 7, 2026. https://supplychainattack.org/incident/malicious-code-in-vanexalabs-ai-vanexa-agent-npm-14hm02
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in mangomind-agent (npm)
The npm package mangomind-agent contained malicious code that established a persistent WebSocket connection to a hardcoded relay server, enabling remote code execution and AI-agent-driven filesystem access on any host running the package. The vulnerability was discovered and reported by the OpenSSF.
npmAI agents & skillsCompromised packageMalicious commit - resolvedcritical
Malicious code in zyr-agent (npm)
zyr-agent (npm) shipped with malicious code that enables remote command execution through a hardcoded preview-slug endpoint controlled by the package author. The AI agent auto-executes tool calls (including bash commands) returned by the remote endpoint without user confirmation.
npmAI agents & skillsMalicious commitCompromised package - containedcritical
Malicious code in @yancyyu/agentcli (npm)
The npm package @yancyyu/agentcli contains malicious code that extracts OAuth credentials and API keys for Lark/Feishu from the system keychain (macOS) and credential store (Windows), then exfiltrates them to a hardcoded remote IP address over plaintext HTTP. A persistent launchd agent ensures the exfiltration loop survives reboots.
npmAI agents & skillsCompromised packageMalicious commit - containedcritical
Malicious code in pfp-forms-sme-loan (npm)
The npm package pfp-forms-sme-loan contains malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under well1.site. Any system that imported this package should be considered compromised.
npmCompromised packageMalicious commit