---
id: "MAL-2026-18292"
kind: "package"
aliases: ["MAL-2026-18292"]
title: "Malicious code in event-bus-lite-testmetest (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "event-bus-lite-testmetest", "fixed": [], "affected": "= 0.0.6", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-25T16:02:07+00:00"
first_seen_at: "2026-10-26T20:51:52+00:00"
updated_at: "2026-10-26T21:05:48+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18292", "first_seen_at": "2026-10-26T20:51:52+00:00"}]
---

# Malicious code in event-bus-lite-testmetest (npm)

## Affected

- npm:event-bus-lite-testmetest affected = 0.0.6 fixed ?

## Timeline

- 2026-10-26T20:51:52+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18292

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (038b62e6040cef7e651f3cf89c146290f391c28977fe206410408e85ccbe4721)
The package ships a binding.gyp whose target has type "none" and no C/C++ source files; its only purpose is a GYP `<!(...)` command-expansion that runs `node index.js` during the automatic `node-gyp rebuild` triggered by `npm install`. index.js is multi-layer obfuscated: a char-code array is Caesar-decoded (shift 21) and passed to eval; the decoded body reads the bundled lib_native.dat (~312 KB, high-entropy, sha256 e1ab1e330d3db532d511d4af4386ab2d2c6245ca807410f51c1211ae48814d73), brotli-decompresses and AES-128-GCM-decrypts it with hardcoded key/IV/AAD, writes the plaintext to a `mkdtempSync('.b-')/index.js` temp path, and spawns the Bun runtime (`Bun.spawn`, or `getBunPath()` via child_process.spawn) to execute the decrypted payload. Executing under Bun bypasses Node-only analysis. The contents of the executed payload are not inspectable from the shipped artifact.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
