# MAL-2026-6085: Malicious code in @hotcappuccino/nodepull (npm)


- **Type:** Malicious package
- **Package:** `@hotcappuccino/nodepull` (npm)
- **Published:** 17 Jun 2026
- **Also known as:** GHSA-r3fv-99xj-m7pw

## What is MAL-2026-6085?

MAL-2026-6085 is a malicious package in @hotcappuccino/nodepull, published on 17 Jun 2026. 

### Official description

@hotcappuccino/nodepull@1.0.0 ships a single `index.js` (the package's declared `main`) that is wrapped in an obfuscator.io string-array + RC4-encrypted-string scheme. At top level — fires on every `require('@hotcappuccino/nodepull')` — the module loads `child_process`, `fs`, `os`, `path`, and an HTTP client; reconstructs a dotted URL through repeated `''.repeat(N,'.')` concatenations of RC4-decrypted fragments; performs `httpClient.get(URL + path)`; writes the response body to `path.join(os.tmpdir(), <filename>)` via `fs.writeFileSync(..., {flag:'w+'})`; and immediately invokes `child_process.spawn(filePath, args, {windowsHide: true, cwd: os.tmpdir()})`. The 249-entry rotated string array is decoded by `b`/`c` using base64 + RC4 keyed by index 0, hiding the URL, spawned command, and required module names from inspection. There is no legitimate purpose served by RC4-encrypting every string (including module names) in a package whose only behavior is to fetch and execute a remote binary at import time. Any installer that requires this package executes attacker-controlled bytes from a hidden remote endpoint as a child process with the console window suppressed.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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

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

## Sources

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

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