# MAL-2026-5416: Malicious code in @klapp-otp/routes (npm)


- **Type:** Malicious package
- **Package:** `@klapp-otp/routes` (npm)
- **Published:** 9 Jun 2026

## What is MAL-2026-5416?

MAL-2026-5416 is a malicious package in @klapp-otp/routes, published on 9 Jun 2026. 

### Official description

On `npm install`, this package auto-executes `index.js` via the `preinstall` lifecycle hook. The script collects `os.hostname()`, `os.userInfo()`, `__dirname`, `process.cwd()`, and the package name, then exfiltrates them through two channels: (1) a hex-encoded DNS A-record query to `<encoded>.d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live` (an interactsh out-of-band collector), and (2) an HTTP POST of the same JSON payload to `http://172.201.213.59:9090/c`. Both channels fire unconditionally on install, leaking installer identity to attacker-controlled infrastructure. The package metadata reinforces the dependency-confusion / namespace-squat shape: scope `@klapp-otp` with version `99.0.0` and the description string `security research`, paired with no legitimate functionality in the tarball.

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

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-5416 is a malicious package: @klapp-otp/routes (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-5416/ (Markdown: https://insights.sbomify.com/MAL-2026-5416/index.md)
```

## Sources

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

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