MAL-2026-13460 Malicious code in stretchshop (npm)
Malicious package
Published
MAL-2026-13460 is a malicious package: stretchshop (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-13460/ (Markdown: https://insights.sbomify.com/MAL-2026-13460/index.md)
- Package
- stretchshop
- Registry
- npm
What is MAL-2026-13460?
MAL-2026-13460 is a malicious package in stretchshop, published on 6 Aug 2026.
Official description
package.json declares a postinstall hook that runs
node demo/demo.js base, which shell-invokes git clone https://github.com/Wradgio/StretchShop-demo-data.git at mutable HEAD (no commit SHA, no tag, no integrity check) and then childProcess.forks db/demo_data.js from the freshly cloned tree. The cloned repository is owned by the personal GitHub account Wradgio, which does not match the package's publisher scope StretchShop. Whoever controls that GitHub account can push arbitrary JavaScript to the default branch and have it executed on every fresh top-level install of [email protected].What should I do about MAL-2026-13460?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.