# MAL-2026-17227: Malicious code in nebula-llm (npm)


- **Type:** Malicious package
- **Package:** `nebula-llm` (npm)
- **Published:** 28 Sep 2026

## What is MAL-2026-17227?

MAL-2026-17227 is a malicious package in nebula-llm, published on 28 Sep 2026. 

### Official description

The npm package nebula-llm@1.0.0 ships a preinstall lifecycle script (preinstall.cjs) that embeds a ~257KB Windows PE binary as a base64+zlib-compressed string literal. On `npm install` on Windows, the script decompresses the blob, writes it to %LOCALAPPDATA%\Microsoft\Conhost\conhost.exe — impersonating the legitimate Windows Console Host binary — and spawns it detached with stdio ignored and windowsHide:true, then unrefs the child so it survives the install process. The decoded PE contains a.kntrat section and references github.com/syskiel/kntrat-e and IP 65.87.7.132, consistent with a persistent remote-access implant. Installation therefore executes an opaque author-supplied executable on the installer's host with no user interaction and no purpose related to any documented package function.

## What should I do about MAL-2026-17227?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-17227 is a malicious package: nebula-llm (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-17227/ (Markdown: https://insights.sbomify.com/MAL-2026-17227/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-17227

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-17227/
Summaries are generated and may contain mistakes; the official description above is the record.
