Malicious code in @hotcappuccino/nodepull (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (42e9bbd7a5cb25d0863ef140b42a7ab2abec1e921e18669eef3f07a91c3d6d99) @hotcappuccino/[email protected] 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. ## Source: ghsa-malware (e8eb6811f597709ec995125cfb0ad0abb2938ec73f8d6b2757ea77c04b97c051) 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.
Malicious code in @hotcappuccino/nodepull (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (42e9bbd7a5cb25d0863ef140b42a7ab2abec1e921e18669eef3f07a91c3d6d99) @hotcappuccino/[email protected] 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. ## Source: ghsa-malware (e8eb6811f597709ec995125cfb0ad0abb2938ec73f8d6b2757ea77c04b97c051) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6085
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-r3fv-99xj-m7pw"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f1bf8831d5395d76b9
Added to database: 08/14/2026, 16:36:01 UTC
Last updated: 08/14/2026, 16:36:54 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.