Skip to main content
MalwarePublished

tiny-folder-tree (npm) · Malicious Code

Affects tiny-folder-treeSource GCVE Database

0

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

Data as of 7 Sep 2026, 16:24 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15907

What to do

Remove tiny-folder-tree 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
npmtiny-folder-treeAffected
  • =0.1.0
Fixed in–

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

Description

The tiny-folder-tree npm package version 0.1.0 contains malicious code in its postinstall script that executes arbitrary shell commands on the installer's machine. This occurs by performing a DNS TXT record lookup and, based on the response, fetching and executing attacker-controlled code via an obfuscated HTTPS request. The malicious code is designed to evade detection and does not execute on the author's own host, indicating targeted exploitation of other users.

References

Community reviews

Loading reviews…