pypi · Malicious package advisory
Malwarelanggrap
GHSA-crjm-2g45-pq97
Malicious code in langgrap (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.2.45` ## Source: kam193 (80943fa86afe1c0cd0b657339f2125c48de0ca3cf9848b895e2e60ea744b1db9) Typosquatting package planting a malicious PTH file that during loading Python downloads the next stage. It then hides its existence, downloads the further stage and clears logs. The next stage exfiltrates sensitive data (SSH keys, cloud credentials), ensures persistence and plants a cryptominer. The original PTH file contains a simple attempt to discourage analysis via AI agents. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-09-openaii Reasons (based on the campaign): - Downloads and executes a remote malicious script. - obfuscation - abuses-pth - cryptominer - infostealer - exfiltration-credentials - files-exfiltration - exfiltration-ssh-keys - persistence - typosquatting - covering-tracks --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6f29f66e2810d13aefdb7c0fc2ebd05b265745da/osv/malicious/pypi/langgrap/MAL-2026-16133.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/langgrap - https://github.com/ossf/malicious-packages/blob/6f29f66e2810d13aefdb7c0fc2ebd05b265745da/osv/malicious/pypi/langgrap/MAL-2026-16133.json - https://github.com/advisories/GHSA-crjm-2g45-pq97
Compromised versions (1)
- = 0.2.45
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.