LWA-2026-7968 MAL-2026-11624 ↗ confirmed malware

@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

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.