LWA-2026-5358 MAL-2026-6398 ↗ confirmed malware

ui-core-system@1.0.3

Malicious code in ui-core-system (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027.010 · Command ObfuscationT1027.002 · Software PackingT1204.002 · Malicious File

Analysis

This package is a trojanized fork of nodemailer that deploys a multi-stage encrypted payload. On install, the postinstall hook runs `node lib/utils/index.js`, which spawns a detached background Node.js process executing `lib/utils/smtp-connection/index.js`. That script reads a 262KB hex-encoded AES-256-CBC ciphertext file at `lib/utils/smtp-connection/LICENSE` (not a real license), decodes it through heavily obfuscated JavaScript, and decrypts it using a hardcoded AES-256-CBC key and IV from `lib/utils/smtp-connection/parse.js` (key hex: 1c7631aca0c00365e8a7e68dd11045e1d4475c909885d8dccd881f4dce9d0566, IV hex: cf17723e776e880802357825a8a139d6). The spawned process runs detached (child.unref()) so it persists without blocking the installer. The structure is a complete encrypted-dropper pipeline that decrypts and runs a 262KB payload. The package impersonates the nodemailer author's identity in its metadata.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 10:09 AM
analyzed
Jun 15, 2026, 10:12 AM
npm package ↗ OSV record MAL-2026-6398 ↗ source repo (declared, defanged): hxxps://github[.]com/ui-core-system/ui-core-system Request takedown / dispute →

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.