MAL-2026-10920

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

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

Source: amazon-inspector (27e7f2cab2ae9d15c37e236190c685c42b7d3a0ecf92b7b72e9ad00b936ff186)

Package name suggests an AWS CDK construct for ALB/Lambda but the shipped code is a thin @sentry/node wrapper. The npm preinstall script runs npm install @sentry/node && node examples/verify.js. examples/verify.js calls init() without a DSN (defaulting to a hardcoded author-owned DSN at o4510485815754752.ingest.us.sentry.io/4511632673275909), invokes setUserFromPublicIp() to fetch the installer's public IP from Cloudflare's trace endpoint and attach it as the Sentry user's ip_address, throws a scripted error to force event capture, and awaits flush(5000) so the event is delivered before install completes. src/index.js hardcodes the same DEFAULT_DSN and forces sendDefaultPii:true, so any consumer that calls the library's init() without an explicit DSN also routes their captured exceptions, user IPs, and Sentry-default host/runtime PII to the same author-controlled Sentry project. README contains only install instructions and does not disclose the beacon or the hardcoded DSN. The install-time behavior fires automatically on npm install with no opt-in, and the name divergence from a legitimate AWS CDK construct is consistent with a typosquat lure.

Source: ghsa-malware (18b4d2c02af6232b1a73b084148490b5d46143eb883aa076d55a386e62839b3f)

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": [
        {
            "id": "GHSA-crmc-3m53-3crf",
            "import_time": "2026-07-20T17:55:48.438046263Z",
            "modified_time": "2026-07-20T17:03:57Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "18b4d2c02af6232b1a73b084148490b5d46143eb883aa076d55a386e62839b3f",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-011317",
            "import_time": "2026-08-04T22:30:10.687652449Z",
            "modified_time": "2026-08-04T22:04:03Z",
            "sha256": "27e7f2cab2ae9d15c37e236190c685c42b7d3a0ecf92b7b72e9ad00b936ff186",
            "source": "amazon-inspector",
            "versions": [
                "18.2.22"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / alb-lambda-cdk

Package

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

Affected ranges

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

Affected versions

18.*
18.2.22

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "d8135e1d1206a1e7cdcd63d512c2da30bbc219ce5fe63f6f14d9080bb84f0184",
            "tlsh": "31f04410cd342f6305c4b3716d6a005a63608e5b42a43d0c3adb022e4b4836b14bf19d"
        },
        {
            "path": "src/index.js",
            "sha256": "0fa828cca44cec85fc425a0c9279af83800e7645feb89a9289a12fa63c9496cf",
            "tlsh": "3212969a74f6232301e250f0025f90d97365c67b3339a9e4715a8be91fd90b8d6b3ec9"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/alb-lambda-cdk/MAL-2026-10920.json"