{"id":"MAL-2026-16392","revision":null,"records":[{"revision":"9086a33585d1480f91b1cea24bc80226","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16392","aliases":["GHSA-h8xg-3hfp-rx6q"],"title":"Malicious code in envforge2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9033f3a6856b87cc07c657d93ce184d02db70e8bb67ea2319e634b7531640c11)\nenvforge2@1.0.1 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 envforge2@1.0.1, 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.\n\n## Source: ghsa-malware (e38379100dc14d259c355abdcc0436a12616894e3a636cd20fcef8cad964f45b)\nAny 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.\n","state":0,"publishedAt":"2026-09-22T18:22:20+00:00","modifiedAt":"2026-09-22T22:30:06.1161537+00:00","affected":[{"ecosystem":"npm","name":"envforge2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-h8xg-3hfp-rx6q","https://www.npmjs.com/package/envforge2/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16392","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16392","identifiers":["MAL-2026-16392","GHSA-h8xg-3hfp-rx6q"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T20:18:28.6757759+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T20:18:28.6757759+00:00","lastSuccessAt":"2026-11-12T20:18:28.9399625+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.9399638+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-10dbd7e8374437942fae8107ee9412aa31306596e1009af478aed343a0964c7f","complete":true,"records":424825,"lastAttemptAt":"2026-11-12T20:16:25.334281+00:00","lastSuccessAt":"2026-11-12T20:16:25.0113103+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:16:25.334281+00:00","snapshotPublishedAt":"2026-11-12T19:27:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-367b55e188c64747ba0c4df3151c2af5","complete":true,"records":13777,"lastAttemptAt":"2026-11-12T20:18:32.2142141+00:00","lastSuccessAt":"2026-11-12T20:18:32.208+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:32.208+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13830,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T20:18:28.6757759+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-12T20:18:28.6757759+00:00","lastSuccessAt":"2026-11-12T20:18:28.9407518+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.9407519+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7b81ed9b00664b57bd36260af1e82a93","complete":true,"records":13777,"lastAttemptAt":"2026-11-12T20:18:30.1210334+00:00","lastSuccessAt":"2026-11-12T20:18:30.116+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:30.116+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13830,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3aa2f7b2e0461b3b0ca26add25992529eb0c3a0bcda31696dca7b573cde1382c","complete":true,"records":9949,"lastAttemptAt":"2026-11-12T20:18:28.623289+00:00","lastSuccessAt":"2026-11-12T20:18:28.3432186+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.623289+00:00","snapshotPublishedAt":"2026-11-12T19:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-12T20:16:25.491187+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:16:25.491187+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-0d57668ba92a2918d0664e89ea91d467f8e6a2bc6330923eb883b74ac42a14ec","complete":true,"records":3125,"lastAttemptAt":"2026-11-12T20:18:28.6390801+00:00","lastSuccessAt":"2026-11-12T15:18:36.6112732+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.6390801+00:00","snapshotPublishedAt":"2026-11-12T14:48:37+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-aacb2ea0a84f684226fd5e421ed31635112d695f522f1d5914b6afab8cc7f03c","complete":true,"records":231724,"lastAttemptAt":"2026-11-12T20:18:18.7339404+00:00","lastSuccessAt":"2026-11-12T20:18:18.1230476+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:18.7339404+00:00","snapshotPublishedAt":"2026-11-12T19:33:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}