LWA-2026-7898 MAL-2026-11625 ↗ confirmed malware

@onereach/regular-expressions-test@0.0.6

Malicious code in @onereach/regular-expressions-test (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 and then executes a 727KB heavily-obfuscated script (math_init.js) bundled in the package. The payload is obfuscated with a string-rotation/decoder scheme that conceals its behaviour, and it is unrelated to the package's declared purpose as a regular-expression UI component library. Installing the package runs this opaque payload at install time.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 01:03 PM
analyzed
Aug 4, 2026, 01:32 PM

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.