pypi · Malicious package advisory
Malwareflask-tdg-cyber
GHSA-7fqm-7m94-pw9q
Malicious code in flask-tdg-cyber (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.7` ## Source: kam193 (ec9e25f8f416bf20ca51977e1d4e001cf398d79dee777ff3b12b04cab6345292) Package is prepared for exfiltration of detailed data about the running system. The exact behaviour depends on the version: some does nothing, some exfiltrate information, some have embeded malware. The package does not run malicious functions automatically. Obfuscated URL suggest it may be part of some targetted activity --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-08-flask-tdg-cyber Reasons (based on the campaign): - exfiltration-generic - exfiltration-env-variables - obfuscation - malware --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/flask-tdg-cyber/MAL-2025-41675.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/flask-tdg-cyber - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/flask-tdg-cyber/MAL-2025-41675.json - https://github.com/advisories/GHSA-7fqm-7m94-pw9q
Compromised versions (1)
- = 0.0.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.