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…
Full advisory text at GitHub advisory.
ctx is a confirmed malicious pypi package. CyberXYZ Proxy blocks it. It also has 2 known vulnerabilities, the worst rated CRITICAL.
Environment variable exfiltration, part of the ctx-phpass-2022 campaign, verified by a CyberXYZ analyst.
Compromised dormant PyPI package. Exfiltrated AWS_ACCESS_KEY, AWS_SECRET_KEY, and os.environ via HTTP POST to herokuapp attacker server. May 2022.
Remove it from every machine and lockfile it reached. Treat any credentials, tokens and SSH keys present on those machines as exposed and rotate them. Check CI runners and container images that installed it.
pip uninstall ctx
0 direct dependencies
none carry a known advisory
0 packages depend on it
an advisory here reaches each of them
No published models are known to use this package.
severity band, no base score published
chance of exploitation in 30 days
CyberXYZ composite out of 10
fig. 01 — GHSA-67r3-h899-9w95, the advisory selected below
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…
Full advisory text at GitHub advisory.
Confirmed malicious. Do not install it, and remove it where it has been installed.
Yes. CyberXYZ records 2 known vulnerabilities for ctx (pypi), the worst rated CRITICAL. They are GHSA-67r3-h899-9w95, GHSA-4g82-3jcr-q52w.
Search ctx in CyberXYZ Check at https://cyberxyz.io/check?q=ctx. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-25 at 11:14 UTC. The most recent advisory here was published 2022-06-02. Updated continuously from NVD, GHSA, OSV and CNA feeds.