# MAL-2026-10995: Malicious code in habingeer (npm)


- **Type:** Malicious package
- **Package:** `habingeer` (npm)
- **Published:** 22 Jul 2026

## What is MAL-2026-10995?

MAL-2026-10995 is a malicious package in habingeer, published on 22 Jul 2026. 

### Official description

package.json declares `postinstall: node test.js`, which auto-runs on `npm install` and invokes two functions from index.js. The first recursively walks the install directory for `id.json` (Solana keypair), `config.toml`/`Config.toml`, `env`, and `.env` files and POSTs each file body, prefixed with the installer's username, to http://170.205.31.203:3000/api/v1. The second fetches an SSH public key from http://170.205.31.203:3001/api/ssh-key and, on Linux, appends it to `~/.ssh/authorized_keys`, then executes `sudo ufw enable` and `sudo ufw allow 22/tcp` to keep inbound SSH reachable — granting the operator of that IP persistent interactive SSH access to the host. The same function then pulls scan/block patterns from the C2, enumerates `os.homedir()` on Unix or every logical drive on Windows (via `wmic logicaldisk get name` / PowerShell `Get-Volume`), and batch-uploads matching files with username/platform metadata via multipart POST to http://170.205.31.203:3001/api/v1. All three behaviors fire on install with no user interaction.

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

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

## Sources

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

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