@onereach/types-contacts-api@9.0.10
Malicious code in @onereach/types-contacts-api (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/releases/download/bun-v1.3.13/ and then executes a 727KB heavily-obfuscated payload (math_init.js) at install time. The package is published as a TypeScript types package (pure .d.ts declarations) and has no legitimate need to run arbitrary code during installation. The payload uses a custom string-array obfuscation scheme that defeats static analysis, so its behaviour cannot be verified as benign.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 01:16 PM
- analyzed
- Aug 4, 2026, 02:42 PM
- weekly installs
- 1,020
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @onereach/orest-cli@2.4.3
- @onereach/lambda-invocation@1.2.3
- @onereach/phonenumber-interpreter@0.0.20
- @or-sdk/library-types-v1@9.0.3
- @onereach/orest-vue-demi-vue3@0.0.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.