pypi · Malicious package advisory
Malwarejavascan
GHSA-cmw2-6phf-7qxh
Malicious code in javascan (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1` ## Source: kam193 (3b87a6ab9caea125ba4a71189d6a1740668e44d637f7e7c2d4f85daaf4f54ed0) During installation, a code is downloaded and executed. This remote script then attempts to exfiltrate environmental variables, SSH keys, Slack secrets etc. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-01-javascan Reasons (based on the campaign): - Downloads and executes a remote malicious script. - files-exfiltration - exfiltration-ssh-keys - dependency-confusion - exfiltration-env-variables --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/javascan/MAL-2025-1978.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/javascan - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/javascan/MAL-2025-1978.json - https://github.com/advisories/GHSA-cmw2-6phf-7qxh
Compromised versions (1)
- = 0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.