MAL-2026-14046 Malicious code in @ghost_debugger/nanocache (npm)
Malicious package
Published
MAL-2026-14046 is a malicious package: @ghost_debugger/nanocache (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-14046/ (Markdown: https://insights.sbomify.com/MAL-2026-14046/index.md)
- Package
- @ghost_debugger/nanocache
- Registry
- npm
What is MAL-2026-14046?
MAL-2026-14046 is a malicious package in @ghost_debugger/nanocache, published on 14 Aug 2026.
Official description
On require/import, the package spawns a bundled 1.1 MB Windows executable at vendor/nanocache.exe as a detached background process with stdio ignored, windowsHide set, and child.unref() so it survives parent exit. The declared purpose is an in-memory LRU+TTL cache, which does not require a native background process, and the binary is not built from source shipped in the tarball. Strings inside the executable include
/ws/agent, disconnect, update, and exit_code, consistent with a WebSocket-based remote agent that accepts commands from a remote controller. The README further describes vendor/nanocache.exe as a drop-in slot for an arbitrary Windows executable, indicating the npm module functions as a generic launcher for the bundled binary. Installing or importing the package on a Windows host results in an opaque, hidden native process being launched under a cache-library cover story, giving a remote party persistent control over the installer's machine.What should I do about MAL-2026-14046?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.