Skip to main content
MalwarePublished

hexo-deployer-wrangler (npm) · Malicious Code

Affects hexo-deployer-wranglerSource GCVE Database

0

Malicious package : remove hexo-deployer-wrangler and rotate any secrets on hosts that installed it.

Data as of 26 Jun 2026, 22:29 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6491

What to do

Remove hexo-deployer-wrangler 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
npmhexo-deployer-wranglerAffected
  • =1.0.4
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 hexo-deployer-wrangler version 1.0.4 contains malicious code embedded in its binding.gyp file. This file uses GYP command-expansion syntax to execute arbitrary shell commands during the npm install process, effectively allowing code execution on the installer's machine. The package impersonates legitimate hexo-deployer and Cloudflare wrangler tooling, making it a supply chain attack vector. Installing this package can lead to full system compromise, requiring immediate removal and secret rotation.

References

Community reviews

Loading reviews…