# PYSEC-2022-199 - The ctx hosted project on PyPI was taken over via user account compromise and replaced with a…

Source: https://junglewise.ai/threats/pysec-2022-199-the-ctx-hosted-project-on-pypi-was-taken-over-via-user-62919226  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-05-24

The ctx hosted project on PyPI was taken over via user account compromise and replaced with a malicious project which contained runtime code which collected the content of os.environ.items() when instantiating Ctx objects.

Technologies: [ctx (PyPI)](https://junglewise.ai/threats/technologies/ctx). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 24 May 2022.

**Which products and versions are affected?** ctx (PyPI) ECOSYSTEM:introduced=0.1.2-1.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected?** Check whether you run ctx (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- ctx (PyPI) ECOSYSTEM:introduced=0.1.2-1

## Related threats

- [Embedded Malicious Code in ctx](https://junglewise.ai/threats/embedded-malicious-code-in-ctx-44566845)
- [Malware in ctx](https://junglewise.ai/threats/malware-in-ctx-502139bc)
