MAL-2026-13277Malicious code in dlab_workshop (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | dlab_workshop | 1.0.1 |
| npm | dlab_workshop | 1.0.2 |
| npm | dlab_workshop | 1.0.3 |
| npm | dlab_workshop | 1.0.4 |
| npm | dlab_workshop | 1.0.5 |
| npm | dlab_workshop | 1.0.6 |
| npm | dlab_workshop | 1.0.7 |
| npm | dlab_workshop | 1.0.8 |
{"schema_version":"1.7.4","id":"MAL-2026-13277","published":"2026-08-05T15:40:21Z","modified":"2026-08-05T18:10:44.545072671Z","summary":"Malicious code in dlab_workshop (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (452b525d6d3fc409e081d5f8a6f052c7b3b9899d1f088a24d93e4be4de65c9cf)\nThe package's index.js reads installer-owned secret files from the home directory (~/.ssh/id_rsa, ~/.ssh/id_ed25519, ~/.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.\n\n## Source: ossf-package-analysis (99169ee1ec0063106ed3fca297363e799a07a85ec07190e20fd86a9ba3339ce6)\nThe OpenSSF Package Analysis project identified 'dlab_workshop' @ 1.0.7 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"name":"dlab_workshop","ecosystem":"npm"},"versions":["1.0.4","1.0.6","1.0.2","1.0.5","1.0.3","1.0.1","1.0.7","1.0.8"],"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"},{"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"},{"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":"index.js","sha256":"aa3f6503c69d5dff4edc9f52cbdc46c5a653d8e987c59e27044ca00688c3d16c","tlsh":"4af1639254fe1661506361869b4b5016771af9133f08fa98baec43696fc892ce0b37fc"},{"path":"package.json","sha256":"14d36339cb90aad330bf5f0e70309aeb09bc04e734468a5f55ab7a73b01d172b","tlsh":"f7d05b744c315d3334d01e954a7f654965a14e2b0518784c6797152cd7de67784ff30d"}],"package_integrity":[{"filename":"dlab_workshop-1.0.4.tgz","hashes":{"sha1":"12f70b458e8e1c5804ff8e9816b261a5250f596a","sha512_sri":"sha512-ilL+ak0PCAWE5UqyaLtk28bLnxqOjT5n2qGvDZ4nBOhz7FiZYcJPAuIHzxgnse6M1m+oRnfW+J40lKXbFwGMxg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dlab_workshop/v/1.0.8"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015816","import_time":"2026-08-05T16:13:49.28817664Z","modified_time":"2026-08-05T15:59:01Z","sha256":"452b525d6d3fc409e081d5f8a6f052c7b3b9899d1f088a24d93e4be4de65c9cf","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-015814","import_time":"2026-08-05T16:13:49.122715198Z","modified_time":"2026-08-05T15:58:45Z","sha256":"b0ffd1e8170d86897e63b8bbbf0da239e1e37fe36aa82a9c1efc2ee79d17c0de","source":"amazon-inspector","versions":["1.0.6"]},{"id":"IN-MAL-2026-015788","import_time":"2026-08-05T16:13:45.332155715Z","modified_time":"2026-08-05T15:40:21Z","sha256":"e001fc59e095a26202d9bfc718d60d92129c08ec6631a2fc6808833b7a3f12ac","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-015817","import_time":"2026-08-05T16:13:49.352888613Z","modified_time":"2026-08-05T15:59:11Z","sha256":"e702756ab36351254766d24fcdf0fbd44c6e2c5cdef64fff7f52803d3152d7a8","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-015815","import_time":"2026-08-05T16:13:49.18837822Z","modified_time":"2026-08-05T15:58:53Z","sha256":"52166d275f134507a38c6e02df1f419e26546e17949881197ac857b8ad249b56","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-015789","import_time":"2026-08-05T16:13:45.40193765Z","modified_time":"2026-08-05T15:40:28Z","sha256":"563a21c97425757ea7a1b46024bc73b64da9aca55fe24e0c441c7337e31dcd69","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-015813","import_time":"2026-08-05T16:13:48.807215794Z","modified_time":"2026-08-05T15:58:37Z","sha256":"8f5924c4a33a3c26baf58d31eff4233249d3b7746d6d621e54524e6fbb98dd14","source":"amazon-inspector","versions":["1.0.7"]},{"import_time":"2026-08-05T17:04:47.150731367Z","modified_time":"2026-08-05T16:15:45Z","sha256":"99169ee1ec0063106ed3fca297363e799a07a85ec07190e20fd86a9ba3339ce6","source":"ossf-package-analysis","versions":["1.0.7"]},{"id":"IN-MAL-2026-015832","import_time":"2026-08-05T18:07:50.549155726Z","modified_time":"2026-08-05T17:25:23Z","sha256":"82cbfd268ae12212e1c6687b783f1706581fe6998b6c69531c2e116db9137590","source":"amazon-inspector","versions":["1.0.8"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0