# GHSA-94W6-HR49-QJM7: Malicious code in py-venv-doctor (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-19
- Modified: 2026-09-21

## Affected versions

- py-venv-doctor (PyPI): 0.1.0
- py-venv-doctor (PyPI): 0.1.1

## Description

## Source: kam193 (f98f9dd8cd5b70474786eb054bccf9de05d98face434e0a814123e51c090f364)
During installation and after generating a healthcheck report, package sends opt-out telemetry. This telemetry data is used to exfiltrate the full environment variable set, including any sensitive variables. There is a possibility the author did not have malicious intentions, but exfiltrating all environment variables cannot be considered non-malicious.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-09-py-venv-doctor


Reasons (based on the campaign):


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - exfiltration-env-variables


 - action-hidden-in-lib-usage

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/479b257906c0639ca322d7e753c3f106306eb16d/osv/malicious/pypi/py-venv-doctor/MAL-2026-16296.json))

## References

- https://bad-packages.kam193.eu/pypi/package/py-venv-doctor
- https://github.com/ossf/malicious-packages/blob/479b257906c0639ca322d7e753c3f106306eb16d/osv/malicious/pypi/py-venv-doctor/MAL-2026-16296.json
- https://github.com/ossf/malicious-packages/blob/af486be301974b4c4068b1c7baa77731f37fa05e/osv/malicious/pypi/py-venv-doctor/MAL-2026-16296.json
- https://pypi.org/project/py-venv-doctor/0.1.0
- https://github.com/advisories/GHSA-94w6-hr49-qjm7

Page: https://cve.now/GHSA-94W6-HR49-QJM7

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
