LWA-2026-7998 MAL-2026-11606 ↗ confirmed malware

@onereach/lambda-invocation@1.2.3

Malicious code in @onereach/lambda-invocation (npm)

T1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool Transfer

Analysis

The package's preinstall hook (setup.mjs) downloads the Bun JavaScript runtime and executes a bundled 727KB heavily-obfuscated script (math_init.js) at install time. The package ships clean library code for its stated purpose (an AWS Lambda invocation client) alongside this obfuscated install-time payload, which is executed automatically on npm install. The obfuscated payload uses a custom string-array decoder and is not readable statically; installing the package runs it without user interaction.

analyzed by
Leitwacht
first seen
Aug 4, 2026, 01:01 PM
analyzed
Aug 4, 2026, 02:37 PM
weekly installs
443

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.