Malicious npm package ng-custom-tags-input compromises installers' machines
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub published a malware advisory (GHSA-4g9p-798g-xvp8) on 2026-12-01 for the npm package ng-custom-tags-input, flagged as embedded malicious code (CWE-506). Every published version (= 0) is affected and no clean or patched version exists, so any installation should be treated as a full compromise of the host machine. Attackers behind the package may have harvested secrets, keys and credentials and retained remote control. Anyone who installed or ran the package should rotate all secrets from a separate, trusted machine, remove the package, and rebuild/reimage affected systems, since removal alone cannot guarantee the malware is gone.
What to do
- Rotate all secrets, keys and credentials stored on machines where the package was installed, using a different trusted computer
- Remove ng-custom-tags-input from all projects and lockfiles
- Reimage or rebuild affected machines; do not assume removal cleans the system
- Audit logs and network traffic for signs of exfiltration or persistence
- Block the package name in internal registries and CI to prevent reinstalls
Sources
All live incidents on Threat Watch