MAL-2026-12417Malicious code in post-css-transfer (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
0.0.1 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | post-css-transfer | * |
| npm | post-css-transfer | 0.0.1 |
{"schema_version":"1.7.4","id":"MAL-2026-12417","published":"2026-08-05T12:46:11Z","modified":"2026-08-11T00:39:49.216581704Z","aliases":["GHSA-f5h9-q436-8chv"],"summary":"Malicious code in post-css-transfer (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f62ccc235772a34a28d870f349489698c167e3d636a196f310fe24c1ce1d4ef4)\npost-css-transfer is a typosquat of postcss whose main entry lib/postcss.js has an obfuscated IIFE appended after the legitimate module code. On require/import, the appended block resolves a command-and-control IP by reading transactions of Ethereum address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a via public Ethereum RPC endpoints and the eth.blockscout.com API, decodes two IPv4 addresses from the transaction recipient bytes, fetches an XOR-encrypted payload over HTTP from those hosts (delivered in an x-payload-b64 header), and executes the decrypted payload via eval() and a detached `node -e` child process. Network, execution, and identifier primitives (http, child_process, spawn, the Ethereum address, method and header names) are written as \\uXXXX escapes and hidden behind ~1KB of whitespace padding after `module.exports = postcss;` to evade casual review.\n\n## Source: ghsa-malware (3e35af1cb71e17048626ceebf0ea0022262f7bfbbfd82cedf4c9ee5c19bfaa76)\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":"post-css-transfer","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.1"],"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":"lib/postcss.js","sha256":"8d803beec4f1d1074349a0130095640ad5934f98be60fc9d501d744241416f21","tlsh":"464274f027a5ac7a83316984cc346d0de6b4dd65580fe039f82f7899df691e08792b6c"}],"package_integrity":[{"filename":"post-css-transfer-0.0.1.tgz","hashes":{"sha1":"c82e60959ee45b9095f30698a27ebcea8256beae","sha512_sri":"sha512-vJqB8lUqJLIr8kZlGvI1Al4BDUdHqDtZUruEZUrmImc7O3a7ZeX86ojT2QB3exDduoiSiZGV0/gs42DutrKPyQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/post-css-transfer/v/0.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f5h9-q436-8chv"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014753","import_time":"2026-08-05T13:08:43.72023183Z","modified_time":"2026-08-05T12:46:11Z","sha256":"f62ccc235772a34a28d870f349489698c167e3d636a196f310fe24c1ce1d4ef4","source":"amazon-inspector","versions":["0.0.1"]},{"id":"GHSA-f5h9-q436-8chv","import_time":"2026-08-11T00:38:01.338894498Z","modified_time":"2026-08-10T16:41:09Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"3e35af1cb71e17048626ceebf0ea0022262f7bfbbfd82cedf4c9ee5c19bfaa76","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0