hydration-ui-pkg@1.0.0
Malicious code in hydration-ui-pkg (npm)
Analysis
hydration-ui-pkg@1.0.0 is a trojanized "calendar/streak math" library. On import, dist/index.mjs chmods a bundled 63KB x86-64 ELF binary (dist/internal/mathcalc.mjs) to 0755 and spawns it as a detached background process. The binary is a native backdoor/C2 implant: it links libssl and performs TLS socket networking (SSL_connect/SSL_write/SSL_read), opens sockets and can bind/listen/accept, daemonizes via fork/setsid, executes processes (execl/execv/fexecve/popen), dynamically loads code (dlopen/dlsym/mmap), and fingerprints the host (uname, gethostname, getifaddrs, getpwuid, getuid/geteuid, getenv/__environ) and filesystem (readdir/opendir/getcwd). The package's stated purpose is pure-JS date math; the bundled native executable is unrelated to that purpose and runs automatically on import.
- analyzed by
- Leitwacht
- first seen
- Sep 3, 2026, 02:03 AM
- analyzed
- Sep 3, 2026, 02:03 AM
Related advisories
- space-items@1.0.0
- streak-map-kit@1.0.0
- dolyame-ui-inputtime@35.8.1
- dolyame-boxy-fonts@35.4.8
- dolyame-ui-radio@35.2.2
- bnpl-blocks-atom-bnpl-button@35.4.7
- twork-products-taiga2-products-timeline@20.6.1
- compose-logger-stand@1.0.126
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.