MAL-2026-13277

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dlab_workshop/MAL-2026-13277.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13277
Published
2026-08-05T15:40:21Z
Modified
2026-08-05T18:19:49.973838718Z
Summary
Malicious code in dlab_workshop (npm)
Details

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

Source: amazon-inspector (452b525d6d3fc409e081d5f8a6f052c7b3b9899d1f088a24d93e4be4de65c9cf)

The package's index.js reads installer-owned secret files from the home directory (~/.ssh/idrsa, ~/.ssh/ided25519, ~/.ssh/config, ~/.aws/credentials, ~/.npmrc, ~/.gitconfig,.env variants, secrets.json, credentials.json), enumerates process.env for keys matching sensitive keywords (API, KEY, SECRET, TOKEN, PASS, AWS, GITHUB, SLACK, WEBHOOK, AUTH, CERT, PRIVATE), and walks the working directory for.env/.js/.json config, secret, key, and credential files. The collected data is base64-encoded and POSTed to a hardcoded Burp Collaborator (oastify.com) subdomain along with os.hostname() and os.userInfo() identifiers. package.json wires this payload to run automatically via both preinstall and postinstall lifecycle hooks ("node index.js"), and index.js also invokes executePayload() at top level so require() triggers the same behavior. No legitimate functionality is present.

Source: ossf-package-analysis (99169ee1ec0063106ed3fca297363e799a07a85ec07190e20fd86a9ba3339ce6)

The OpenSSF Package Analysis project identified 'dlab_workshop' @ 1.0.7 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T15:59:01Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015816",
            "import_time": "2026-08-05T16:13:49.28817664Z",
            "sha256": "452b525d6d3fc409e081d5f8a6f052c7b3b9899d1f088a24d93e4be4de65c9cf",
            "versions": [
                "1.0.4"
            ]
        },
        {
            "modified_time": "2026-08-05T15:58:45Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015814",
            "import_time": "2026-08-05T16:13:49.122715198Z",
            "sha256": "b0ffd1e8170d86897e63b8bbbf0da239e1e37fe36aa82a9c1efc2ee79d17c0de",
            "versions": [
                "1.0.6"
            ]
        },
        {
            "modified_time": "2026-08-05T15:40:21Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015788",
            "import_time": "2026-08-05T16:13:45.332155715Z",
            "sha256": "e001fc59e095a26202d9bfc718d60d92129c08ec6631a2fc6808833b7a3f12ac",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "modified_time": "2026-08-05T15:59:11Z",
            "source": "amazon-inspector",
            "sha256": "e702756ab36351254766d24fcdf0fbd44c6e2c5cdef64fff7f52803d3152d7a8",
            "import_time": "2026-08-05T16:13:49.352888613Z",
            "id": "IN-MAL-2026-015817",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "modified_time": "2026-08-05T15:58:53Z",
            "source": "amazon-inspector",
            "sha256": "52166d275f134507a38c6e02df1f419e26546e17949881197ac857b8ad249b56",
            "import_time": "2026-08-05T16:13:49.18837822Z",
            "id": "IN-MAL-2026-015815",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "modified_time": "2026-08-05T15:40:28Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015789",
            "import_time": "2026-08-05T16:13:45.40193765Z",
            "sha256": "563a21c97425757ea7a1b46024bc73b64da9aca55fe24e0c441c7337e31dcd69",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "modified_time": "2026-08-05T15:58:37Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015813",
            "import_time": "2026-08-05T16:13:48.807215794Z",
            "sha256": "8f5924c4a33a3c26baf58d31eff4233249d3b7746d6d621e54524e6fbb98dd14",
            "versions": [
                "1.0.7"
            ]
        },
        {
            "source": "ossf-package-analysis",
            "modified_time": "2026-08-05T16:15:45Z",
            "sha256": "99169ee1ec0063106ed3fca297363e799a07a85ec07190e20fd86a9ba3339ce6",
            "import_time": "2026-08-05T17:04:47.150731367Z",
            "versions": [
                "1.0.7"
            ]
        },
        {
            "modified_time": "2026-08-05T17:25:23Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015832",
            "import_time": "2026-08-05T18:07:50.549155726Z",
            "sha256": "82cbfd268ae12212e1c6687b783f1706581fe6998b6c69531c2e116db9137590",
            "versions": [
                "1.0.8"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / dlab_workshop

Package

Affected ranges

Affected versions

1.*
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "dlab_workshop-1.0.4.tgz",
            "hashes": {
                "sha512_sri": "sha512-ilL+ak0PCAWE5UqyaLtk28bLnxqOjT5n2qGvDZ4nBOhz7FiZYcJPAuIHzxgnse6M1m+oRnfW+J40lKXbFwGMxg==",
                "sha1": "12f70b458e8e1c5804ff8e9816b261a5250f596a"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "4af1639254fe1661506361869b4b5016771af9133f08fa98baec43696fc892ce0b37fc",
            "sha256": "aa3f6503c69d5dff4edc9f52cbdc46c5a653d8e987c59e27044ca00688c3d16c",
            "path": "index.js"
        },
        {
            "tlsh": "f7d05b744c315d3334d01e954a7f654965a14e2b0518784c6797152cd7de67784ff30d",
            "sha256": "14d36339cb90aad330bf5f0e70309aeb09bc04e734468a5f55ab7a73b01d172b",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dlab_workshop/MAL-2026-13277.json"
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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    }
]