@servicetitan/startup-mfe-compat@0.5.3
Malicious code in @servicetitan/startup-mfe-compat (npm)
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and then executes a bundled 727KB script (math_init.js) under that runtime at install time. math_init.js is obfuscated with a custom string-encoding scheme, so its behaviour cannot be audited; it runs arbitrary code on the installer's machine during npm install. The package's declared purpose (a micro-frontend dependency-compatibility checker) does not require downloading a runtime or executing a large obfuscated script at install. No network C2 endpoint could be identified because the payload's strings are encoded.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:42 AM
- analyzed
- Aug 4, 2026, 02:24 PM
- weekly installs
- 1,307
Related advisories
- @servicetitan/anvil-token@0.4.4
- @servicetitan/cp-mfe-dev@1.115.4
- @servicetitan/grid@0.0.66
- @servicetitan/carto-charts-core@0.0.6
- @onereach/step-run-snowflake-query@0.1.3
- @workbench-stack/core@3.9.8
- @servicetitan/quick-actions@1.15.5
- @servicetitan/html-sketchapp@4.2.11
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.