@onereach/or-content-builder-renderer@0.0.4
Malicious code in @onereach/or-content-builder-renderer (npm)
Analysis
The package runs a preinstall hook that downloads the Bun JavaScript runtime and uses it to execute a 727KB obfuscated payload (math_init.js) at install time. The payload is encoded with a custom base-N decoder and contains eval/Function/child_process calls, making its behaviour opaque to static inspection. The package also depends on a known-malicious package (@onereach/content-builder-template-compiler) and on a typosquatted lodash dependency (loadsh). Installing this package executes the obfuscated payload on the victim's machine during npm install.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 11:59 AM
- analyzed
- Aug 4, 2026, 03:09 PM
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @or-sdk/qna@3.4.4
- @onereach/orest-input-cli@1.18.3
- @onereach/or-browser-next@0.0.13
- @or-sdk/source-api@1.1.3
- @onereach/or-file-uploader-next@0.0.10
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.