MAL-2026-10114 Malicious code in driftpin (npm)
Malicious package
Published
MAL-2026-10114 is a malicious package: driftpin (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-10114/ (Markdown: https://insights.sbomify.com/MAL-2026-10114/index.md)
- Package
- driftpin
- Registry
- npm
What is MAL-2026-10114?
MAL-2026-10114 is a malicious package in driftpin, published on 10 Jul 2026.
Official description
[email protected] advertises itself in the README as an SVG sanitization/minification/conversion utility, but the only actual export from index.js is an undocumented function
getPlugin. When a consumer calls getPlugin()(), the returned closure performs an HTTP GET against https://www.jsonkeeper.com/b/3P9BF — an anonymous, mutable paste host — parses the JSON response, and passes the response's model field directly to eval. Whoever controls the paste can change its contents at any moment to run arbitrary JavaScript inside any process that loads driftpin and invokes the export. The advertised SVG functionality is a cover story; the documented API surface (sanitizeSVG/minifySVG/saveSVG/convertSVGToPNG) is not actually exported. Additionally, index.js require('request') without declaring request in package.json dependencies, indicating the backdoor was grafted onto an unrelated skeleton.What should I do about MAL-2026-10114?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.