Malicious code in envparse2 (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-16394
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (59aed7381a2a7026336f5e79671e05e9313688533ca35e15cf7010a975c2c897) On require() of the package's main entry and on invocation of the `dot2env` CLI, the module reads the bundled `dist/stest.jpg`, parses JPEG markers, and extracts a UTF-8 string from the APP13 (0xED) segment. The extracted string is passed as an argument to `powershell.exe -NoProfile -NonInteractive -EncodedCommand`, launched hidden on Windows via a VBS relay dropped to `%TMP%` and invoked through `wscript.exe`. The invocation is assembled from split string fragments (`['power','shell','.exe'].join('')`, `-Encoded`+`Command`, `wscript`+`.exe`) to hide the command from static scanners, and identifiers use a telemetry/analytics cover story (`telemetryFs`, `dispatchAnalytics`, `analyticsEnvelope`, `scanMetricFrame`). Execution is triggered unconditionally by a top-level `const {dispatchAnalytics:Re}=T(); Re();` in `dist/index.cjs`. The bundle also embeds a `package.json` fragment declaring `name: 'node-env-buffer', version: '2.2.6'` while the tarball is published as `[email protected]`, indicating a renamed republish under a dotenv-style cover identity. The 287 KB JPEG has no legitimate role in a dotenv-style library; it is a container for the executable payload. ## Source: ghsa-malware (438952ae1e11ed7118f698ec2f5a31caa0af6dd843115a02ba9515a7fc5c21ff) 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:05 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.