pypi · Malicious package advisory
Malwarechatgpt4
GHSA-3jvh-3ccg-m787
Malicious code in chatgpt4 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1` ## Source: kam193 (6a2f99d20569358bdeab51db7e4f6ea0348c87bbf832a7bc244581a472a05072) Importing the module starts shell code execution --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-06-chatgpt4 Reasons (based on the campaign): - impersonation - shellcode - malware --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/chatgpt4/MAL-2025-6477.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/chatgpt4 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/chatgpt4/MAL-2025-6477.json - https://www.virustotal.com/gui/file/8184b83b66956a896cd2de44d7ee4ae0b053157725b0214d835ef19013063d60 - https://github.com/advisories/GHSA-3jvh-3ccg-m787
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.