ng-ui-cropper (npm): malicious package compromises any machine where it is installed; no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub's malware advisory database published GHSA-h49v-w563-3f7r on 2026-12-01 flagging the npm package ng-ui-cropper as embedded malicious code (CWE-506). Every published version (= 0) is affected and no patched version exists, meaning the package itself is malware rather than a legitimate library with a backdoored release. Any computer with the package installed or running should be treated as fully compromised, with attacker access to secrets, keys and credentials. Removal of the package does not guarantee removal of all malicious software it may have deployed. No common name, campaign attribution, or specific victim organisations are given; no fix will be issued.
What to do
- Immediately stop using and remove ng-ui-cropper from all projects and lockfiles
- Rotate all secrets, API keys, SSH keys, and credentials stored on any machine where it was installed, using a clean machine
- Rebuild/reimage affected machines and audit for persistence mechanisms
- Audit npm dependencies and lockfiles for the package and block it in CI/CD and registry proxies
- Review logs and network traffic for signs of exfiltration or command-and-control
Sources
All live incidents on Threat Watch