MAL-2026-17436 Malicious code in okra-cloud-cdk (npm)

Malicious package Published
Package
okra-cloud-cdk
Registry
npm

What is MAL-2026-17436?

MAL-2026-17436 is a malicious package in okra-cloud-cdk, published on 30 Sep 2026.

Official 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.

[email protected] 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.

What should I do about MAL-2026-17436?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-17436 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free