Malicious code in @sarex-team/ui-kit (npm)
Description
The npm package @sarex-team/ui-kit version 9.9.11 contains malicious code that performs DNS-based out-of-band data exfiltration. During installation and when required in code, it collects the installer's OS username, hostname, and current working directory basename, then leaks this information via DNS queries to a suspicious external domain. The package uses obfuscation techniques to hide the exfiltration logic and presents itself as legitimate enterprise utilities with decoy modules. The repository URL is malformed and does not resolve, and the author email matches the exfiltration domain, indicating malicious intent.
Affected software
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
Technical Analysis
@sarex-team/ui-kit version 9.9.11 is a malicious npm package that executes a DNS-based out-of-band exfiltration beacon both on npm install (via the package.json scripts.install field running node index.js) and on runtime when the package is required (top-level require of lib/core.js). The malicious code collects sensitive host information including the OS username, hostname, and current working directory basename, then performs a DNS resolve4 lookup against a subdomain of oob.sl4x0.xyz constructed from these values, effectively leaking host identity data. The exfiltration code is obfuscated using hex char-code arrays and _0x-prefixed identifiers to evade static detection. The package masquerades as legitimate enterprise utilities with decoy modules and provides a non-functional GitHub repository URL. The author email domain matches the exfiltration domain, confirming the malicious nature of the package.
Potential Impact
This malicious package leaks sensitive host environment information (OS username, hostname, and current working directory) to an attacker-controlled domain via DNS queries. This can lead to privacy violations, reconnaissance for further attacks, and potential compromise of development or build environments where the package is installed or used. There is no indication of further payloads or direct system compromise, but the data leakage itself poses a significant security risk.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove and avoid using @sarex-team/ui-kit version 9.9.11. Audit dependency trees for this package and any transitive dependencies. Replace it with trusted alternatives and verify package sources carefully. Monitor for any DNS queries to oob.sl4x0.xyz or related domains as indicators of compromise. Since this is a malicious package, the best mitigation is to avoid installation and usage altogether.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14206
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4c7acd9273b49252865
Added to database: 08/19/2026, 13:51:03 UTC
Last enriched: 08/19/2026, 14:41:11 UTC
Last updated: 10/02/2026, 13:52:35 UTC
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.