LWA-2026-7733 MAL-2026-11819 ↗ confirmed malware

@servicetitan/anvil-react@0.11.7

Malicious code in @servicetitan/anvil-react (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1059 · Command and Scripting InterpreterT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information

Analysis

@servicetitan/anvil-react@0.11.7 is a trojanized React UI library. The preinstall hook (package/setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/ and extracts it, then executes a 727KB obfuscated payload (package/math_init.js) through Bun. The payload uses child_process, eval, and Function constructors. The dist/ directory contains a legitimate-looking React component library (Alert, Button, Calendar, etc.) to disguise the malicious behaviour. No repository URL is declared. The package depends on @servicetitan/anvil-icon and @servicetitan/anvil-token, which are also known-malware packages.

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