dlab_workshop@1.0.3
Malicious code in dlab_workshop (npm)
T1059.007 · JavaScriptT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1041 · Exfiltration Over C2 Channel
Analysis
The package runs a malicious script in both its preinstall and postinstall hooks. The script collects the installer's full environment variables (including any npm/GitHub/cloud tokens), current working directory, OS user information, and process arguments, then POSTs them as JSON to the attacker-controlled endpoint hxxps://9eojg3y52itd6161v4lhojajrax1lw9l[.]oastify[.]com. The package itself ships no functional code (its exported function is a no-op), so its only purpose is harvesting the installer's credentials and environment at install time.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 03:30 PM
- analyzed
- Aug 5, 2026, 03:32 PM
Related advisories
- @lizhao1/memorax-code-internal@0.1.2
- @zahlen/checkout-react@0.1.1
- foodi@99.99.1
- streak-calc-math@1.0.0
- streak-math-calc@1.0.0
- ethers-lib@1.0.3
- bip32-js@1.0.2
- hwi-lib@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.