MAL-2026-5267

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wrangler-deploy/MAL-2026-5267.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5267
Published
2026-06-05T00:53:43Z
Modified
2026-07-08T22:01:48Z
Summary
Malicious code in wrangler-deploy (npm)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-06-05T05:50:37.549948Z",
            "modified_time": "2026-06-05T05:12:55.157000667Z",
            "sha256": "a6c7977dbc054cdb7fe56da0d2fbd26e2a6fed695deb4263ccbf4adfedd86acb",
            "source": "google-open-source-security",
            "versions": [
                "1.5.5"
            ]
        },
        {
            "id": "IN-MAL-2026-008651",
            "import_time": "2026-07-08T21:54:11.322331429Z",
            "modified_time": "2026-07-08T21:39:01Z",
            "sha256": "0d2085fa4916157b99799df085aa11e3d29bdb9a47f5798c85375b1bfdf8bd7e",
            "source": "amazon-inspector",
            "versions": [
                "1.5.5"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / wrangler-deploy

Package

Name
wrangler-deploy
View open source insights on deps.dev
Purl
pkg:npm/wrangler-deploy

Affected ranges

Affected versions

1.*
1.5.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "dist/cli/index.js",
            "sha256": "57126f4fba6d6daab6d3ee93f7a48251036cab55e4f93983b0d621b660723575",
            "tlsh": "6e64850658fb0436693768b8ab4f5103772469033608ec18bf9cd3a85fd7869d6ea7dc"
        },
        {
            "path": "dist/core/crypto.js",
            "sha256": "17c910da603578ac99fc7a86b4498bc91ca919b8ffbae6383857347debbc136d",
            "tlsh": "e07134092cf2686042b3f0e3575bb14bb654a103b411cea47b7ce344afbbc789675e98"
        },
        {
            "path": "dist/core/dev-ui.js",
            "sha256": "0161b17bfa1ad4de5d3d550894ced8dda2464b4a4d896b17ccbfc471bafef3cb",
            "tlsh": "2b13b79270e7a8361d6796a82b879706bb7897039408cd203fdcc3d85fd9825e1a77cd"
        },
        {
            "path": "dist/core/runtime.js",
            "sha256": "80f01c3f1468c6dfd2740b7cc1ea99f60771af0c49c67bd0738d0fd211006cee",
            "tlsh": "a0a243175aff16224aa36794860f8246992452b73d48ed44bb4ce3d03fdb41df2e3b88"
        },
        {
            "path": "dist/core/sandbox-proxy.js",
            "sha256": "9aee667c70ea4cc4c44405b30bff0a00ac6bc7a59b238a5ec7036730444d42a4",
            "tlsh": "e5f1610029f32132033372e98b4b5a457375a0273905e9ac7b4d87996f8352ce7b6bdc"
        }
    ],
    "package_integrity": [
        {
            "filename": "wrangler-deploy-1.5.5.tgz",
            "hashes": {
                "sha1": "34a6b06e16f8a88d4aed04140470021dc0541097",
                "sha512_sri": "sha512-NK/e/fzm3ajDEGR6hs6aQ8iwBWtNQzeKknA2/r2dwk8Zbib+P7wqus5Ef5CuuYP3MrElyNXktnJCGbUg44yftQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wrangler-deploy/MAL-2026-5267.json"