pypi · Malicious package advisory
Malwareagent-user-generate
GHSA-28w5-cpf5-v7x3
Malicious code in agent-user-generate (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.6.7` ## Source: kam193 (514af1dfd929068fabc7527812b99ec6a287c3601d7cf4ed1d29c55e74339fac) Inside the library there is a part running code hidden in the attached image, which then exfiltrate user-provided data, downloads and install next stage code, exfiltrate TXT files and finally installs infostealers - Lumma and a custom one. Arround L110 --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-10-fake-usreagent Reasons (based on the campaign): - infostealer - files-exfiltration - clipboard-stealing - obfuscation - clones-real-package - action-hidden-in-lib-usage --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/752e8a991f186423e3415980200bebfec22d1070/osv/malicious/pypi/agent-user-generate/MAL-2024-11517.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/agent-user-generate - https://github.com/ossf/malicious-packages/blob/752e8a991f186423e3415980200bebfec22d1070/osv/malicious/pypi/agent-user-generate/MAL-2024-11517.json - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/agent-user-generate/MAL-2024-11517.json - https://github.com/advisories/GHSA-28w5-cpf5-v7x3
Compromised versions (1)
- = 1.6.7
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.