MAL-2026-12810 Malicious code in the-search (npm)
Malicious package
Published
MAL-2026-12810 is a malicious package: the-search (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-12810/ (Markdown: https://insights.sbomify.com/MAL-2026-12810/index.md)
- Package
- the-search
- Registry
- npm
What is MAL-2026-12810?
MAL-2026-12810 is a malicious package in the-search, published on 5 Aug 2026.
Official description
The package's main entry ships a self-invoking browser payload that reads document.cookie, base64-encodes the value, and submits it via an auto-created hidden form POST to a hardcoded webhook.site endpoint (https://webhook.site/86b505ff-4280-459f-9b36-e765825c0ada). The package has no legitimate declared purpose consistent with this behavior; bundling this module into a web application causes visitor cookies to be sent to an attacker-controlled destination. The base64 wrapping around the JSON body is minor evasion to obscure the exfiltrated content in network logs.
What should I do about MAL-2026-12810?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.