google-cloud-iam-credentials (PyPI) · Malicious Code
Affects google-cloud-iam-credentialsSource GCVE Database
Malicious package : remove google-cloud-iam-credentials and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:54 UTC
Malicious package
Published to PyPI · OSV MAL-2025-191741
What to do
Remove google-cloud-iam-credentials from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIgoogle-cloud-iam-credentials | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The google-cloud-iam-credentials package version 2.20.0 on PyPI contains malicious code that exfiltrates basic host information such as IP address and username upon installation or import. The package overrides the standard install command to execute this malicious behavior. It appears to be a low-harm risk, likely related to pentesting or research activities, with no known exploits in the wild.