Malicious code in web-pool (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d2b1d78cd3ff0c5eeead299eb670d299590b48a453c9416ae2a692bc4173737c) Requiring web-pool triggers middleware() to spawn a detached `node lib/initializeCaller.js`. That script base64-decodes a hardcoded endpoint (https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df), POSTs the entire `process.env` (CI tokens, npm tokens, AWS_*, GITHUB_TOKEN, arbitrary secrets) to it, and executes the HTTP response body via `new Function('require', response.data)(require)` — granting the attacker arbitrary code execution under the installer's Node process. The C2 URL is hidden behind base64 inside a fake local `process` object that shadows Node's real `process`, an obfuscation pattern designed to defeat static URL scanning. The README masquerades as the `pino` logger (titled `web-corn`, badges and links point to npm pino and pinojs/pino), making this a typosquat lure with a malware loader as its only real behavior. ## Source: ghsa-malware (50ad60f10cd9ca947a6472d933ae092c9a32cc7e75e0ad3a95d1117419a6070a) 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.
AI Analysis
Technical Summary
The 'web-pool' npm package version 2.3.5 contains malicious code that triggers a detached Node.js process executing 'lib/initializeCaller.js'. This script base64-decodes a hardcoded C2 endpoint URL, posts the entire process environment (including CI tokens, npm tokens, AWS credentials, GitHub tokens, and other secrets) to it, and executes the returned JavaScript code via a dynamic Function constructor. The package uses obfuscation by shadowing Node's 'process' object with a fake local one to hide the C2 URL from static analysis. Its README mimics the legitimate 'pino' logger package, making it a typosquatting malware loader. Installation or execution of this package results in arbitrary code execution under the installer's Node process, effectively fully compromising the host system.
Potential Impact
Any system with 'web-pool' version 2.3.5 installed or running is considered fully compromised. Sensitive environment variables and secrets are exfiltrated to an attacker-controlled server. The attacker gains arbitrary code execution capabilities within the Node.js process context, which can lead to complete system takeover. Removal of the package alone does not guarantee eradication of all malicious artifacts or backdoors. Immediate secret and key rotation is required from a clean environment to prevent further unauthorized access.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all systems. All secrets, tokens, and keys exposed on compromised systems must be rotated promptly using a secure, uncompromised device. Due to the high likelihood of full system compromise, a thorough incident response including forensic analysis and system rebuilds is recommended. Monitor for any signs of persistence or additional malware installed as a result of this compromise.
Malicious code in web-pool (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d2b1d78cd3ff0c5eeead299eb670d299590b48a453c9416ae2a692bc4173737c) Requiring web-pool triggers middleware() to spawn a detached `node lib/initializeCaller.js`. That script base64-decodes a hardcoded endpoint (https://ipcheck-hashed.vercel.app/api/auth/6c1d60d35852ef0c05df), POSTs the entire `process.env` (CI tokens, npm tokens, AWS_*, GITHUB_TOKEN, arbitrary secrets) to it, and executes the HTTP response body via `new Function('require', response.data)(require)` — granting the attacker arbitrary code execution under the installer's Node process. The C2 URL is hidden behind base64 inside a fake local `process` object that shadows Node's real `process`, an obfuscation pattern designed to defeat static URL scanning. The README masquerades as the `pino` logger (titled `web-corn`, badges and links point to npm pino and pinojs/pino), making this a typosquat lure with a malware loader as its only real behavior. ## Source: ghsa-malware (50ad60f10cd9ca947a6472d933ae092c9a32cc7e75e0ad3a95d1117419a6070a) 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'web-pool' npm package version 2.3.5 contains malicious code that triggers a detached Node.js process executing 'lib/initializeCaller.js'. This script base64-decodes a hardcoded C2 endpoint URL, posts the entire process environment (including CI tokens, npm tokens, AWS credentials, GitHub tokens, and other secrets) to it, and executes the returned JavaScript code via a dynamic Function constructor. The package uses obfuscation by shadowing Node's 'process' object with a fake local one to hide the C2 URL from static analysis. Its README mimics the legitimate 'pino' logger package, making it a typosquatting malware loader. Installation or execution of this package results in arbitrary code execution under the installer's Node process, effectively fully compromising the host system.
Potential Impact
Any system with 'web-pool' version 2.3.5 installed or running is considered fully compromised. Sensitive environment variables and secrets are exfiltrated to an attacker-controlled server. The attacker gains arbitrary code execution capabilities within the Node.js process context, which can lead to complete system takeover. Removal of the package alone does not guarantee eradication of all malicious artifacts or backdoors. Immediate secret and key rotation is required from a clean environment to prevent further unauthorized access.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The package should be immediately removed from all systems. All secrets, tokens, and keys exposed on compromised systems must be rotated promptly using a secure, uncompromised device. Due to the high likelihood of full system compromise, a thorough incident response including forensic analysis and system rebuilds is recommended. Monitor for any signs of persistence or additional malware installed as a result of this compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5577
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-x58x-qmg9-8q8v"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c340d27e9c797195f718e
Added to database: 07/06/2026, 23:02:37 UTC
Last enriched: 07/06/2026, 23:17:17 UTC
Last updated: 07/28/2026, 18:26:18 UTC
Views: 10
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
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.