LWA-2026-7728 MAL-2026-11866 ↗ confirmed malware

@servicetitan/examples@1.2.9

Malicious code in @servicetitan/examples (npm)

T1059.007 · JavaScriptT1195.002 · Compromise Software Supply ChainT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer

Analysis

The package's preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and uses it to execute a heavily obfuscated 727KB payload (math_init.js) at install time. The payload is obfuscated with javascript-obfuscator (thousands of _0x-prefixed identifiers, eval, child_process references) to hide its behaviour. The package also depends on 17 sibling @servicetitan/* packages that are known malware. The dist/bundle/ directory contains legitimate ServiceTitan UI component examples as cover content.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 11:22 AM
analyzed
Aug 4, 2026, 11:31 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.