Confirmed malicious. Do not install it, and remove it where it has been installed.
Do not install this package
CRITICALanalyst verified
Environment variable exfiltration, part of the ctx-phpass-2022 campaign, verified by a CyberXYZ analyst.
// what we observed
Compromised dormant PyPI package. Exfiltrated AWS_ACCESS_KEY, AWS_SECRET_KEY, and os.environ via HTTP POST to herokuapp attacker server. May 2022.
year
2022
mitre ttp
T1041
// versions and what to do
Malicious
0.1.2
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.
No published models are known to use this package.
cvss
9.0
critical
severity band, no base score published
epss
not scored
chance of exploitation in 30 days
xyz score
4.0
medium
CyberXYZ composite out of 10
fig. 01 — GHSA-67r3-h899-9w95, the advisory selected below
// 2 advisories
GHSA-67r3-h899-9w95
CRITICALGitHub rating
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.
Checked 2026-11-07 at 23:12 UTC. The most recent advisory here was published 2022-06-02. Updated continuously from NVD, GHSA, OSV and CNA feeds.