MAL-2026-13688

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@kuperka/chainguard-sdk/MAL-2026-13688.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13688
Published
2026-08-10T12:24:28Z
Modified
2026-08-10T13:05:03.684125938Z
Summary
Malicious code in @kuperka/chainguard-sdk (npm)
Details

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

Source: amazon-inspector (2b799ca087f4396cb295cd53012a92d10dea0c763a41c8b85e94437108ea24e4)

Package @kuperka/chainguard-sdk@1.0.2 exposes a single payload, window.VEIL.init(), that on load harvests document.cookie, every localStorage/sessionStorage entry, all form input values, meta CSRF/auth tokens, and Web3 wallet identifiers (window.ethereum, window.solana), base64-encodes the blob, and transmits it to the hardcoded endpoint https://webhook.site/b9155136-5f6d-4084-b19e-33c694a44616 via both Image().src GET and fetch POST. It additionally scans document.documentElement.outerHTML with credential-shaped regexes for Stripe live keys (sklive*), AWS access keys (AKIA*), GitHub personal access tokens (ghp_*), JWTs, and OpenAI keys (sk-*), including any matches in the exfil payload. A capturing keydown listener buffers keystrokes typed into any INPUT/TEXTAREA/SELECT along with field context (name/id/placeholder) and periodically posts them to the same endpoint. window.fetch is monkey-patched to record every outbound URL, method, Authorization header, and up to 2000 bytes of request body, forwarding captured bearer tokens and request bodies to the same webhook. After exfiltration the code renders a full-viewport overlay branded 'ChainGuard SECURITY & SIMULATION ENGINE' displaying scripted 'Initializing/Fetching/Simulating/Sandbox emulation complete' log lines and a hardcoded 'Overall Risk Score: 0 / No Threats Detected' result, concealing the theft from the user. The package name and 'chainguard' branding impersonate a legitimate security tool.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017256",
            "import_time": "2026-08-10T12:24:47.219865744Z",
            "sha256": "79f96fa33caf2cfd9404a8c2ae5dff1c4c781a9460aca9d9060752051f0c1d6e",
            "versions": [
                "1.0.1"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-10T12:24:28Z"
        },
        {
            "id": "IN-MAL-2026-017257",
            "import_time": "2026-08-10T12:51:44.580354332Z",
            "sha256": "2b799ca087f4396cb295cd53012a92d10dea0c763a41c8b85e94437108ea24e4",
            "versions": [
                "1.0.2"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-10T12:24:40Z"
        }
    ]
}
References
Credits

Affected packages

npm / @kuperka/chainguard-sdk

Package

Name
@kuperka/chainguard-sdk
View open source insights on deps.dev
Purl
pkg:npm/%40kuperka/chainguard-sdk

Affected ranges

Affected versions

1.*
1.0.1
1.0.2

Database specific

cwes
[
    {
        "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",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "app.js",
            "tlsh": "56222925f52010316933b27eab76a6cdf6338127481682987dacb4a16ff0d510a35eec",
            "sha256": "dfe5cd738672bd5cf4cd006ee5fe9a1db47fc356186ebb0e445af4c57527114f"
        }
    ],
    "package_integrity": [
        {
            "filename": "chainguard-sdk-1.0.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-dpxwrB2gAL+kq2oS2FNVKvNubBnLVa7ucHBewSPizk7OkHqwqNIGKoTrUUW0+tU/y3J2/z9Z3npDSnNIdxJkJg==",
                "sha1": "dfaeeded887da325dd7b83e52a0bb1f028b3bc9a"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@kuperka/chainguard-sdk/MAL-2026-13688.json"