MAL-2026-5267

    Dashboard / Malicious Package / MAL-2026-5267

    MAL-2026-5267

    Published: 5 Jun 2026Last Modified: 8 Jul 2026

    Summary: Malicious code in wrangler-deploy (npm)

    Details: Source: amazon-inspector (0d2085fa4916157b99799df085aa11e3d29bdb9a47f5798c85375b1bfdf8bd7e) 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. Source: google-open-source-security (a6c7977dbc054cdb7fe56da0d2fbd26e2a6fed695deb4263ccbf4adfedd86acb) 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.

    Affected packages

    Package

    Name: wrangler-deploy

    Purl: pkg:npm/wrangler-deploy

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.5.5
    MAL-2026-5267 | CVE-DB