Malicious code in dlab_workshop (npm)
The npm package 'dlab_workshop' versions 1.0.1 through 1.0.7 contains malicious code that exfiltrates sensitive user data. It reads secret files such as SSH keys, AWS credentials, and environment configuration files from the user's home directory and working directory. The collected data is base64-encoded and sent to a hardcoded external domain associated with malicious activity. This behavior is triggered automatically during package installation and when the package is required, with no legitimate functionality present.
AI Analysis
Technical Summary
The 'dlab_workshop' npm package (versions 1.0.1 to 1.0.7) includes malicious code in its index.js file that reads sensitive files from the user's home directory (~/.ssh/id_rsa, ~/.aws/credentials, .env files, etc.) and environment variables containing keywords like API, KEY, SECRET, TOKEN, PASS, AWS, GITHUB, SLACK, WEBHOOK, AUTH, CERT, PRIVATE. It then base64-encodes this data and exfiltrates it via HTTP POST requests to a hardcoded Burp Collaborator subdomain (oastify.com). The malicious payload is executed automatically through preinstall and postinstall npm lifecycle hooks and also when the package is required, indicating no legitimate functionality. The OpenSSF Package Analysis project flagged this package as malicious due to its communication with a domain linked to malicious activity.
Potential Impact
Sensitive user secrets and credentials stored locally or in environment variables can be stolen by this package, potentially leading to unauthorized access to user systems, cloud accounts, and other services. The exfiltration of private keys and tokens poses a significant risk of credential compromise and further attacks. There is no indication of active exploitation in the wild yet.
Mitigation Recommendations
Users should immediately remove the 'dlab_workshop' package versions 1.0.1 through 1.0.7 from their projects and systems. Avoid installing or requiring this package. Since no patch or fix is available, do not use this package until a trusted, clean version is released. Review systems for potential credential exposure and rotate any secrets that may have been compromised. Monitor for suspicious network activity related to the exfiltration domain.
Malicious code in dlab_workshop (npm)
Description
The npm package 'dlab_workshop' versions 1.0.1 through 1.0.7 contains malicious code that exfiltrates sensitive user data. It reads secret files such as SSH keys, AWS credentials, and environment configuration files from the user's home directory and working directory. The collected data is base64-encoded and sent to a hardcoded external domain associated with malicious activity. This behavior is triggered automatically during package installation and when the package is required, with no legitimate functionality present.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'dlab_workshop' npm package (versions 1.0.1 to 1.0.7) includes malicious code in its index.js file that reads sensitive files from the user's home directory (~/.ssh/id_rsa, ~/.aws/credentials, .env files, etc.) and environment variables containing keywords like API, KEY, SECRET, TOKEN, PASS, AWS, GITHUB, SLACK, WEBHOOK, AUTH, CERT, PRIVATE. It then base64-encodes this data and exfiltrates it via HTTP POST requests to a hardcoded Burp Collaborator subdomain (oastify.com). The malicious payload is executed automatically through preinstall and postinstall npm lifecycle hooks and also when the package is required, indicating no legitimate functionality. The OpenSSF Package Analysis project flagged this package as malicious due to its communication with a domain linked to malicious activity.
Potential Impact
Sensitive user secrets and credentials stored locally or in environment variables can be stolen by this package, potentially leading to unauthorized access to user systems, cloud accounts, and other services. The exfiltration of private keys and tokens poses a significant risk of credential compromise and further attacks. There is no indication of active exploitation in the wild yet.
Mitigation Recommendations
Users should immediately remove the 'dlab_workshop' package versions 1.0.1 through 1.0.7 from their projects and systems. Avoid installing or requiring this package. Since no patch or fix is available, do not use this package until a trusted, clean version is released. Review systems for potential credential exposure and rotate any secrets that may have been compromised. Monitor for suspicious network activity related to the exfiltration domain.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13277
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a73851abf8831d5394ef01e
Added to database: 08/05/2026, 18:46:50 UTC
Last enriched: 08/05/2026, 23:33:55 UTC
Last updated: 09/07/2026, 21:59:00 UTC
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.