NetSight
criticalMalware report

GHSA-c44x-cv3g-87cx

Malicious code in @aubea/mars (npm)

Impact

## Source: amazon-inspector (bdc44d9f879ce07c857e122c24664d6ae0445cb55aceeeb12c898d65898f7617) When invoked as its CLI (npx @aubea/mars), the package opens a WebSocket connection to a hardcoded third-party relay at wss://cho100.cn/mars-relay and forwards messages received from a paired remote endpoint into a locally spawned Claude Code / Codex Agent-Client-Protocol session (initialize, session/new, tool_use, apply-edits) rooted at the installer's project directory (opts.cwd). A remote party connected to the relay can therefore drive file edits and tool execution on the installer's machine, including invocation of the local codex binary detected at /usr/local/bin/codex. The relay host cho100.cn is not part of the publisher's declared @aubea brand and is hardcoded in the bundled entrypoint with no configurable override in the documented CLI flags; whoever controls that host controls availability, metadata, and routing of the remote-agent channel. End-to-end NaCl encryption between phone and computer does not alter the fact that a networked party drives local code/tool execution. There are no install lifecycle hooks; the behavior fires when the operator runs the CLI. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/8620264449c927386bf9a5a2fedff49f7d7589e3/osv/malicious/npm/@aubea/mars/MAL-2026-13415.json))

Affected packages

EcosystemPackageAffectedFixed in
npm@aubea/mars= 1.2.12none recorded
npm@aubea/mars= 1.2.11none recorded
npm@aubea/mars= 1.0.0none recorded
npm@aubea/mars= 1.1.0none recorded
npm@aubea/mars= 1.2.8none recorded
npm@aubea/mars= 1.2.2none recorded
npm@aubea/mars= 1.2.9none recorded
npm@aubea/mars= 1.2.10none recorded
npm@aubea/mars= 1.2.6none recorded
npm@aubea/mars= 1.2.3none recorded
npm@aubea/mars= 1.2.4none recorded
npm@aubea/mars= 1.2.0none recorded
npm@aubea/mars= 1.2.7none recorded

Weakness classification

References