MAL-2026-12041Malicious code in platform-ui-codemods (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.6.7 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | platform-ui-codemods | * |
| npm | platform-ui-codemods | 20.6.7 |
{"schema_version":"1.7.4","id":"MAL-2026-12041","published":"2026-08-05T00:59:46Z","modified":"2026-08-20T17:26:55.148059203Z","aliases":["GHSA-wc85-c9g8-72g6"],"summary":"Malicious code in platform-ui-codemods (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1c72999be0ce122b904fcb710f5438a0d1718a3d121dd1377123c5d710aa9e27)\nOn 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%\\dotnet_diag_<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.\n\n## Source: ghsa-malware (d9e829478ab5ac56f8c3290aec4906c5e3a89af63aaa7a98259fe09a6cac64cb)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"platform-ui-codemods","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.6.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_compat.js","sha256":"065230c8605dd4614e89fce859d72f1e048be32f14893f2f0c6ccc4b29ac571f","tlsh":"74a1a55a126a301c4bb0e7f4d61b4416f667f663338086d4f7ac69981fb212483b2efc"}],"package_integrity":[{"filename":"platform-ui-codemods-20.6.7.tgz","hashes":{"sha1":"4871fa332f1558a3acd917c47b4f2ac4ac9da55c","sha512_sri":"sha512-IQJXXx/gzTnDTznQ+Mk3gOywMNWyIObi/0PMqpOBBZboPtWoFQChr7W+m3o00WjZstOrygQrOe9B4DWA4VH04g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/platform-ui-codemods/v/20.6.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wc85-c9g8-72g6"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011477","import_time":"2026-08-05T01:39:30.711317412Z","modified_time":"2026-08-05T00:59:46Z","sha256":"1c72999be0ce122b904fcb710f5438a0d1718a3d121dd1377123c5d710aa9e27","source":"amazon-inspector","versions":["20.6.7"]},{"id":"GHSA-wc85-c9g8-72g6","import_time":"2026-08-20T17:25:01.63921309Z","modified_time":"2026-08-20T16:45:26Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d9e829478ab5ac56f8c3290aec4906c5e3a89af63aaa7a98259fe09a6cac64cb","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0