MAL-2026-10922 Malicious code in lambda-cloudwatch-cdk (npm)
- Package
- lambda-cloudwatch-cdk
- Registry
- npm
What is MAL-2026-10922?
MAL-2026-10922 is a malicious package in lambda-cloudwatch-cdk, published on 20 Jul 2026.
Official description
The package's preinstall script (npm install @sentry/node && node examples/verify.js) executes on npm install and initializes Sentry with a hardcoded author-owned DSN https://30ac1f6d2b8675e25a1314b7829c30c2@o4510485815754752.ingest.us.sentry.io/4511632673275909. The verify.js script resolves the installer's public egress IP via Cloudflare's /cdn-cgi/trace, attaches it to the Sentry scope as user context, then deliberately triggers and captures an exception, flushing the event to the author's Sentry project. The installer neither configured nor consented to this destination. The package name and description (lambda-cloudwatch-cdk, an AWS CDK/Lambda/CloudWatch utility) do not match the actual code (a generic @sentry/node wrapper with a hardcoded DSN), matching a typosquat-shaped deception pattern.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
What should I do about MAL-2026-10922?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-m74r-g438-3r92.