Skip to main content
MalwarePublished

pure-folder-three (npm) · Malicious Code

Affects pure-folder-threeSource GCVE Database

0

Malicious package : remove pure-folder-three and rotate any secrets on hosts that installed it.

Data as of 13 Jul 2026, 09:52 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10218

What to do

Remove pure-folder-three from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmpure-folder-threeAffected
  • 0.5.0 – 0.7.3
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…