# GHSA-7XWF-5J6M-RJFF: Malicious code in event-bus-lite-testmetest (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-25
- Modified: 2026-11-19

## Affected versions

- event-bus-lite-testmetest (npm): 0.0.6
- event-bus-lite-testmetest (npm): 0.0.2
- event-bus-lite-testmetest (npm): 0.0.1

## Description

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/01084f0336ff5489308aeadf45facfcb3ceab9ec/osv/malicious/npm/event-bus-lite-testmetest/MAL-2026-18292.json))

## References

- https://github.com/ossf/malicious-packages/blob/01084f0336ff5489308aeadf45facfcb3ceab9ec/osv/malicious/npm/event-bus-lite-testmetest/MAL-2026-18292.json
- https://www.npmjs.com/package/event-bus-lite-testmetest/v/0.0.6
- https://github.com/ossf/malicious-packages/blob/6306efcd2e5165329b81a44593e5176ac396d59b/osv/malicious/npm/event-bus-lite-testmetest/MAL-2026-18292.json
- https://www.npmjs.com/package/event-bus-lite-testmetest/v/0.0.1
- https://www.npmjs.com/package/event-bus-lite-testmetest/v/0.0.2
- https://github.com/advisories/GHSA-7xwf-5j6m-rjff

Page: https://cve.now/GHSA-7XWF-5J6M-RJFF

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
