LWA-2026-5345 confirmed malware

twig.extras@99.99.10

Malicious code in twig.extras (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1071.004 · DNST1048 · Exfiltration Over Alternative Protocol

Analysis

The package twig.extras@99.99.10 is a dependency-confusion stub that performs data exfiltration via DNS. On npm install, its postinstall hook runs index.js, which uses module.constructor._load to bypass the standard require chain, loads the os and dns modules, collects the installer's username (os.userInfo().username), hostname (os.hostname()), and current working directory (process.cwd()), then encodes them into a DNS lookup to the attacker-controlled domain oob[.]sl4x0[.]xyz. The query is constructed as twigextras.<username>.<hostname>.<cwd>.<timestamp>.oob[.]sl4x0[.]xyz, enabling the attacker to receive reconnaissance data from every system that installs the package. The environment reconnaissance (username, hostname, working directory) is a precursor to further targeted compromise.

analyzed by
Leitwacht
first seen
Jun 15, 2026, 08:39 AM
analyzed
Jun 15, 2026, 08:41 AM

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.