web-pool
Affected
- Versions:
2.3.5
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-x58x-qmg9-8q8v
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
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.
Not rated by the source.
2.3.5None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0