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-10218: Malicious code in pure-folder-three (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 01:52:55 UTC)
Source: GCVE Database
Product: pure-folder-three

Description

The pure-folder-three npm package versions 0.5.0, 0.6.0, 0.7.0, 0.7.1, and 0.7.3 contain malicious code that executes attacker-controlled shell commands both during installation and when the package is imported. The malicious code fetches a payload from a remote server and executes it, giving the attacker arbitrary command execution on the host. The payload is obfuscated and includes a check to avoid execution on machines with usernames containing 'justin'. This results in a full compromise of any system running or installing the affected package versions.

Affected software

npmghsa
pure-folder-three
Affected versions
=0.7.3=0.7.1=0.7.0=0.6.0=0.5.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/13/2026, 09:52:35 UTC

Technical Analysis

The pure-folder-three npm package in versions 0.5.0 through 0.7.3 includes a postinstall script and import-time code that decode an obfuscated URL and dynamically require the https module. It makes an HTTPS request to a remote server and executes the content of the response header 'm' via child_process.execSync, enabling remote arbitrary command execution. The malicious code is gated by a username check to exclude the author's own machine. Because the malicious code runs both on install and on import, ignoring npm install scripts does not prevent exploitation. This results in a fully compromised system where all stored secrets and keys are at risk.

Potential Impact

Any system that installs or imports the affected pure-folder-three package versions is subject to arbitrary remote code execution by an attacker-controlled server. This leads to full system compromise, including potential theft or destruction of secrets, keys, and other sensitive data. The attacker gains complete control over the compromised host.

Mitigation Recommendations

No official patch or remediation is currently available. Users should immediately remove all affected versions of the pure-folder-three package (0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.3) from their systems. Because the package grants full control to an external attacker, all secrets and keys stored on the compromised systems should be rotated from a separate, trusted environment. Monitor for any signs of compromise and consider rebuilding affected systems to ensure removal of all malicious artifacts.

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-10218
Osv Schema Version
1.7.4
Aliases
["GHSA-9w58-3cgj-jw7v"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54adf568715ace438f743e

Added to database: 07/13/2026, 09:20:53 UTC

Last enriched: 07/13/2026, 09:52:35 UTC

Last updated: 07/14/2026, 03:35:24 UTC

Views: 4

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