LWA-2026-7721 MAL-2026-11941 ↗ confirmed malware

@servicetitan/titan-chatbot-ui@7.1.7

Malicious code in @servicetitan/titan-chatbot-ui (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information

Analysis

The package @servicetitan/titan-chatbot-ui@7.1.7 is a trojanized clone of a legitimate ServiceTitan chatbot UI library. The preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and executes a 728KB heavily obfuscated payload (math_init.js) containing javascript-obfuscator patterns with eval, Function constructor, and child_process calls. The package ships real-looking React component source code and a CHANGELOG referencing ServiceTitan pull requests as camouflage. It depends on three known-malicious packages (@servicetitan/titan-chat-ui, @servicetitan/titan-chat-ui-common, @servicetitan/titan-chatbot-api). The preinstall hook runs automatically on npm install, downloading and executing the obfuscated payload.

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