MAL-2026-14192Malicious code in tfjs-inference (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | tfjs-inference | 1.0.0 |
{"modified":"2026-08-19T00:03:33Z","published":"2026-08-19T00:03:33Z","schema_version":"1.7.4","id":"MAL-2026-14192","summary":"Malicious code in tfjs-inference (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (52ebb387c7f1f9bb3e96df6f8006cabc9141ddd1da35a58bfc14b42f2f6864eb)\nThe package name typosquats TensorFlow.js and its npm postinstall lifecycle script collects installer host identifiers (hostname, platform, arch, Node.js version, package name) and POSTs them as JSON to the hardcoded third-party host zl2u2d1x.instances.poc.jchunt.top at path /tfjs-inference. The exfiltration fires automatically on `npm install` with no opt-in and no configuration. Internal comments self-label the package as a security research canary, but the destination is author-controlled and the installer receives no notice or consent prompt.\n","affected":[{"package":{"ecosystem":"npm","name":"tfjs-inference"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"postinstall.js","sha256":"171d892f52c71ff9dfb75518424ab0eb80eab9ee0819dff88f721b2f734ce0bc","tlsh":"a001fed5d1b55a7127b8a28068e06f0693fbf223370620b679c404a92f8d0f500321ad"}],"package_integrity":[{"filename":"tfjs-inference-1.0.0.tgz","hashes":{"sha1":"a63669a14bebd9365f16367b4a0691c5a95ec18e","sha512_sri":"sha512-oD+uMyyvuRBKm2U5B+VZNfy3D7x7IaATOol/0mzWsxiP30z8ym/lvYrg0dw7aaCRWj5TA50PI1idShu+pIfpWQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tfjs-inference/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018263","import_time":"2026-08-19T00:21:14.49681312Z","modified_time":"2026-08-19T00:03:33Z","sha256":"52ebb387c7f1f9bb3e96df6f8006cabc9141ddd1da35a58bfc14b42f2f6864eb","source":"amazon-inspector","versions":["1.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0