{"id":"MAL-2026-16138","revision":null,"records":[{"revision":"91e97e9ae61c4117905e937314e5692b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16138","aliases":[],"title":"Malicious code in greensaver (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dd840e550f39e1f29f7a50b0cd121c3fa5e78e99954f22009f03b5ac775f91ec)\ngreensaver@1.2.3 declares a postinstall script (\"node lib/greensaver.js\") that runs automatically on `npm install`. The script decodes two files masquerading as TypeScript sourcemaps (lib/parse.ts.map and lib/init.ts.map) from base64 into sibling JavaScript files (lib/parsetmp.js and lib/config.js), requires the loader, and then unlinks all four files to erase evidence. The loader fetches an AES-CBC-encrypted blob from https://www.jsonkeeper.com/b/V6NBX (an anonymous JSON paste host), decrypts it with the hardcoded password 'myPassword123', and passes the resulting plaintext directly to eval(). The endpoint URL and auth header values are additionally base64-wrapped for a second obfuscation layer. The remainder of the package (scan.js, parse.js, constants.js, utils.js, and the exported makeRe/scan/parse API) is a rename of the picomatch glob-matcher library, providing a cover story for the dropper. The package name and 'Blazing fast and accurate glob matcher' description resemble picomatch.\n","state":0,"publishedAt":"2026-09-11T22:40:11+00:00","modifiedAt":"2026-09-11T23:30:06.1566289+00:00","affected":[{"ecosystem":"npm","name":"greensaver","ranges":[],"versions":["1.2.1","1.2.3","1.2.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/greensaver/v/1.2.1","https://www.npmjs.com/package/greensaver/v/1.2.3","https://www.npmjs.com/package/greensaver/v/1.2.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16138","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16138","identifiers":["MAL-2026-16138"]},"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-13T18:01:05.5413022+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T18:01:05.5413022+00:00","lastSuccessAt":"2026-11-13T18:01:05.7729339+00:00","error":null,"lastVerifiedAt":"2026-11-13T18:01:05.7729352+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-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-ccaf70881389a6dde5b6a56695261f5e99c3b78e7d92f29b689b3669ccc7d293","complete":true,"records":425536,"lastAttemptAt":"2026-11-13T17:57:15.2133348+00:00","lastSuccessAt":"2026-11-13T17:57:14.9138678+00:00","error":null,"lastVerifiedAt":"2026-11-13T17:57:15.2133348+00:00","snapshotPublishedAt":"2026-11-13T17:24:51+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-0935ecd52e0a4dcba231eb8eac2a06d0","complete":false,"records":13797,"lastAttemptAt":"2026-11-13T18:11:36.7102949+00:00","lastSuccessAt":"2026-11-13T18:11:36.702+00:00","error":"824 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T18:11:36.702+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":12620,"expectedIdentifiers":13850,"failedIdentifiers":824},{"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-13T18:01:05.5413022+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T18:01:05.5413022+00:00","lastSuccessAt":"2026-11-13T18:01:05.7779306+00:00","error":null,"lastVerifiedAt":"2026-11-13T18:01:05.7779313+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-32661fdb309e42beb400bdb9ba8a1124","complete":true,"records":13797,"lastAttemptAt":"2026-11-13T18:01:41.4058929+00:00","lastSuccessAt":"2026-11-13T18:01:41.402+00:00","error":null,"lastVerifiedAt":"2026-11-13T18:01:41.402+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13850,"expectedIdentifiers":13850,"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-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T18:01:05.3922026+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T18:01:05.3922026+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+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-13T17:57:15.3850684+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T17:57:15.3850684+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-f7b4a39cba128839548000e6d1d86fef7e48dd6f19f8e345c343f4aa28de8b91","complete":true,"records":3146,"lastAttemptAt":"2026-11-13T18:01:05.4945949+00:00","lastSuccessAt":"2026-11-13T15:58:45.7257812+00:00","error":null,"lastVerifiedAt":"2026-11-13T18:01:05.4945949+00:00","snapshotPublishedAt":"2026-11-13T15:48:17+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-e36c3f641409a47745aac9a2b2ecb0fdf427f10ad1cc88f2e02065e57108d794","complete":true,"records":231780,"lastAttemptAt":"2026-11-13T18:01:05.257177+00:00","lastSuccessAt":"2026-11-13T18:01:03.35099+00:00","error":null,"lastVerifiedAt":"2026-11-13T18:01:05.257177+00:00","snapshotPublishedAt":"2026-11-13T17:33:05+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}