@onereach/step-run-snowflake-query@0.1.3
Malicious code in @onereach/step-run-snowflake-query (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool TransferT1027 · Obfuscated Files or Information
Analysis
The package's preinstall hook (setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun and executes a 727KB heavily-obfuscated bundle (math_init.js, using a custom base64 decoder and dictionary-array obfuscation) at install time. The package declares its module entry as ./dist/index.mjs but ships no dist/ directory — the tarball contains only the install hook, the obfuscated bundle, package.json, and README. No actual library code is delivered; the only executed content is the obfuscated install-time payload.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 12:17 PM
- analyzed
- Aug 4, 2026, 02:21 PM
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @workbench-stack/core@3.9.8
- @servicetitan/quick-actions@1.15.5
- @servicetitan/html-sketchapp@4.2.11
- @onereach/si-alert@0.4.13
- @onereach/pnpm-audit-junit@1.0.5
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.