Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

cdk-sagemaker-notebook-workflownpm

Malicious code in cdk-sagemaker-notebook-workflow (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-4255
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall cdk-sagemaker-notebook-workflow

What this malware does

The package declares a preinstall hook (node index.js) in package.json that fires automatically on npm install. The script collects os.hostname(), os.userInfo().username, os.platform(), current working directory, home directory, the contents of /etc/passwd (fs.readFileSync('/etc/passwd', 'utf8')), and the first 30 entries of process.env (Object.entries(process.env).slice(0, 30)), then POSTs the JSON payload to https://3nrgzlqwix6erldow0s0kttsojuai36s.oastify.com/greengrass/<execId> — a Burp Collaborator-style OAST host. Bulk env-var enumeration on CI runners typically captures AWS_SECRET_ACCESS_KEY, GITHUB_TOKEN, NPM_TOKEN, and similar credentials. The package name impersonates the AWS CDK construct namespace (cdk-sagemaker-notebook-workflow) and the README contains the string Takeover By l0bo, confirming attacker intent. This is an unambiguous install-time credential and host-data exfiltrator with a typosquat lure on the AWS CDK ecosystem.

The OpenSSF Package Analysis project identified 'cdk-sagemaker-notebook-workflow' @ 2.0.5 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

6 flagged
1.0.01.0.11.0.21.0.32.0.42.0.5

Indicators of compromise (SHA-256)

536cb79da290dd24ddd8ec1dd5fefbd6313bf5b622bbad6a9933fb3fb81bcb44
2f835f9a0447616b7070857544dcd2d34d3d287d213eb359769be5cc80daf3e8
0c452e5366df84fc79334f47faecad07d7cb21fdbcca62d5f5630ad13f6debb8
0d957bae73cd17cd27ed3b594cb5063797d8c18a9dda018887a32ff8e85a3617
2a051645ba8b7a584175d7063a7d4829e70025b9e2636ba6963e6ce9501cc452
b81bb9433f48fe99e6eb4536ed122730a0e04b662606555519076decfc8938f4
e6729c63b068cdba53c2f09a9f38f7020fefc8bb3c0fa820307feb4e8445fd9d
04cfadbc867fc5da65c0084089a8c21982b7b086d0798c0c86d30b1cb22c2bb9
6cc9c1db01ca14b294be21438478ec14dc6549a4b7b9ec5cf73dd7aa227f7ad8
c5dbd0c88e9755ed081f0b8c96bc09e0e380eea1394b1fb3e61050ff1d67552e
ff7c0a5d540e5ff3b2798858685b3bb07b0e24c9faccccd526d9331d71ad08f7

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for cdk-sagemaker-notebook-workflow (6 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging cdk-sagemaker-notebook-workflow across your stack and pipelines.

  2. If you installed it — respond

    cdk-sagemaker-notebook-workflow is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If cdk-sagemaker-notebook-workflow was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks cdk-sagemaker-notebook-workflow before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. cdk-sagemaker-notebook-workflow on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 2.0.4, 2.0.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-004197IN-MAL-2026-004201IN-MAL-2026-004504IN-MAL-2026-004503IN-MAL-2026-004204IN-MAL-2026-004501IN-MAL-2026-004196IN-MAL-2026-004225IN-MAL-2026-004502

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks cdk-sagemaker-notebook-workflow-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

cdk-sagemaker-notebook-workflow (npm) malicious package — MAL-2026-4255 | O3 Security