# MAL-2026-5417: Malicious code in @klapp-sca/routes (npm)


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

## What is MAL-2026-5417?

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

### Official description

package.json declares `"preinstall": "node index.js || true"`, so on every `npm install` the bundled index.js runs automatically and collects os.hostname(), os.userInfo().username, __dirname, and process.cwd() into a JSON payload. The payload is hex-encoded into DNS labels and resolved against `*.d8jbmnsqcfu78dfs8vdg34ohqhirb4pbg.oast.live` (an Interactsh/Burp-Collaborator-style out-of-band DNS sink) and simultaneously POSTed to a hardcoded bare IP at `http://172.201.213.59:9090/c`. This is a classic install-time reconnaissance beacon: installer machine identity is leaked to attacker-controlled infrastructure without any consent or user action beyond installing the package. The package's stated 'security research' description does not change the impact — any installer that runs `npm install` has their hostname, username, and working-directory paths sent to third-party endpoints.

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

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

## Sources

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

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