{"id":"GHSA-77gf-97j3-jv6p","revision":null,"records":[{"revision":"74c1ac7d85ee4f9facbeaaca5debb80f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6697","aliases":["GHSA-77gf-97j3-jv6p"],"title":"Malicious code in @sudoughnym/enviro-demo (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (02c1c204d0f458d13d7140f4b7a007d551095665a418e9146037be9a5b2b7957)\n@sudoughnym/enviro-demo@99.99.99 ships preinstall.js and postinstall.js lifecycle scripts that run automatically on `npm install`. Both scripts collect host identifiers and environment metadata — os.hostname(), process.cwd(), pid, node version, platform, process.env.USER, the first ten environment variable names, and the total env count — and POST them as JSON to https://webhook.site/f83b073c-a04a-4ac5-8930-507051bd22f7, a third-party webhook capture service not associated with the package's stated publisher. The package version (99.99.99) and its own description identify it as a dependency-confusion proof-of-concept targeting an internal `enviro` package name; the inflated semver is intended to outrank private-registry versions so internal build systems resolve to this public package. Installer harm: any build or developer machine that resolves to this version leaks host identity and environment-variable layout (which can include secret-bearing variable names) to an attacker-controlled endpoint on every install.\n\n## Source: ghsa-malware (ec98ea2fad045d449528d5c96067a9eb3b9734b345bbfc201c80f9bda0e3e057)\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-30T20:59:17+00:00","modifiedAt":"2026-08-02T23:34:46.1281201+00:00","affected":[{"ecosystem":"npm","name":"@sudoughnym/enviro-demo","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["99.99.99","0.3.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@sudoughnym/enviro-demo/v/99.99.99","https://www.npmjs.com/package/@sudoughnym/enviro-demo/v/0.3.3","https://github.com/advisories/GHSA-77gf-97j3-jv6p"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6697","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6697","identifiers":["MAL-2026-6697","GHSA-77gf-97j3-jv6p"]},"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-23T13:25:33.4069785+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T13:25:33.4069785+00:00","lastSuccessAt":"2026-11-23T13:25:33.6151363+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:25:33.6151368+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-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-b2b82308582e9f96afee3b2a3ab71f87a983dfb4ea4036417ec85e1dba3a4850","complete":true,"records":430626,"lastAttemptAt":"2026-11-23T13:25:33.0969612+00:00","lastSuccessAt":"2026-11-23T13:25:33.0433814+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:25:33.0969612+00:00","snapshotPublishedAt":"2026-11-23T12:28:18+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-3cb6a3a2933a4a5baccc6f722fc5f557","complete":false,"records":13928,"lastAttemptAt":"2026-11-23T13:30:34.5837691+00:00","lastSuccessAt":"2026-11-23T13:30:33.4988614+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:30:33.4988614+00:00","snapshotPublishedAt":null,"importing":true,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"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-23T13:25:33.4069785+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T13:25:33.4069785+00:00","lastSuccessAt":"2026-11-23T13:25:33.6158458+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:25:33.615846+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-93e5580208494f94820efc1fb6fd9471","complete":true,"records":13940,"lastAttemptAt":"2026-11-23T13:25:34.1589469+00:00","lastSuccessAt":"2026-11-23T12:25:40.059+00:00","error":null,"lastVerifiedAt":"2026-11-23T12:25:40.059+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13976,"expectedIdentifiers":13976,"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-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T13:25:33.3608332+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:25:33.3608332+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+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-23T13:25:33.1550673+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:25:33.1550673+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-9035327876399d833ccd89428db993d67e1ee675265fd15c191a68c5fa77f5a4","complete":true,"records":3216,"lastAttemptAt":"2026-11-23T13:25:33.3730574+00:00","lastSuccessAt":"2026-11-23T10:27:16.8439398+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:25:33.3730574+00:00","snapshotPublishedAt":"2026-11-23T09:49:12+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-eff9dfb7fcad562c432f16aeb11b612e17ad078a4a4304d91b73dafe94cec5c7","complete":true,"records":232881,"lastAttemptAt":"2026-11-23T13:25:33.2625635+00:00","lastSuccessAt":"2026-11-23T11:27:05.0429339+00:00","error":null,"lastVerifiedAt":"2026-11-23T13:25:33.2625635+00:00","snapshotPublishedAt":"2026-11-23T10:48:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}