MAL-2026-12041

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/platform-ui-codemods/MAL-2026-12041.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12041
Published
2026-08-05T00:59:46Z
Modified
2026-08-05T01:49:43.860591113Z
Summary
Malicious code in platform-ui-codemods (npm)
Details

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

Source: amazon-inspector (1c72999be0ce122b904fcb710f5438a0d1718a3d121dd1377123c5d710aa9e27)

On require() of the package, index.js loads./compat.js whose top-level init() downloads a platform-specific binary from a set of Cloudflare Workers mirrors whose hostnames are assembled at runtime from split-string arrays joined with.join("") (e.g. oob-worker.cf1*.workers.dev), with a DNS-TXT covert-channel fallback that reconstructs a base64 payload from chunked TXT records under c.<domain>/<n>.<domain> at *.dl.well1.site (tin/tina/ldr/win subdomains). The fetched bytes are written to a hidden/decoy path ("/tmp/.cache<hex>" on Unix, "%TEMP%\dotnetdiag<hex>.exe" on Windows), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe with a cooldown stamp file (".analytics_state") to avoid re-execution. Hostname obfuscation, decoy filenames, DNS-TXT egress fallback, and detached execution collectively indicate a staged remote-code-execution dropper that fires automatically on install/require of this package.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T00:59:46Z",
            "sha256": "1c72999be0ce122b904fcb710f5438a0d1718a3d121dd1377123c5d710aa9e27",
            "id": "IN-MAL-2026-011477",
            "versions": [
                "20.6.7"
            ],
            "import_time": "2026-08-05T01:39:30.711317412Z"
        }
    ]
}
References
Credits

Affected packages

npm / platform-ui-codemods

Package

Name
platform-ui-codemods
View open source insights on deps.dev
Purl
pkg:npm/platform-ui-codemods

Affected ranges

Affected versions

20.*
20.6.7

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-IQJXXx/gzTnDTznQ+Mk3gOywMNWyIObi/0PMqpOBBZboPtWoFQChr7W+m3o00WjZstOrygQrOe9B4DWA4VH04g==",
                "sha1": "4871fa332f1558a3acd917c47b4f2ac4ac9da55c"
            },
            "filename": "platform-ui-codemods-20.6.7.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_compat.js",
            "sha256": "065230c8605dd4614e89fce859d72f1e048be32f14893f2f0c6ccc4b29ac571f",
            "tlsh": "74a1a55a126a301c4bb0e7f4d61b4416f667f663338086d4f7ac69981fb212483b2efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/platform-ui-codemods/MAL-2026-12041.json"