MAL-2026-6358Malicious code in fetch-page-assets (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.2.13 | unavailable | — | — | — |
1.2.14 | archived | — | — | VIP 下载 |
1.2.9 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | fetch-page-assets | 1.2.13 |
| npm | fetch-page-assets | 1.2.14 |
| npm | fetch-page-assets | 1.2.9 |
{"schema_version":"1.7.4","id":"MAL-2026-6358","published":"2026-06-24T01:44:29Z","modified":"2026-08-25T06:52:21.265851217Z","aliases":["GHSA-vxq2-vhm7-7mhq"],"summary":"Malicious code in fetch-page-assets (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b20a04be5fca12f18a1dc5791b41fb0e1b9feac721b8d12747f32b00a18cb67c)\nbabel.config.cjs contains a heavily obfuscated (obfuscator.io-style) IIFE appended after a legitimate @babel/preset-env block. It queries multiple Ethereum RPC endpoints (1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io, eth.blockscout.com/api) for transactions from the on-chain address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes two IPv4 C2 addresses from the transaction's destination field, fetches XOR-encrypted stage-2 payloads from those hosts at /0x/cls and /0x/ls, decrypts them with hardcoded keys, and executes the result via both eval and spawn('node', ['-e', payload], {detached:true, stdio:'ignore', windowsHide:true}).unref(). A second copy of the same dropper is smuggled as public/fonts/fa-solid-400.woff2 — the file is not a font but plain JS beginning with global.i=\"A8-*#\";global.r=require; and requiring http/https/zlib/child_process, with identical on-chain address, endpoints, and XOR keys. Requires of child_process, http, https, zlib, and url are Unicode-escaped to evade static inspection. Any consumer that installs this package and runs a Babel-using workflow (jest, build, transpile) executes attacker-controlled remote code whose current location is dynamically resolved from the Ethereum blockchain, giving the operator resilient, takedown-resistant C2 on the installer's machine.\n\n## Source: ghsa-malware (fd48ae20edf27366ea94c51e236b2dc615d3f7a8a952f414710d6e057a73b015)\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":"fetch-page-assets","ecosystem":"npm"},"versions":["1.2.9","1.2.14","1.2.13"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"babel.config.cjs","sha256":"72b7feb8b22eeb972397ab6e80330043d4103ccc3c186818fe2d6647a49cc97a","tlsh":"58e22284a7d0a440034b6abbbb1bf4e5e96a0cac75844acbf11dbd84f766327e4f1531"}],"package_integrity":[{"filename":"fetch-page-assets-1.2.14.tgz","hashes":{"sha1":"71473269d20d30d028b3288d8681f9f7bc0449a3","sha512_sri":"sha512-ladlXgzRLMxtgvWZFVCW5UH9cvmNZu1jVsHes9FjYb5BJypNd/lF/2sQarjQKZ1nOOBoL6vIbGiRT9aZzxGX8g=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-vxq2-vhm7-7mhq"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fetch-page-assets/v/1.2.14"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fetch-page-assets/v/1.2.13"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-vxq2-vhm7-7mhq","import_time":"2026-06-24T01:59:16.939170968Z","modified_time":"2026-06-24T01:44:30Z","sha256":"fd48ae20edf27366ea94c51e236b2dc615d3f7a8a952f414710d6e057a73b015","source":"ghsa-malware","versions":["1.2.9"]},{"id":"IN-MAL-2026-018691","import_time":"2026-08-25T06:50:12.808137659Z","modified_time":"2026-08-25T06:45:16Z","sha256":"93ad8670580ca805e4733099874476f7d779ea8d77f66a1dbb55a6f540130766","source":"amazon-inspector","versions":["1.2.14"]},{"id":"IN-MAL-2026-018692","import_time":"2026-08-25T06:50:12.854170494Z","modified_time":"2026-08-25T06:45:29Z","sha256":"b20a04be5fca12f18a1dc5791b41fb0e1b9feac721b8d12747f32b00a18cb67c","source":"amazon-inspector","versions":["1.2.13"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0