LWA-2026-7731 MAL-2026-11841 ↗ confirmed malware

@servicetitan/contentful@0.0.7

Malicious code in @servicetitan/contentful (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · 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, then uses it to execute a heavily obfuscated 727KB payload file (math_init.js). The payload is a Bun-compiled bundle containing eval, Function constructor, and child_process calls with an extensive base64-encoded string table. The package depends on @servicetitan/react-hooks. The package name impersonates a legitimate ServiceTitan Contentful integration library.

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