MAL-2026-13973Malicious code in @khaznatech/common (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @khaznatech/common | 99.0.0 |
{"modified":"2026-08-13T21:08:58Z","published":"2026-08-13T21:08:58Z","schema_version":"1.7.4","id":"MAL-2026-13973","summary":"Malicious code in @khaznatech/common (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (59ac302f60b532a4e864c576593db300a20abba96ae2a53ba5da0cc06d8dc911)\nThe package's preinstall script (install-report.js) runs automatically on `npm install` and performs an HTTPS GET to a hardcoded webhook.site capture endpoint, appending the installer's hostname (os.hostname()) and current working directory basename (process.cwd()) to the URL path. webhook.site is an anonymous third-party request-capture service, not publisher infrastructure, and the exfiltrated values identify the installer's machine and project. The behavior is labeled as install telemetry in a comment but is not disclosed, not opt-in, and directed at an anonymous endpoint rather than a package-owned or caller-configured destination.\n","affected":[{"package":{"ecosystem":"npm","name":"@khaznatech/common"},"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":"common-99.0.0.tgz","hashes":{"sha1":"78d49089f40fd004cc0dfdc02a574d4fe18edab9","sha512_sri":"sha512-ZJi4MQgqkvVq0RLAoYBsGpE7b4/XFpyYfnDymKril4JYbfFbqbGxS33+b7VWh0DGQSrAm5hGx6/QsBAIuF1p0w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@khaznatech/common/v/99.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017688","import_time":"2026-08-13T21:20:57.739230508Z","modified_time":"2026-08-13T21:08:58Z","sha256":"59ac302f60b532a4e864c576593db300a20abba96ae2a53ba5da0cc06d8dc911","source":"amazon-inspector","versions":["99.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0