MAL-2026-10922

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lambda-cloudwatch-cdk/MAL-2026-10922.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10922
Aliases
  • GHSA-m74r-g438-3r92
Published
2026-07-20T17:03:57Z
Modified
2026-08-04T23:05:16.354762421Z
Summary
Malicious code in lambda-cloudwatch-cdk (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (9d62c2ab5388572a03d3c4f28ee268d562675a2ebbff48cf1375728f837365f4)

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.

Source: ghsa-malware (12706a5899ff9e1862dfc4ff260b38860415e8e68511e7e7f8d98bd5d6406e04)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "12706a5899ff9e1862dfc4ff260b38860415e8e68511e7e7f8d98bd5d6406e04",
            "id": "GHSA-m74r-g438-3r92",
            "modified_time": "2026-07-20T17:03:58Z",
            "import_time": "2026-07-20T17:55:48.459631697Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware"
        },
        {
            "sha256": "9d62c2ab5388572a03d3c4f28ee268d562675a2ebbff48cf1375728f837365f4",
            "id": "IN-MAL-2026-011281",
            "modified_time": "2026-08-04T21:58:41Z",
            "source": "amazon-inspector",
            "import_time": "2026-08-04T22:30:08.799256533Z",
            "versions": [
                "0.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / lambda-cloudwatch-cdk

Package

Name
lambda-cloudwatch-cdk
View open source insights on deps.dev
Purl
pkg:npm/lambda-cloudwatch-cdk

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "d9376b3edd157c565e1a040be094b3c00dd6f3936dc4a559ba3aa106189fa002",
            "path": "package.json",
            "tlsh": "0df04420cd342f6315c4f7715c6a0156a3a18e6b02a47e1d37cf862d4b8836b28bf19d"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lambda-cloudwatch-cdk/MAL-2026-10922.json"