# MAL-2026-13974: Malicious code in @khaznatech/core (npm)


- **Type:** Malicious package
- **Package:** `@khaznatech/core` (npm)
- **Published:** 13 Aug 2026

## What is MAL-2026-13974?

MAL-2026-13974 is a malicious package in @khaznatech/core, published on 13 Aug 2026. 

### Official description

The 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.

## What should I do about MAL-2026-13974?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13974 is a malicious package: @khaznatech/core (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13974/ (Markdown: https://insights.sbomify.com/MAL-2026-13974/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13974

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13974/
Summaries are generated and may contain mistakes; the official description above is the record.
