{"id":"MAL-2026-17436","revision":null,"records":[{"revision":"175e1fe7d63a49609cbb3cfb357b7a22","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17436","aliases":[],"title":"Malicious code in okra-cloud-cdk (npm)","description":"okra-cloud-cdk is a dependency-confusion package: it takes a name that looks like an internal project, uses an inflated version (100.0.0) so it outranks private-registry versions, and runs `node setup.js || true` as a preinstall script on npm install. setup.js sends the hostname, username, working directory, OS, architecture, Node.js version and configured npm registry, with a per-package tracking token, in an HTTPS POST to `https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook`. The npm account amel10 published okra-cloud-cdk and 9 similar packages within two minutes on 2026-09-30, all with the same setup.js.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (84a86d5a0d96567fc1ab65c8f61ab1610b8488859dd53ade8a7a05a86389d371)\nokra-cloud-cdk@100.0.0 ships a `preinstall` lifecycle script (`setup.js`) that runs automatically on `npm install`. The script collects installer-side identifiers — hostname (`os.hostname()`), username (`os.userInfo().username`), current working directory (`process.cwd()`), platform, architecture, Node version, and the configured npm registry URL (`npm_config_registry`) — and POSTs them along with a hardcoded token to a hardcoded AWS API Gateway endpoint at https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook. The package's declared main is a trivial `zeroPad` stub whose functionality (`Pad number with leading zeros`) is unrelated to the package name `okra-cloud-cdk`, and the implausibly high version number (100.0.0) is consistent with an attempt to win resolution against an internal package of the same name. The exfiltrated `npm_config_registry` value in particular discloses internal/private registry hostnames, which are the identifying signal used to select follow-up dependency-confusion targets.\n","state":0,"publishedAt":"2026-09-30T07:10:23+00:00","modifiedAt":"2026-10-04T23:45:17.0562548+00:00","affected":[{"ecosystem":"npm","name":"okra-cloud-cdk","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["100.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/okra-cloud-cdk","https://www.npmjs.com/package/okra-cloud-cdk/v/100.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17436","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17436","identifiers":["MAL-2026-17436"]},"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-11T17:59:29.7133238+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-11T17:59:29.7133238+00:00","lastSuccessAt":"2026-11-11T17:59:29.8786336+00:00","error":null,"lastVerifiedAt":"2026-11-11T17:59:29.8786343+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-de3b77103708811b6494d2ff7c979037d73ae579742cd1649a5c765137ae5083-66440cb8d957f26a0d8f3a03b6765fa8b16e4c6b9cb48b55edd1ea7f4548f7f5","complete":true,"records":424194,"lastAttemptAt":"2026-11-11T17:57:32.9124856+00:00","lastSuccessAt":"2026-11-11T17:57:32.763439+00:00","error":null,"lastVerifiedAt":"2026-11-11T17:57:32.9124856+00:00","snapshotPublishedAt":"2026-11-11T17:27: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-8e2a34a18d694453aff340dede947f74","complete":false,"records":13759,"lastAttemptAt":"2026-11-11T18:10:43.0838006+00:00","lastSuccessAt":"2026-11-11T18:10:43.078+00:00","error":null,"lastVerifiedAt":"2026-11-11T18:10:43.078+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13584,"expectedIdentifiers":13813,"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-11T17:59:29.7133238+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-11T17:59:29.7133238+00:00","lastSuccessAt":"2026-11-11T17:59:29.8793973+00:00","error":null,"lastVerifiedAt":"2026-11-11T17:59:29.8793975+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-9169816ed33d4259981dbb50309d6730","complete":false,"records":13753,"lastAttemptAt":"2026-11-11T18:01:00.7925805+00:00","lastSuccessAt":"2026-11-11T16:59:52.052+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-11T16:59:52.052+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13713,"expectedIdentifiers":13813,"failedIdentifiers":100},{"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-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-11T17:59:29.6525853+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-11T17:59:29.6525853+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+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-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-11T17:57:32.9596215+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-11T17:57:32.9596215+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+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-baa8362b4daf9e5f39d5563775a55935e7b442c0735d33274a921579ce4a0d66","complete":true,"records":3093,"lastAttemptAt":"2026-11-11T17:59:29.6681473+00:00","lastSuccessAt":"2026-11-11T13:00:02.5446881+00:00","error":null,"lastVerifiedAt":"2026-11-11T17:59:29.6681473+00:00","snapshotPublishedAt":"2026-11-11T12:47:47+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-757d3692f9a7b34792dad960197f3cc953a54db59b7d0ffe3835a0ed9926f76b","complete":true,"records":231690,"lastAttemptAt":"2026-11-11T17:59:29.4500285+00:00","lastSuccessAt":"2026-11-11T17:59:27.5166432+00:00","error":null,"lastVerifiedAt":"2026-11-11T17:59:29.4500285+00:00","snapshotPublishedAt":"2026-11-11T17:48:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}