Malicious code in @sarex-team/ui-kit (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14206
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (722e658713ad538fe6719d893d48c6bbea0c6cb84133e3a0010ef564ca6a1ec7) @sarex-team/ui-kit runs a DNS-based out-of-band exfiltration beacon on both `npm install` (via package.json scripts.install = `node index.js`) and on `require('@sarex-team/ui-kit')` (top-level require of lib/core.js from index.js, wrapped in silent try/catch). lib/core.js collects the installer's OS username, hostname, and current working-directory basename and issues a dns.resolve4 lookup against a subdomain of oob.sl4x0.xyz built from those values, leaking host identity through DNS. The sensitive API names ('os', 'dns', 'process', 'userInfo', 'username', 'hostname', 'cwd', 'resolve4') and the destination domain 'oob.sl4x0.xyz' are reconstructed at runtime from hex char-code arrays in lib/b02e30.js and lib/6ad264.js (obfuscator.io-style `_0x`-prefixed identifiers) to evade static detection. The package presents itself as 'Enterprise-grade utilities' with decoy validation/formatting/network/crypto/async modules under src/, and its homepage/repo URL `github.com/slaxorg/@sarex-team/ui-kit` is malformed and does not resolve to a real repository. The author email `[email protected]` matches the exfiltration domain sl4x0.xyz.
- Source published
- 19 Aug 2026 02:31:42 UTC
- Source modified
- 19 Aug 2026 03:00:13 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.