# MAL-2026-10205: Malicious code in library-explorer (npm)


- **Type:** Malicious package
- **Package:** `library-explorer` (npm)
- **Published:** 12 Jul 2026
- **Also known as:** GHSA-rgpm-2hw4-8725

## What is MAL-2026-10205?

MAL-2026-10205 is a malicious package in library-explorer, published on 12 Jul 2026. 

### Official description

package.json declares `preinstall: node index.js`. On `npm install`, index.js collects installer host identity (os.hostname, os.platform, os.arch, os.homedir, os.userInfo username/uid/gid/shell, CPU/memory) and shells out `whoami` and (non-Windows) `id` via child_process.exec, then POSTs the aggregated JSON to a hardcoded Burp Collaborator subdomain at https://bgvge0daqrvkonl6x9qrx553ruxllb90.oastify.com/detox56. The package ships no real functionality (empty description/author, single preinstall script) and is consistent with a dependency-confusion / internal-name recon beacon staged to fire automatically on install.

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

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

## Sources

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

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