Skip to main content
MalwarePublished

nebulajs-api (npm) · Malicious Code

Affects nebulajs-apiSource GCVE Database

0

Malicious package : remove nebulajs-api and rotate any secrets on hosts that installed it.

Data as of 29 Sep 2026, 04:58 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17220

What to do

Remove nebulajs-api from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmnebulajs-apiAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The nebulajs-api npm package version 1.0.0 contains a malicious preinstall script that executes obfuscated code at install time. This code uses a custom PRNG-based decoder to reconstruct and run a hidden payload, resulting in remote code execution on the installer's machine before any legitimate package code runs. The main module is a minimal AI-client wrapper unrelated to the malicious payload, serving as a cover. Installation of this package compromises the host system, potentially exposing all stored secrets and keys.

References

Community reviews

Loading reviews…