Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-4255 — cdk-sagemaker-notebook-workflow

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in cdk-sagemaker-notebook-workflow (npm)

Source: amazon-inspector

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.

Source: ossf-package-analysis

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.

Affected software

MAL-2026-4255 is recorded against 1 package.

  • cdk-sagemaker-notebook-workflow

Timeline and source

Published on 22 May 2026 and last revised on 26 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-05-22
Updated 2026-08-20
Modified 2026-05-26
Fix URL N/A

Affected Packages

Software From version Fixed in
cdk-sagemaker-notebook-workflow — —

Free Vulnerability Check

Is your site affected by MAL-2026-4255?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-4255 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026
✓