nodecheck-health@1.0.0
Malicious code in nodecheck-health (npm)
Analysis
Remote Access Trojan disguised as a health-check tool: nodecheck-health@1.0.0. The bin entry point (index.js) prints a decoy "NodeCheck Health Monitor" report, then immediately installs OS-level persistence (systemd service on Linux, launchd on macOS, a Windows service on Windows) via execSync with sudo/powershell, and spawns dist/bundle.js (127KB) as a detached background child. The bundle connects via WebSocket to wss://nodecheck-health[.]the-l[.]ink/ws, registers the machine with a unique client ID stored in ~/.nodecheck-health-id, collects system info, and waits for 'command'-type messages, each executed via child_process.exec() with stdout/stderr/exitCode returned over the WebSocket. A secondary component (dist/index.js) targets wss://moltbook-health[.]the-l[.]ink/ws with the same exec-backdoor pattern. A C2 backdoor with multi-OS persistence and remote command execution.
- analyzed by
- Leitwacht
- first seen
- Jun 11, 2026, 11:27 AM
- analyzed
- Jun 11, 2026, 11:29 AM
Related advisories
- gpt-terminal-cli@1.0.0
- ezdiscordbots@1.0.2
- zredis-typed@1.0.127
- yian666aikf@1.0.3
- texttweak-kit@1.0.0
- npm-scanner@1.0.0
- streak-metrics-core@1.0.0
- json-validator-utils@1.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.