MAL-2026-12323Malicious code in @nasddatax/common (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.21 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | @nasddatax/common | * |
| npm | @nasddatax/common | 1.0.21 |
{"schema_version":"1.7.4","id":"MAL-2026-12323","published":"2026-08-05T12:33:01Z","modified":"2026-08-06T09:25:10.298921313Z","aliases":["GHSA-mx45-4vrr-4fgp"],"summary":"Malicious code in @nasddatax/common (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1cf5662d7c8759acd7a9a541baddd3bf4787594fafcd38f8a4eaf27bbe57d558)\nbuild/index.js appends an eval(atob(...)) trailer after legitimate re-exports. On require, the decoded loader queries public Ethereum JSON-RPC endpoints for the latest transaction from the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes the 20-byte tx.to value into two IPv4 addresses, fetches an XOR-obfuscated JavaScript payload from http://<ip>:443/0x/cls and http://<ip>:443/0x/ls, decodes an x-payload-b64 response header, and executes the result via eval and a detached spawn('node', ['-e', payload]). Security-relevant identifiers (http, child_process, spawn, method and header strings) are written as \\u00XX unicode escapes to hide the behavior. Any application that requires this package runs attacker-controlled code on the installer's machine, and the C2 destination can be rotated on-chain without republishing the package. Package metadata (empty author, empty description, scoped `<scope>/common` name) is consistent with an impostor common-utilities package.\n\n## Source: ghsa-malware (db85c2c336b7b7965deef4783c3eddd656dbaf384c2c73b5d50167ef308fa5e9)\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":"@nasddatax/common","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.21"],"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":"build/index.js","sha256":"9b5559495eb590df3b96812d0460341e98a0c98074a6700b4f493683a5a7beb4","tlsh":"54524eaa16917aabcb4e3673fe97930d233154b236ac2b04310fda74b389c91755d90f"},{"path":"package.json","sha256":"698f2e24c2eec2fad645a733dba67e9d82daeaa0915256e8aa51347594c742e4","tlsh":"07018520ec0a8e7306c966664c795203e2b1c92b0444fc0c33e6a63e8b4e5bf01bd76d"}],"package_integrity":[{"filename":"common-1.0.21.tgz","hashes":{"sha1":"0ce74222f8d4aeb7e96a0c5e3fed97a9fb0a802a","sha512_sri":"sha512-tJwfvlTBdC0+u1A+2MpV/zSGZQbu9swBVVkQCwypUSBqvbQYuYjXIAZnxHJZZo5f0o8zNc1GSxqp7IS5NIydyw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nasddatax/common/v/1.0.21"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mx45-4vrr-4fgp"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014701","import_time":"2026-08-05T13:08:38.994911205Z","modified_time":"2026-08-05T12:33:01Z","sha256":"1cf5662d7c8759acd7a9a541baddd3bf4787594fafcd38f8a4eaf27bbe57d558","source":"amazon-inspector","versions":["1.0.21"]},{"id":"GHSA-mx45-4vrr-4fgp","import_time":"2026-08-06T09:23:22.998821243Z","modified_time":"2026-08-06T06:23:00Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"db85c2c336b7b7965deef4783c3eddd656dbaf384c2c73b5d50167ef308fa5e9","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0