@onereach/regular-expressions@0.5.25
Malicious code in @onereach/regular-expressions (npm)
T1059.007 · JavaScriptT1105 · Ingress Tool Transfer
Analysis
The package's preinstall hook (node setup.mjs) downloads the Bun JavaScript runtime from github[.]com/oven-sh/bun/releases and executes a 727KB heavily-obfuscated script (math_init.js) bundled for Bun. The script uses a custom string-obfuscation table and its behaviour is not documented anywhere in the package; a UI component library has no stated reason to run an opaque install-time payload. The payload's network and file activity could not be determined from the obfuscated source.
- analyzed by
- Leitwacht
- first seen
- Aug 4, 2026, 01:04 PM
- analyzed
- Aug 4, 2026, 02:15 PM
- weekly installs
- 63
Related advisories
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @onereach/messengers-infobip-sdk@0.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
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.