Skip to main content
MalwarePublished

log-min (npm) · Malicious Code

Affects log-minSource GCVE Database

0

Malicious package : remove log-min and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:36 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12396

What to do

Remove log-min 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
npmlog-minAffected
  • =1.0.13
Fixed in–

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

Description

The npm package 'log-min' version 1.0.13 contains malicious code that impersonates the Theta chain-sdk-js SDK. It executes a postinstall script that decrypts and runs code from a separate dependency 'thedata' using a hardcoded password, enabling arbitrary code execution during installation and when the package is imported.

References

Community reviews

Loading reviews…