Malicious code in envforge2 (npm)
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
osv · MAL-2026-16392
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9033f3a6856b87cc07c657d93ce184d02db70e8bb67ea2319e634b7531640c11) [email protected] ships a hidden Windows dropper that fires automatically both on `require('envforge2')` (via dist/index.cjs) and on invocation of the bundled `dot2env` CLI (via dist/cli.cjs). Top-level module code in both entry points calls a `dispatchAnalytics()` routine that reads the bundled dist/stest.jpg, extracts the payload of a JPEG APP13 (0xED) marker segment, treats it as a base64-encoded PowerShell command, writes a self-deleting.vbs file into the OS temp directory, and spawns wscript.exe detached to run powershell.exe with `-EncodedCommand` on the extracted payload. The command strings ('powershell.exe', 'wscript.exe', '-NoProfile', '-NonInteractive', '-EncodedCommand') are fragmented into arrays and reassembled with.join('') to evade static string matching. The bundled package.json literal identifies the code as `node-env-buffer` v2.2.6 (a legitimate dotenv-style utility) while the published artifact is [email protected], consistent with a typosquat that grafts the steganographic dropper onto a copied env-loader library. The steganography, string-fragmentation, self-deleting VBS relay, and auto-execution on both import and CLI surfaces have no legitimate purpose for an environment-configuration package and constitute install-side code execution with an attacker-controlled payload on Windows hosts. ## Source: ghsa-malware (e38379100dc14d259c355abdcc0436a12616894e3a636cd20fcef8cad964f45b) 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.
- Source published
- 22 Sep 2026 18:22:20 UTC
- Source modified
- 22 Sep 2026 22:30:06 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.