LWA-2026-7871 MAL-2026-11657 ↗ confirmed malware

@onereach/time-interpreter@1.0.32

Malicious code in @onereach/time-interpreter (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer

Analysis

The preinstall hook (setup.mjs) downloads the Bun JavaScript runtime binary from github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/ for the target platform, then executes a heavily obfuscated 728KB script (math_init.js) through the downloaded Bun binary. The obfuscated script uses javascript-obfuscator style encoding with a large encoded string array and custom decoder function. The package's main entry point (index.js) is a legitimate time-conversion library using moment-timezone, but the preinstall behaviour is unrelated to the package's stated purpose and is a supply-chain attack pattern. The Bun download failed during analysis so the obfuscated payload's full behaviour could not be observed at runtime.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 12:17 PM
analyzed
Aug 4, 2026, 01:01 PM
weekly installs
453

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.