MAL-2026-13548Malicious code in devplatform-stylelint-config (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | devplatform-stylelint-config | 35.7.4 |
{"modified":"2026-08-07T12:33:19Z","published":"2026-08-07T12:33:19Z","schema_version":"1.7.4","id":"MAL-2026-13548","summary":"Malicious code in devplatform-stylelint-config (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0d5c417e542790e2e91860f8383960eecead75556b747c0fdc91227c3228f514)\nThe 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%/dotnet_diag_<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 ('analytics_state', a DISABLE_TELEMETRY gate) and the package name/description mismatch conceal the payload.\n","affected":[{"package":{"ecosystem":"npm","name":"devplatform-stylelint-config"},"versions":["35.7.4"],"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":"setup.js","sha256":"5f07eb8ff04e074332bb5ced2f766d39dc8a6b0669b711fcde3f17b0ec01d27c","tlsh":"c4a1a75a06a970198fb0d7e0c627882af567f66337c09688f75c55984f7352483b2efc"},{"path":"package.json","sha256":"f8be5e8b189cc2321c5bcd12e7d97a139a7a37e768c1ca8926113bf98c9b4cd8","tlsh":"1fc022238520ac2300701d819ce1282b3be22f0f10329c0eb673312c12e49b1009a312"}],"package_integrity":[{"filename":"devplatform-stylelint-config-35.7.4.tgz","hashes":{"sha1":"e683f29d2f17e38756d13fe280950c17d244f332","sha512_sri":"sha512-ALdvdWrOI+Lvu2fDJLQF/3t82fNV6BfUY+n49gigxRcM/pt6iI9BQGV6v4m/2wLPlo9JcH4PBBvTP2qkpngWWw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/devplatform-stylelint-config/v/35.7.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017028","import_time":"2026-08-07T12:51:22.837965877Z","modified_time":"2026-08-07T12:33:19Z","sha256":"0d5c417e542790e2e91860f8383960eecead75556b747c0fdc91227c3228f514","source":"amazon-inspector","versions":["35.7.4"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0