MAL-2026-12626

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-is-mobile-layout/MAL-2026-12626.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12626
Published
2026-08-05T14:03:26Z
Modified
2026-08-05T14:35:55.762251201Z
Summary
Malicious code in claims-is-mobile-layout (npm)
Details

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

Source: amazon-inspector (b964f402f05efc7be7776cd7f2255b889404ca7c83fb10a8efbb6b85d53f955b)

On require() of the package, index.js unconditionally loads./vendor.js, which selects a platform-specific endpoint, downloads a native binary over HTTPS, writes it to /tmp/.cache<hex> on Linux/macOS or %TEMP%\dotnetdiag<hex>.exe on Windows, chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames are assembled at runtime via Array.join over split string literals (e.g. 'oob-worker.cf102-baf.workers.dev' on anonymous Cloudflare Workers subdomains) to evade static URL/domain scanning. A DNS-TXT covert-channel fallback under .dl.wel1.ru chunks a base64 payload across numbered TXT records, reassembles it, and decodes it as executable content. The dropped binary is staged under cover-story names ('analyticsstate', 'dotnetdiag_') that do not match the package's advertised 'mobile layout' purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "b964f402f05efc7be7776cd7f2255b889404ca7c83fb10a8efbb6b85d53f955b",
            "source": "amazon-inspector",
            "versions": [
                "35.4.3"
            ],
            "modified_time": "2026-08-05T14:03:26Z",
            "id": "IN-MAL-2026-015146",
            "import_time": "2026-08-05T14:20:06.902533249Z"
        }
    ]
}
References
Credits

Affected packages

npm / claims-is-mobile-layout

Package

Name
claims-is-mobile-layout
View open source insights on deps.dev
Purl
pkg:npm/claims-is-mobile-layout

Affected ranges

Affected versions

35.*
35.4.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-is-mobile-layout/MAL-2026-12626.json"
indicators
{
    "evidence_files": [
        {
            "path": "_vendor.js",
            "sha256": "f367efac38ed9baed7604fa64e748406eb02b11c946ddad5430c56950f6ecd30",
            "tlsh": "dea187aa05a670088bb0d7e4c7175416f65bf66373809288fbac65981fb611483f2efc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "eed7e65d00e644eaba039893eca118769bfe1b75",
                "sha512_sri": "sha512-T8MVjVtnQargFJhlGKkdyMGuGcHHLSfbUouv6P0XE/XGTMZoHUX4wkNFSeZqwrrWoPeep0sPWVfin0TPDcpOcw=="
            },
            "filename": "claims-is-mobile-layout-35.4.3.tgz"
        }
    ]
}