{"id":"MAL-2026-13974","summary":"Malicious code in @khaznatech/core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (820c7f4f32895ef501e6926f624897cf41b5f868bc21c60852cbfc101b4cd5ba)\nThe package ships install-report.js as a preinstall lifecycle script that unconditionally runs on npm install. The script reads os.hostname() and the current working directory basename and transmits them via https.get to a hardcoded third-party collector at https://webhook.site/93b065ab-227f-4253-b940-361d00e9b870/, appending the host identifiers as the URL path. The destination is an anonymous request-inspection endpoint unrelated to any declared package purpose, and the beacon fires silently on every installation without opt-in.\n","modified":"2026-08-13T21:30:24.166548237Z","published":"2026-08-13T21:08:42Z","database_specific":{"malicious-packages-origins":[{"sha256":"820c7f4f32895ef501e6926f624897cf41b5f868bc21c60852cbfc101b4cd5ba","source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-017686","import_time":"2026-08-13T21:20:57.649262244Z","modified_time":"2026-08-13T21:08:42Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@khaznatech/core/v/99.0.0"}],"affected":[{"package":{"name":"@khaznatech/core","ecosystem":"npm","purl":"pkg:npm/%40khaznatech/core"},"versions":["99.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@khaznatech/core/MAL-2026-13974.json","indicators":{"evidence_files":[{"sha256":"d6d5d7835070f0bac8a27aad788c19a99a97583aefdea9fdff198b8e5cbfe32f","tlsh":"1bf0e1be43f460392ee2c1f0b9175ceae10ad519b25056c0d69922b14746cb50cb75f5","path":"install-report.js"}],"package_integrity":[{"filename":"core-99.0.0.tgz","hashes":{"sha512_sri":"sha512-6KzMKHHMSEs8OMTrZHtAhFfhPDsvNEzoqZbbNqG1JQevO9Sjfdacaj64cmxfu4anTWqeUXlJavO445tIVcYitg==","sha1":"628ddf642c04c92da955aa5c99fd25d793ec1ee8"}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}