wrangler-deploy (npm) · Malicious Code
Affects wrangler-deploySource GCVE Database
Malicious package : remove wrangler-deploy and rotate any secrets on hosts that installed it.
Data as of 9 Jul 2026, 10:10 UTC
Malicious package
Published to npm · OSV MAL-2026-5267
What to do
Remove wrangler-deploy 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
| Product | Affected | Fixed in |
|---|---|---|
| npmwrangler-deploy | Affected
| 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 'wrangler-deploy' version 1.5.5 is identified as malicious code that mimics Cloudflare's official 'wrangler' CLI, potentially causing confusion among developers. The package contains minified code with patterns consistent with HTTP requests to Cloudflare APIs and base64 token handling, raising suspicion of credential exfiltration. It is linked to the Miasma malware, a self-propagating worm that spreads via weaponized 'binding.gyp' files during package installation, bypassing typical security inspections. The malware attempts to steal credentials and OIDC tokens for cloud and registry services and propagates by compromising other packages or repositories. No specific exploit or attacker-controlled endpoint has been conclusively identified yet.