MAL-2026-10425 Malicious code in trinity-scheme (npm)
Malicious package
Published
MAL-2026-10425 is a malicious package: trinity-scheme (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-10425/ (Markdown: https://insights.sbomify.com/MAL-2026-10425/index.md)
- Package
- trinity-scheme
- Registry
- npm
What is MAL-2026-10425?
MAL-2026-10425 is a malicious package in trinity-scheme, published on 13 Jul 2026.
Official description
On npm install, the package's preinstall lifecycle reads a hex-encoded
command string from preinstall.json, decodes it via Buffer.from(…, 'hex'), and passes the decoded shell command to child_process.exec. The decoded payload collects the installer's whoami, pwd, and hostname output and POSTs the values to the hardcoded endpoint https://eo7o7j442dx6yl6.m.pipedream.net/. The command is stored in hex form to evade plain-text scanning; the package otherwise provides no functionality consistent with its declared name.What should I do about MAL-2026-10425?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.