{"answers":{"affected":"1 open source package ship an affected version, including okra-cloud-cdk.","exploited":"There is no known exploitation of MAL-2026-17436 in the wild and no public exploit code.","fix":"Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.","what":"MAL-2026-17436 is a malicious package in okra-cloud-cdk, published on 30 Sep 2026."},"fix_prompt":"MAL-2026-17436 is a malicious package: okra-cloud-cdk (npm). Every version was published to cause harm.\n\nTask:\n1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.\n2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.\n3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.\n4. If the package is not used anywhere, say so and change nothing.\n\nReference: https://insights.sbomify.com/MAL-2026-17436/ (Markdown: https://insights.sbomify.com/MAL-2026-17436/index.md)","id":"MAL-2026-17436","markdown":"https://insights.sbomify.com/MAL-2026-17436/index.md","name":"MAL-2026-17436","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"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\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.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Malicious code in okra-cloud-cdk (npm)","id":"MAL-2026-17436","indexable":true,"kev":null,"kind":"malicious","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":[],"package":"okra-cloud-cdk","purl":"pkg:npm/okra-cloud-cdk","source":"MAL-2026-17436"}],"products":null,"published":"2026-09-30","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"OpenSSF Malicious Packages","prefix":"MAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/MAL-2026-17436/"}