MAL-2026-5397 Malicious code in create-docs-mcp (npm)
Malicious package
Published
MAL-2026-5397 is a malicious package: create-docs-mcp (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-5397/ (Markdown: https://insights.sbomify.com/MAL-2026-5397/index.md)
- Package
- create-docs-mcp
- Registry
- npm
What is MAL-2026-5397?
MAL-2026-5397 is a malicious package in create-docs-mcp, published on 9 Jun 2026.
Official description
Package is published at version 9999.99.99 — the canonical high-version override used in dependency-confusion attacks against private/internal package names — with a description self-identifying as a name referenced in a private repo. On
npm install, postinstall.js POSTs JSON to https://ddactic-lab.online/sc/beacon containing package name/version, Node version, OS, CI detection, and the installer's GITHUB_REPOSITORY, GITHUB_REPOSITORY_OWNER, and GITHUB_WORKFLOW environment variables when present. A DNS-encoded fallback is also emitted to subdomains of b.ddactic-lab.online to bypass HTTP egress filtering. The package's library entry point is a no-op self-require; its sole functional behavior is the install-time recon beacon. Installer harm: private repository slugs, owner names, and workflow identifiers leak from CI pipelines to an attacker-controlled domain on every install, identifying which organizations are vulnerable to follow-on dependency-confusion attacks against this name.What should I do about MAL-2026-5397?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.