Skip to content

MCPA-2026-0075

criticalmalicious-package

claw-subagent-service (npm) installs an auto-restarting privileged service that self-updates and takes agent commands from a vendor IM channel

The npm package claw-subagent-service registers itself as a privileged auto-start Windows service from its postinstall script (`sc.exe create` plus `sc.exe failure ... actions= restart/0/restart/0/restart/0` and `start= auto`) and starts it immediately with no opt-in. The running service then (1) self-replaces every 6 hours via `npm view claw-subagent-service version` followed by `npm install -g claw-subagent-service@<latest>`, so any future tarball under that name executes with the service's privileges regardless of the operator's pinning, and (2) fetches an IM token from https://newsradar.dreamdt.cn/im/api/claw/token/<nodeId>, joins a RongCloud session with the hardcoded appKey `bmdehs6pbyyks`, and dispatches inbound COMMAND / DEVICE_CONTROL / CHAT_MESSAGE messages into local script execution and into prompts fed to the local OpenCode/openclaw agent — giving whoever controls that backend persistent shell-class access to every installer machine, plus periodic collection of local agent session state. Flagged as malware by OSV (amazon-inspector source); the package remained live on npm and the 1.4.0 tarball verified on 2026-08-08 still contains the privileged service installer, the global self-update loop and the vendor IM command handler, so every version is recorded as affected.

Affected packages

EcosystemPackageAffected versions
npmclaw-subagent-service
>= 0

Identifiers

MAL-2026-3757CWE-506CWE-912

References

Timeline

  • Published: 2026-08-08

← All advisories