cloudflare_module (npm) · Malicious Code
Affects cloudflare_moduleSource GCVE Database
Malicious package : remove cloudflare_module and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:37 UTC
Malicious package
Published to npm · OSV MAL-2026-17768
What to do
Remove cloudflare_module 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 |
|---|---|---|
| npmcloudflare_module | 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 'cloudflare_module' version 99.0.1 is a malicious dependency-confusion lure that exfiltrates host information without user consent. It executes a beacon script during installation and when required, sending system details to a hardcoded IP address over unencrypted HTTP. The package uses a Proxy to avoid errors during bundling, disguising its malicious behavior. It is not an official Cloudflare package and targets any system resolving its name.