MAL-2026-13548

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-stylelint-config/MAL-2026-13548.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13548
Published
2026-08-07T12:33:19Z
Modified
2026-08-07T13:20:26.742949934Z
Summary
Malicious code in devplatform-stylelint-config (npm)
Details

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

Source: amazon-inspector (0d5c417e542790e2e91860f8383960eecead75556b747c0fdc91227c3228f514)

The package is published as 'devplatform-stylelint-config' with description 'environment config reader' and exposes a trivial ConfigLoader from index.js, but index.js also require()s./setup.js which runs at library load. setup.js assembles Cloudflare Workers hostnames (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) and dl.wel1.ru subdomains (sdk./ext./pkg./net.) from array joins to defeat literal string matching, with a DNS-TXT chunked base64 fallback channel (c.<domain> count plus <i>.<domain> chunks via resolveTxt). It downloads a platform-specific binary over HTTPS, writes it to a hidden temp path (/tmp/.cache<hex> or %TEMP%/dotnetdiag<hex>.exe), chmods 0755, and detaches it via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}).unref() (with a cmd equivalent on Windows). No hash or signature verification is performed. Cover-story naming ('analyticsstate', a DISABLE_TELEMETRY gate) and the package name/description mismatch conceal the payload.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-07T12:33:19Z",
            "id": "IN-MAL-2026-017028",
            "import_time": "2026-08-07T12:51:22.837965877Z",
            "versions": [
                "35.7.4"
            ],
            "source": "amazon-inspector",
            "sha256": "0d5c417e542790e2e91860f8383960eecead75556b747c0fdc91227c3228f514"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-stylelint-config

Package

Name
devplatform-stylelint-config
View open source insights on deps.dev
Purl
pkg:npm/devplatform-stylelint-config

Affected ranges

Affected versions

35.*
35.7.4

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-ALdvdWrOI+Lvu2fDJLQF/3t82fNV6BfUY+n49gigxRcM/pt6iI9BQGV6v4m/2wLPlo9JcH4PBBvTP2qkpngWWw==",
                "sha1": "e683f29d2f17e38756d13fe280950c17d244f332"
            },
            "filename": "devplatform-stylelint-config-35.7.4.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "setup.js",
            "tlsh": "c4a1a75a06a970198fb0d7e0c627882af567f66337c09688f75c55984f7352483b2efc",
            "sha256": "5f07eb8ff04e074332bb5ced2f766d39dc8a6b0669b711fcde3f17b0ec01d27c"
        },
        {
            "path": "package.json",
            "tlsh": "1fc022238520ac2300701d819ce1282b3be22f0f10329c0eb673312c12e49b1009a312",
            "sha256": "f8be5e8b189cc2321c5bcd12e7d97a139a7a37e768c1ca8926113bf98c9b4cd8"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-stylelint-config/MAL-2026-13548.json"