MAL-2026-10436 Malicious code in jest-formatter (npm)
Malicious package
Published
MAL-2026-10436 is a malicious package: jest-formatter (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-10436/ (Markdown: https://insights.sbomify.com/MAL-2026-10436/index.md)
- Package
- jest-formatter
- Registry
- npm
What is MAL-2026-10436?
MAL-2026-10436 is a malicious package in jest-formatter, published on 13 Jul 2026.
Official description
The package [email protected] presents itself as a Jest test output formatter but its lib/collect.js imports child_process and invokes execSync with bash and zsh at lines 205 and 221. The 'collect' module name combined with shell execution via multiple shells is consistent with harvesting installer-side data (shell history, credentials, environment) from Unix hosts. The behavior does not match the advertised purpose of formatting test output, and the traced content matched patterns associated with credential/data collection payloads. Concrete shell-exec sinks in a module named 'collect' inside a package with no legitimate need for bash/zsh invocation indicate an active data-collection payload rather than a formatter library.
What should I do about MAL-2026-10436?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.