Malicious code in @khaznatech/utils (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13975
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3d6d321090b3f66b7766ca73a5cebf1a2d3ab2908d8d31f8423616c8094ec0a8) The 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.
- Source published
- 13 Aug 2026 21:08:51 UTC
- Source modified
- 13 Aug 2026 21:30:24 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.