# MAL-2026-6346: Malicious code in triage-bot (npm)


- **Type:** Malicious package
- **Package:** `triage-bot` (npm)
- **Published:** 23 Jun 2026

## What is MAL-2026-6346?

MAL-2026-6346 is a malicious package in triage-bot, published on 23 Jun 2026. 

### Official description

package.json declares `preinstall: node index.js`, so the payload runs automatically on `npm install` with no user action. index.js requires `os`, `fs`, and `https`, then collects hostname, username, home directory, DNS servers, current working directory, and package metadata, and reads the contents of /etc/passwd and /etc/hosts (index.js:18-19). The aggregated JSON is HTTPS POSTed to `t3x60c96rz2gi7qxftonjplmmdsbg14q.oastify.com`, a Burp Collaborator out-of-band-interaction subdomain controlled by the publisher. Package metadata is empty (author '', description '', ISC license) and the package ships no functional code — it exists solely as an install-time beacon, consistent with a dependency-confusion / pen-test harvest payload.

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

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-6346 is a malicious package: triage-bot (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-6346/ (Markdown: https://insights.sbomify.com/MAL-2026-6346/index.md)
```

## Sources

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

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