pypi · Malicious package advisory
Malwareollamaa
GHSA-9gv4-vfjg-jjrm
Malicious code in ollamaa (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.4.2` ## Source: kam193 (bdddd369c97996ed3c886729053c3f8189bf96bc22914f2c61c901b3e96073fc) 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/ollamaa/MAL-2026-16134.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/ollamaa - https://github.com/ossf/malicious-packages/blob/6f29f66e2810d13aefdb7c0fc2ebd05b265745da/osv/malicious/pypi/ollamaa/MAL-2026-16134.json - https://github.com/advisories/GHSA-9gv4-vfjg-jjrm
Compromised versions (1)
- = 0.4.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.