CRITICAL npm Malware

Malicious code in dims-hydration-ui (npm)

MAL-2026-14416 · GHSA-5hwv-w72c-55qw

Published · Modified

Dependency scanning

Check whether dims-hydration-ui is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (6a85d660f6cc363a81624c7383318958bb46f2d6958fdad71e595692420d805d)

On any import 'dims-hydration-ui', index.mjs chmods 0755 and spawns a bundled Linux x86_64 ELF at dist/internal/calc.dat as a detached child, described in code comments as a 'native math accelerator' while the README advertises a dependency-free pure-JS day-math library with no native code and no postinstall. The ELF is a full remote-access implant: it opens an interactive /bin/sh command channel, provides SOCKS5 proxying and TCP port-forwarding, executes further ELFs and shellcode fetched from the hardcoded C2 217.60.77.63 via curl into /tmp and via memfd_create for in-memory execution, and installs a ~/.config/systemd/user/svc-update.service unit for boot persistence. Remote command handlers /ssh_keys, /creds, /dbfind, /env, /clipboard, /download, /dataextract, and a BIGEXTRACT uploader collect SSH keys, credentials, environment variables, and arbitrary files and POST them to the operator at /api/extract-receive. A SHA-256 'integrity check' in the JS wrapper pins the exact malicious binary hash, framed as a safety measure.

Source: ghsa-malware (d5b245aba97cc66dd2413fa93aea0346230388e1b9730821890beef446ae9542)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Ready to move

Start Securing

Free, no credit card | First findings in minutes