remote-harness-mcp (npm): malicious package compromises machines and steals secrets (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-12-02
GitHub's malware advisory database flagged the npm package remote-harness-mcp as embedded malicious code (CWE-506), published 2026-12-02. All versions (= 0) are affected and no patched version exists — the package itself is the malware. Any machine with the package installed or running should be considered fully compromised, with full control potentially handed to an outside entity, exposing secrets and keys. The package sees roughly 816 downloads per month and has 6 GitHub stars, so exposure is limited but real. Removal of the package does not guarantee removal of all malicious software it installed. There is no fix; remediation is host-level incident response and credential rotation.
What to do
- Rotate all secrets and keys stored on any machine where the package was installed, using a different, clean computer
- Isolate and rebuild any machine that installed or ran the package; do not trust removal of the package alone
- Check npm lockfiles and CI/CD environments for remote-harness-mcp and remove it
- Audit logs and network traffic from affected hosts for signs of external control or exfiltration
- Block the package in internal registries and dependency scanning
Sources
All live incidents on Threat Watch