MAL-2026-10114: Malicious code in driftpin (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bb2b2601b0e4e6659a7fd042e4f227e3d22880c51355a793dbdc2e42d39805d5) [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.
AI Analysis
Technical Summary
[email protected] is a malicious npm package that masquerades as an SVG utility but exports only an undocumented function getPlugin. When invoked, this function performs an HTTP GET request to a mutable anonymous paste host (https://www.jsonkeeper.com/b/3P9BF), parses the JSON response, and executes the 'model' field content via eval. This design allows an attacker controlling the paste to run arbitrary JavaScript code in any environment that loads and calls this package's export. The package also requires 'request' without declaring it as a dependency, further indicating malicious intent. There is no evidence of official remediation or patch availability.
Potential Impact
This vulnerability enables remote code execution in any environment that installs [email protected] and invokes its exported function. Because the malicious code fetches and evaluates attacker-controlled scripts dynamically, the attacker can execute arbitrary commands, potentially compromising the host system or application. The impact is severe due to the ability to run arbitrary code with the privileges of the affected process.
Mitigation Recommendations
No official patch or remediation is currently available for [email protected]. Users and organizations should avoid installing or using this package. If already installed, remove it immediately from all environments and replace it with trusted alternatives. Monitor dependency trees to detect and exclude this malicious package. Since this is a malicious package, no legitimate fix exists; the best mitigation is to not use it.
MAL-2026-10114: Malicious code in driftpin (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bb2b2601b0e4e6659a7fd042e4f227e3d22880c51355a793dbdc2e42d39805d5) [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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
[email protected] is a malicious npm package that masquerades as an SVG utility but exports only an undocumented function getPlugin. When invoked, this function performs an HTTP GET request to a mutable anonymous paste host (https://www.jsonkeeper.com/b/3P9BF), parses the JSON response, and executes the 'model' field content via eval. This design allows an attacker controlling the paste to run arbitrary JavaScript code in any environment that loads and calls this package's export. The package also requires 'request' without declaring it as a dependency, further indicating malicious intent. There is no evidence of official remediation or patch availability.
Potential Impact
This vulnerability enables remote code execution in any environment that installs [email protected] and invokes its exported function. Because the malicious code fetches and evaluates attacker-controlled scripts dynamically, the attacker can execute arbitrary commands, potentially compromising the host system or application. The impact is severe due to the ability to run arbitrary code with the privileges of the affected process.
Mitigation Recommendations
No official patch or remediation is currently available for [email protected]. Users and organizations should avoid installing or using this package. If already installed, remove it immediately from all environments and replace it with trusted alternatives. Monitor dependency trees to detect and exclude this malicious package. Since this is a malicious package, no legitimate fix exists; the best mitigation is to not use it.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10114
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba2668715ace4357c20f
Added to database: 07/10/2026, 09:23:50 UTC
Last enriched: 07/10/2026, 09:26:50 UTC
Last updated: 07/10/2026, 09:29:15 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.