update-cnw-templates
Warn
Audited by Socket on Aug 27, 2026
1 alert found:
AnomalyAnomalyrun-all-templates.sh
LOWAnomalyLOW
run-all-templates.sh
The script appears to be a legitimate Nx template test harness and contains no clear malware indicators. It has a meaningful security risk because unvalidated ONLY values reach rm -rf through a path derived from user input, enabling path traversal and unintended deletion. It also executes externally selected npm content via npx, which is an inherent supply-chain trust risk rather than evidence of malware in this script.
Confidence: 98%Severity: 62%
Audit Metadata