Suspicious Child Process Spawned by Node.js

Detects node.exe spawning potentially malicious child processes such as curl, cscript, wscript, powershell, or cmd where the command line does not reference the legitimate npm registry. During normal npm operations, node should resolve packages and write to node_modules, not shell out to system utilities for downloading or executing scripts. This behavior was observed in the axios npm supply chain compromise (March 2026), where a trojanized postinstall hook in plain-crypto-js caused node to spawn curl and cscript to fetch and execute stage-2 RAT payloads from an external C2 server. This detection excludes legitimate npm registry traffic to reduce false positives from normal package installation activity.