MAL-2026-13975Malicious code in @khaznatech/utils (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @khaznatech/utils | 99.0.0 |
{"modified":"2026-08-13T21:08:51Z","published":"2026-08-13T21:08:51Z","schema_version":"1.7.4","id":"MAL-2026-13975","summary":"Malicious code in @khaznatech/utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3d6d321090b3f66b7766ca73a5cebf1a2d3ab2908d8d31f8423616c8094ec0a8)\nThe package declares a preinstall script (install-report.js) that runs on npm install. It reads os.hostname() and the current working directory basename and sends them via https.get to a hardcoded webhook.site inbox (https://webhook.site/93b065ab-227f-4253-b940-361d00e9b870/). webhook.site is an anonymous request-inspection service that has no relation to the package's stated utilities purpose. The scoped name @khaznatech/utils combined with the unusually high version number 99.0.0 is consistent with a dependency-confusion probe designed to identify internal build systems that resolve the public name over a private one.\n","affected":[{"package":{"ecosystem":"npm","name":"@khaznatech/utils"},"versions":["99.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":"install-report.js","sha256":"d6d5d7835070f0bac8a27aad788c19a99a97583aefdea9fdff198b8e5cbfe32f","tlsh":"1bf0e1be43f460392ee2c1f0b9175ceae10ad519b25056c0d69922b14746cb50cb75f5"}],"package_integrity":[{"filename":"utils-99.0.0.tgz","hashes":{"sha1":"d8125a9ea2705bdc5d31a37df0c6427e91c6e851","sha512_sri":"sha512-UdEVFf8LVgmLbp/Rx6H6vdc/pNir6GTS4BcwUNhtmEtmpHLfTmaESIPCH8Xs8vg0sbdYlnGraj8xLeMDoNM9PQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@khaznatech/utils/v/99.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017687","import_time":"2026-08-13T21:20:57.697782935Z","modified_time":"2026-08-13T21:08:51Z","sha256":"3d6d321090b3f66b7766ca73a5cebf1a2d3ab2908d8d31f8423616c8094ec0a8","source":"amazon-inspector","versions":["99.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0