@servicetitan/titan-chat-ui-anvil2@9.0.5
Malicious code in @servicetitan/titan-chat-ui-anvil2 (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or InformationT1195.002 · Compromise Software Supply Chain
Analysis
The package's preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and executes a 727KB heavily-obfuscated script (math_init.js) through it. The obfuscated script uses a custom base64-like encoding scheme and contains eval, Function constructor, and child_process references — the actual payload is encoded and only decodes at runtime. The package depends on a known-malicious dependency (@servicetitan/titan-chat-ui-common).
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:23 AM
- analyzed
- Aug 4, 2026, 11:36 AM
Related advisories
- @servicetitan/anvil-token@0.4.4
- @servicetitan/cp-mfe-dev@1.115.4
- @servicetitan/grid@0.0.66
- @servicetitan/eh-module-communication@0.2.5
- @servicetitan/carto-charts-rn@0.0.6
- @servicetitan/anvil-react@0.11.7
- @servicetitan/marketing-integration-widgets@1.0.44
- @servicetitan/contentful@0.0.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.