⛔ Malware Advisory Detected 2026-10-14
Confirmed malicious. codelake independently detected this at 2026-10-14 — codelake independent analysis — no public OSV or GHSA advisory exists for @aicommander/agent at classification time. codelake code-reviewed the published family and classified it on a capability basis.. Not yet in any public advisory database at detection time — codelake is the source of record. Static code review of the published npm tarballs (1.0.34–1.5.0); no execution.
Advisory · CLR-2026-3067

@aicommander/agent — a declared remote-execution agent whose RAT-class capability (remote root shell-as-a-service) warrants a malware classification

The npm package @aicommander/agent is the host-side agent for the commercial “AI Commander” service (aicommander.dev). It is a declared remote-execution tool — by its own description it lets AI agents “run shell commands and detached long-running jobs” on your machine, with elevation via a privileged helper and installed persistence. codelake classifies it malicious on a capability basis: it ships Remote-Access-Trojan-class capability to developer and production hosts. No covert reverse shell, dropper or third-party exfiltration was found — this is a judgment about dangerous capability, not hidden theft.

HighRAT-class capabilitycodelake analysis
What it is

@aicommander/agent is distributed on npm as the host-side agent for the commercial “AI Commander” service (aicommander.dev). Its own package description states its purpose plainly: it “lets Claude, Codex and other AI agents run shell commands and detached long-running jobs” on the host, with “no exposed SSH, open ports, or VPN.”

Installed on a developer or server machine, the agent dials out to the vendor's relay and executes commands delivered through that relay. Elevated execution is available through a bundled privileged helper reached over local IPC (127.0.0.1 / a unix socket), and the agent installs persistence so it keeps running across reboots.

Why codelake classifies it as malicious

codelake classifies @aicommander/agent as malicious on a capability basis. Independent of the vendor's intent, the package installs the exact capability set that defines a Remote Access Trojan:

(1) arbitrary remote shell-command execution on the host; (2) driven by a remote control plane; (3) able to run as root / LocalSystem through a privileged helper; (4) with installed persistence (systemd scope, macOS launch daemon, Windows scheduled task); and (5) a bundled native execution launcher.

Any compromise of the vendor's relay or account — or a single malicious update — converts every machine running the agent into a remotely-controlled, root-capable endpoint. A package that ships this capability to developer and production hosts is, in codelake's assessment, indistinguishable in risk from a RAT, and is treated as such.

What this advisory does not claim

In the interest of accuracy: codelake's code review found no covert malicious mechanism in any published version. There is no hidden reverse shell (a child process's stdio is never bound to a remote socket), no download-and-execute dropper (the native launcher is bundled in the package, not fetched at runtime), and no third-party data exfiltration (the only external host is the vendor's own aicommander.dev, which is host-locked in code; the relay is authenticated, and the tool even embeds prompt-injection defenses and destructive-command confirmations).

This classification is therefore a judgment about dangerous capability, not a finding of covert theft or a backdoor. Operators who deliberately adopt AI Commander as a remote-execution product should weigh that capability — unrestricted, elevated, persistent remote code execution on the host — accordingly.

Affected versions

All published versions are covered by this classification: 1.0.34 through 1.5.0. The remote-execution capability is present and materially identical across the range; the bundled native Windows launcher was added during the 1.4.x line. Later point releases changed only AI-guidance text and local job-lifecycle bookkeeping.

Timeline
2026 (1.0.x – 1.5.0)
Published
Successive versions of @aicommander/agent published to npm for the AI Commander service.
2026-10-14
codelake classification
codelake code-reviews the family and classifies it malicious on a capability basis (declared RAT-as-a-service). No public OSV/GHSA advisory exists.
Capability fingerprints
🌐Control plane: aicommander.dev (vendor-owned, host-locked in code; authenticated WSS relay)
🖥️Remote shell-command execution on the host, delivered over the relay (declared exec capability)
⬆️Privilege elevation via a local privileged helper (loopback 127.0.0.1 / unix-socket IPC) — commands can run as root / LocalSystem
📌Installed persistence: systemd scope · macOS launch daemon · Windows scheduled task
🧩Bundled native execution launcher dist-native/aicommander-win-exec-x64.exe (shipped in the tarball, invoked locally)
🚫NOT observed: covert reverse shell · remote-fetch dropper · third-party data exfiltration
Remediation
#ActionPriority
1 Treat @aicommander/agent as unauthorized remote-access software on any host where it was not deliberately and knowingly deployed; uninstall it and remove its persistence unit (systemd scope / launch daemon / scheduled task). Immediate
2 If you intentionally use AI Commander, restrict it to isolated, non-production hosts, run it unprivileged where possible, and monitor the outbound relay connection to aicommander.dev. High
3 Audit hosts for the persistence units and the bundled native launcher listed above, and review what commands were executed through the agent. High

codelake capability-based malware classification. Verified by static code review of the published npm tarballs (versions 1.0.34–1.5.0); no execution. No covert reverse shell, dropper, or third-party exfiltration was found — the classification reflects declared Remote-Access-Trojan-class capability shipped to host machines.