MAL-2026-5794 Malicious code in neural-network-scan (npm)
Malicious package
Published
MAL-2026-5794 is a malicious package: neural-network-scan (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-5794/ (Markdown: https://insights.sbomify.com/MAL-2026-5794/index.md)
- Package
- neural-network-scan
- Registry
- npm
What is MAL-2026-5794?
MAL-2026-5794 is a malicious package in neural-network-scan, published on 15 Jun 2026.
Official description
The package ships a collect.js script that imports child_process and performs an HTTP POST carrying host identifiers (hostname referenced multiple times in the same file alongside the POST sink). This pattern — child_process + hostname collection + outbound POST in a non-functional 'scan' utility — matches the host-reconnaissance / data-exfiltration shape used by dependency-confusion and recon-beacon packages. The package name and minimal surface are consistent with a recon lure rather than a useful library. Installing or requiring this package causes installer host data to be sent to an external endpoint.
What should I do about MAL-2026-5794?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.