{"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","modified":"2026-08-13T21:30:25.925358846Z","published":"2026-08-13T21:08:58Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-13T21:20:57.739230508Z","modified_time":"2026-08-13T21:08:58Z","sha256":"59ac302f60b532a4e864c576593db300a20abba96ae2a53ba5da0cc06d8dc911","source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-017688"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@khaznatech/common/v/99.0.0"}],"affected":[{"package":{"name":"@khaznatech/common","ecosystem":"npm","purl":"pkg:npm/%40khaznatech/common"},"versions":["99.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"hashes":{"sha1":"78d49089f40fd004cc0dfdc02a574d4fe18edab9","sha512_sri":"sha512-ZJi4MQgqkvVq0RLAoYBsGpE7b4/XFpyYfnDymKril4JYbfFbqbGxS33+b7VWh0DGQSrAm5hGx6/QsBAIuF1p0w=="},"filename":"common-99.0.0.tgz"}],"evidence_files":[{"tlsh":"1bf0e1be43f460392ee2c1f0b9175ceae10ad519b25056c0d69922b14746cb50cb75f5","path":"install-report.js","sha256":"d6d5d7835070f0bac8a27aad788c19a99a97583aefdea9fdff198b8e5cbfe32f"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@khaznatech/common/MAL-2026-13973.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}