@sarex-team/ui-kit
Affected
- Versions:
9.9.11
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @sarex-team/ui-kit (npm)
---
_-= 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.
Not rated by the source.
9.9.11None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0