@onereach/messengers-infobip-sdk@0.1.3
Malicious code in @onereach/messengers-infobip-sdk (npm)
T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool Transfer
Analysis
The package's preinstall hook (setup.mjs) downloads the Bun JavaScript runtime and executes a 727KB obfuscated payload (math_init.js) that is unrelated to the SDK's stated SMS/MMS messaging purpose. The payload is encrypted with a custom string-table cipher, making its behaviour opaque to inspection. The install-time execution of an obfuscated, undocumented payload on every install is the malicious behaviour; the actual SDK code in dist/ is clean and does not require Bun.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 12:17 PM
- analyzed
- Aug 4, 2026, 02:14 PM
- weekly installs
- 343
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @servicetitan/html-sketchapp@4.2.11
- @onereach/orest-vue-demi-vue2@0.0.6
- @onereach/si-alert@0.4.13
- @onereach/pnpm-audit-junit@1.0.5
- @onereach/si-checkbox@0.6.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.