ugent_uws (npm): malicious dependency-confusion package exfiltrates host, user and path via install scripts
Severity: critical · Patch status: no-fix-needed · Since 2026-11-24
On 2026-11-24 the GitHub Advisory Database flagged the npm package ugentuws as malicious. Versions 10.9.9, 10.9.10 and 10.9.11 are dependency-confusion-style releases inflated above an empty 9.0.0 and contain preinstall, preupdate and test scripts that run wget against http://5.189.134.9:6060/, sending the installing user ($(whoami)), working directory ($(pwd)) and hostname to a raw IP. A sandboxed install confirmed the preinstall callback to 5.189.134.9. Version 9.0.0 has no install script and is not affected. No patched versions exist; anyone who installed an affected version should treat the host as compromised and remove the package.
What to do
- Immediately remove ugent_uws from projects, lockfiles and caches; block 5.189.134.9:6060 at egress and hunt for wget/curl callbacks to that address.
- Treat any host, CI runner or developer machine that installed 10.9.9–10.9.11 as compromised: isolate it, rotate credentials and secrets, and review outbound connections.
- Audit npm dependency resolution for dependency-confusion exposure, pin internal scopes to private registries and enforce lockfile review.
- Disable install scripts where feasible (npm config set ignore-scripts true) or use sandboxed installs for untrusted packages.
- Monitor the advisory and remove any cached or vendored copies of the affected versions.
Sources
All live incidents on Threat Watch