pypi · Malicious package advisory
Malwaredjangoframework-test
GHSA-643j-9vg8-m27c
Malicious code in djangoframework-test (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 3.3.3` ## Source: kam193 (fe24a0d1142970bffbb9b8eba926e7153c78c87083aa7e374c146d9e1608aec4) Importing the module exfiltrates basic information using DNS queries. There is no other purpose of the package. --- Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities. Campaign: 2025-01-just-framework Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - dependency-confusion --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/djangoframework-test/MAL-2025-191720.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/djangoframework-test - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/djangoframework-test/MAL-2025-191720.json - https://github.com/advisories/GHSA-643j-9vg8-m27c
Compromised versions (1)
- = 3.3.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.