{"id":"GHSA-7f8c-p7q8-mw86","revision":null,"records":[{"revision":"47b321b077f24546820f9bddfabdbb90","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6590","aliases":["GHSA-7f8c-p7q8-mw86"],"title":"Malicious code in envfile-sync-cli (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (097a9a647e6d99cd53b881cae4fdd747d03b319388107c946c70b8804d3d917b)\nOn every import of envfile-sync-cli, src/index.js calls process.dlopen on bin/native/parser.node — a 2.9MB Windows PE executable (sha256 b1aace6c70312a39ca39e6bba1d9abc6aaf9b23171089b1a548adc89f67f83c3) shipped in the tarball. The dlopen call uses the canonical load-for-side-effects shape (`process.dlopen({ exports: {} }, p)` with the exports object discarded), so the binary executes for its side effects rather than to provide a parser API. The native binary is functionally redundant: parse.js already implements the env-file parser in pure JavaScript, so there is no engineering reason for the.node file to exist. The package's documentation actively conceals this code: README states 'Zero dependencies. Installs instantly, nothing to audit' and 'No binary to install', the CHANGELOG only documents v1.0.0 (this version is 2.0.0), and the binary is referenced only obliquely via the `bin/native/` entry in package.json's `files` array. The package is also a name/brand mismatch: package.json's `name` is `envfile-sync-cli` while the README, npm badge link (npmjs.com/package/envsync), bin alias (`envsync`), and CHANGELOG all brand the package as `envsync` — the standard typosquat delivery vehicle where the README impersonates a legitimate package so users trust it, while the published name differs and ships the hidden payload. The combination — undocumented native binary, silent dlopen at import time, redundant with shipped JS, README that explicitly denies the binary's existence, and brand impersonation of a different package — removes any plausible benign explanation and is consistent with smuggling attacker-controlled native code onto Windows installer machines.\n\n## Source: ghsa-malware (be5d590e3748b0cb58d102771ab22f0801a89a1be777fc7544b62cb6176eacf5)\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-06-29T07:28:07+00:00","modifiedAt":"2026-08-18T00:30:29.9809918+00:00","affected":[{"ecosystem":"npm","name":"envfile-sync-cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.0.0","3.0.0","1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/envfile-sync-cli/v/2.0.0","https://www.npmjs.com/package/envfile-sync-cli/v/3.0.0","https://www.npmjs.com/package/envfile-sync-cli/v/1.0.2","https://github.com/advisories/GHSA-7f8c-p7q8-mw86"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6590","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6590","identifiers":["MAL-2026-6590","GHSA-7f8c-p7q8-mw86"]},"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-21T21:25:39.2987515+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T21:25:39.2987515+00:00","lastSuccessAt":"2026-11-21T21:25:39.4696152+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.4696159+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-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-8a5323e6076063ba205d53125922ddf347b239b3be2a44989d6bde5f5ff924c6","complete":true,"records":430357,"lastAttemptAt":"2026-11-21T21:25:38.8039521+00:00","lastSuccessAt":"2026-11-21T21:25:38.7610734+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:38.8039521+00:00","snapshotPublishedAt":"2026-11-21T21:23:25+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-7e8982bb480e4eb695c179c8ce0fb00a","complete":false,"records":13927,"lastAttemptAt":"2026-11-21T21:34:08.4920433+00:00","lastSuccessAt":"2026-11-21T21:34:08.488+00:00","error":"210 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T21:34:08.488+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13764,"expectedIdentifiers":13975,"failedIdentifiers":210},{"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-21T21:25:39.2987515+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T21:25:39.2987515+00:00","lastSuccessAt":"2026-11-21T21:25:39.4704272+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.4704275+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-038da8739d494524a5c05de26c3dcfb9","complete":true,"records":13939,"lastAttemptAt":"2026-11-21T21:26:04.7647909+00:00","lastSuccessAt":"2026-11-21T21:26:04.762+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:26:04.762+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13975,"expectedIdentifiers":13975,"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-e5345bb505029da8292989aaa8236ee0c21dd40080e465858702ec2ecb4dcefd","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T21:25:39.1645101+00:00","lastSuccessAt":"2026-11-21T19:16:03.0413179+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.1645101+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T21:25:38.9522562+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:38.9522562+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-67ea94df7f6b2100258b087b14035af283f000b6aefe39f55e9f2795f912fde8","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T21:25:39.2629448+00:00","lastSuccessAt":"2026-11-21T19:16:06.9994675+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.2629448+00:00","snapshotPublishedAt":"2026-11-21T18:18:24+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-ca9191aa5fa7fa5c5a36899d65632bf6b4c0113dd89adbc5ffafda61020ad762","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T21:25:39.0583706+00:00","lastSuccessAt":"2026-11-21T20:28:22.4166332+00:00","error":null,"lastVerifiedAt":"2026-11-21T21:25:39.0583706+00:00","snapshotPublishedAt":"2026-11-21T20:18:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}