Skip to main content
MalwarePublished

block_package (npm) · Malicious Code

Affects block_packageSource GCVE Database

0

Malicious package : remove block_package and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:38 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12340

What to do

Remove block_package 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
npmblock_packageAffected
  • =1.0.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 npm package 'block_package' version 1.0.0 contains malicious code in its postinstall script. This script automatically downloads and executes an MSI installer from an untrusted HTTP source without verification, allowing arbitrary code execution on the installing machine.

References

Community reviews

Loading reviews…