MAL-2026-5267 Malicious code in wrangler-deploy (npm)
- Package
- wrangler-deploy
- Registry
- npm
What is MAL-2026-5267?
MAL-2026-5267 is a malicious package in wrangler-deploy, published on 5 Jun 2026.
Official description
Package name wrangler-deploy is close to Cloudflare's official wrangler CLI, which raises confusion-risk concerns for developers who may install it expecting an official Cloudflare tool. Pattern-based signals fired on dist/cli/index.js, dist/core/dev-ui.js, dist/core/runtime.js, dist/core/sandbox-proxy.js, and dist/core/crypto.js based on co-occurrence of keywords like ping, POST/GET, Buffer.from(..., 'base64'), and hostname in minified/bundled code. These keyword patterns are consistent with a Wrangler-shaped CLI (HTTP requests to Cloudflare APIs, dev server, base64 token handling) but cannot be conclusively distinguished from exfiltration patterns without semantic verification of the bundled code. No specific attacker-controlled endpoint, credential-harvest path, install-time lifecycle hook, or dropper has been identified. Routing to human review to verify whether the package is a legitimate Cloudflare-adjacent tool, an unofficial deploy wrapper, or a name-confusion squat with hidden behavior in the minified bundles.
The Miasma malware is a self-propagating worm that spreads across the npm registry by abusing weaponized binding.gyp files to achieve execution during package installation, bypassing security tools that only inspect package lifecycle scripts. Upon execution, the malware attempts to exfiltrate credentials and OIDC tokens for various cloud and registry services, and propagates by compromising other packages managed by the stolen accounts or committing backdoor files to GitHub repositories.
What should I do about MAL-2026-5267?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.