Malicious code in @khaznatech/common (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13973
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (59ac302f60b532a4e864c576593db300a20abba96ae2a53ba5da0cc06d8dc911) The 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.
- Source published
- 13 Aug 2026 21:08:58 UTC
- Source modified
- 13 Aug 2026 21:30:25 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.