MAL-2026-13605Malicious code in yakuza0 (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | yakuza0 | 2.23.40 |
| npm | yakuza0 | 2.23.40-beta.3 |
{"modified":"2026-08-07T12:53:24Z","published":"2026-08-07T12:49:02Z","schema_version":"1.7.4","id":"MAL-2026-13605","summary":"Malicious code in yakuza0 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c9952a92dd18e2353ebb4f2d8064884e7be770d23770096af6dbe1844d8b5fd6)\nThe package ships code that binds outbound network calls to a hardcoded non-standard host, https://registry-pxnpm.rdc.nfjbill.ren, from cli/index.js (fetch calls at lines 513, 554, 623 alongside a reference to process.versions for host fingerprinting). Additional files server/proxy/tire.js and server/proxy/csrf.js combine child_process usage with curl-based POST/GET operations, mixing shell command execution with outbound HTTP to non-registry endpoints. The destination host is not the npm registry or a documented publisher domain; its name mimics the format of a private npm registry, and it is invoked from top-level module code paths rather than a user-invoked API. The composition — hardcoded attacker-shaped endpoint, runtime process/version fingerprinting, curl-driven POSTs, and child_process shell execution wired to the same network paths — matches the shape of installer-targeted exfiltration and remote command execution.\n","affected":[{"package":{"ecosystem":"npm","name":"yakuza0"},"versions":["2.23.40","2.23.40-beta.3"],"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":"cli/index.js","sha256":"1bda3cecfe5551c4d787686cc801027f22f8045e2f6693729f5e223ab617a403","tlsh":"dd7372687cf6b012a33372294b6fd81067259c1b814cee79be8cc754afe011456e67fa"},{"path":"server/proxy/csrf.js","sha256":"12c18ac2bb77b9a6bea24e66479c2166431f60fbe4393e6811f6eb67803e0190","tlsh":"a023821868fae4279623322d476fe9046324ac07d20cfd267e8dc395dfd442457e6bea"},{"path":"server/proxy/tire.js","sha256":"544a6655156abb2c09065a073008cd45e964d3e29d3b99fb40fe9c4f4c7ac0dc","tlsh":"22d2950cbaf26417561366299b2fad006769980bc50df8117f4cd36bafc441ca3ea7f9"}],"package_integrity":[{"filename":"yakuza0-2.23.40.tgz","hashes":{"sha1":"86dd995216eb912f4e195d5e7cab32f48f62503b","sha512_sri":"sha512-sZFTx5tXR2CduC3wVewUGUXNhE5S7pxd9NIFGY+umm9G2x1VGSBCPvo+A7k9bqyHEpPZYF5KXcnM9LMkDpsEDg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/yakuza0/v/2.23.40"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/yakuza0/v/2.23.40-beta.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017066","import_time":"2026-08-07T12:51:24.678155188Z","modified_time":"2026-08-07T12:49:02Z","sha256":"74b981d7ed2585510333eff3e9be65daeadbd89632d873097b25b54f5c340ee4","source":"amazon-inspector","versions":["2.23.40"]},{"id":"IN-MAL-2026-017067","import_time":"2026-08-07T12:51:24.703402644Z","modified_time":"2026-08-07T12:49:14Z","sha256":"c9952a92dd18e2353ebb4f2d8064884e7be770d23770096af6dbe1844d8b5fd6","source":"amazon-inspector","versions":["2.23.40-beta.3"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0