{"id":"MAL-2026-13415","revision":"8cb12c84be0f46348c472c1a6aab2df2","records":[{"revision":"8cb12c84be0f46348c472c1a6aab2df2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13415","aliases":[],"title":"Malicious code in @aubea/mars (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bdc44d9f879ce07c857e122c24664d6ae0445cb55aceeeb12c898d65898f7617)\nWhen 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.\n","state":0,"publishedAt":"2026-08-06T13:39:10+00:00","modifiedAt":"2026-08-06T14:34:44.6535343+00:00","affected":[{"ecosystem":"npm","name":"@aubea/mars","ranges":[],"versions":["1.2.12","1.2.11","1.0.0","1.1.0","1.2.8","1.2.2","1.2.9","1.2.10","1.2.6","1.2.3","1.2.4","1.2.0","1.2.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@aubea/mars/v/1.2.12","https://www.npmjs.com/package/@aubea/mars/v/1.2.11","https://www.npmjs.com/package/@aubea/mars/v/1.0.0","https://www.npmjs.com/package/@aubea/mars/v/1.1.0","https://www.npmjs.com/package/@aubea/mars/v/1.2.8","https://www.npmjs.com/package/@aubea/mars/v/1.2.2","https://www.npmjs.com/package/@aubea/mars/v/1.2.9","https://www.npmjs.com/package/@aubea/mars/v/1.2.10","https://www.npmjs.com/package/@aubea/mars/v/1.2.6","https://www.npmjs.com/package/@aubea/mars/v/1.2.3","https://www.npmjs.com/package/@aubea/mars/v/1.2.4","https://www.npmjs.com/package/@aubea/mars/v/1.2.0","https://www.npmjs.com/package/@aubea/mars/v/1.2.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13415","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13415","identifiers":["MAL-2026-13415"]},"retained":false,"historicalAffected":[]}],"coverage":[]}