Skip to main content

Malicious code in hydration-ui-pkg (npm)

0
Critical
Published: 09/04/2026 (09/04/2026, 03:44:53 UTC)
Source: GCVE Database
Product: hydration-ui-pkg

Description

The hydration-ui-pkg npm package version 1.0.0 contains a malicious ELF binary disguised as a native math accelerator. This binary acts as a remote-access implant that communicates with a hardcoded command-and-control server, enabling attackers to exfiltrate sensitive data such as SSH keys, credentials, and databases. The implant supports commands to download additional payloads and establish persistence via a systemd user service. The package uses obfuscation techniques including a fake dependency stub and mismatched file extensions to conceal its malicious intent.

Affected software

npmghsa
hydration-ui-pkg
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 16:24:07 UTC

Technical Analysis

The hydration-ui-pkg version 1.0.0 includes a raw x86_64 ELF binary named dist/internal/mathcalc.mjs, which is executed upon package import. This binary is a remote-access trojan implant (REDSHELL/SECURE_BEACON) that connects to a hardcoded C2 IP (217.60.77.63) and exfiltrates data to a remote URL. It supports operator commands for harvesting SSH private keys, credentials, and databases, streaming stolen data via HTTP POST requests. Additional ELF binaries and shellcode can be fetched and executed in memory without TLS encryption. Persistence is achieved by writing and enabling a systemd user service named svc-update.service. The package employs deliberate deception through extension mismatches, a fake stub function, and hardcoded non-first-party C2 infrastructure, confirming intentional trojanization.

Potential Impact

This malicious package enables attackers to gain remote access to affected systems, steal sensitive credentials and databases, execute arbitrary code in memory, and maintain persistent access through systemd services. The presence of this implant on a system compromises confidentiality, integrity, and availability of the environment where the package is installed.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately remove the hydration-ui-pkg version 1.0.0 from their environments. Verify that no persistence mechanisms (such as systemd user services named svc-update.service) remain active and investigate for potential data exfiltration. Monitor for any connections to the hardcoded C2 IP 217.60.77.63 or the exfiltration URL. Since this is a malicious package, avoid using hydration-ui-pkg version 1.0.0 entirely.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-15900
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a9ad4edacd9273b49b6782c

Added to database: 09/04/2026, 14:25:49 UTC

Last enriched: 09/07/2026, 16:24:07 UTC

Last updated: 10/04/2026, 05:13:56 UTC

Views: 19

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses