@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
- @onereach/ui-components@27.0.4
- @onereach/ui-components-vue2@27.0.4
- @onereach/expression-components@9.1.3
- @onereach/phonenumber-interpreter@0.0.20
- @or-sdk/library-types-v1@9.0.3
- @onereach/orest-vue-demi-vue3@0.0.6
- @onereach/si-root@0.9.6
- @servicetitan/startup-mfe-compat@0.5.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.