MAL-2026-17228 Malicious code in nebulaai-sdk (npm)
Malicious package
Published
MAL-2026-17228 is a malicious package: nebulaai-sdk (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-17228/ (Markdown: https://insights.sbomify.com/MAL-2026-17228/index.md)
- Package
- nebulaai-sdk
- Registry
- npm
What is MAL-2026-17228?
MAL-2026-17228 is a malicious package in nebulaai-sdk, published on 28 Sep 2026.
Official description
The package's
preinstall.js contains a base64+zlib-encoded 257 KB Windows PE executable. On npm install on Windows, the script decodes the blob and writes it to %LOCALAPPDATA%\Microsoft\Conhost\conhost.exe — a path and filename that impersonates a legitimate Windows console host binary — then spawns it via child_process.spawn with detached: true, stdio: 'ignore', and windowsHide: true, so execution is silent and survives the npm process. The decoded PE contains a section named .kntrat and references the external host 65.87.7.132 and the repository github.com/syskiel/kntrat-e, indicating remote command-and-control functionality (RAT-shaped naming). The package has no legitimate SDK functionality visible; the preinstall hook exists solely to stage and run the embedded executable. Installing this package on a Windows host results in full arbitrary code execution under the installing user, with a masqueraded persistent binary staged under LOCALAPPDATA and a C2 endpoint reachable at 65.87.7.132.What should I do about MAL-2026-17228?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.