Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10114: Malicious code in driftpin (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 06:45:55 UTC)
Source: GCVE Database
Product: driftpin

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

npmghsa
driftpin
Affected versions
=1.0.0

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

AILast updated: 07/10/2026, 09:26:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses