MAL-2025-191741

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/google-cloud-iam-credentials/MAL-2025-191741.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191741
Published
2025-11-12T16:06:32Z
Modified
2025-12-03T00:23:40.277327Z
Summary
Malicious code in google-cloud-iam-credentials (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (e75faf49c379401db38883bfb490edbc74161e0d52d38f6aac38f6166645133a)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-standard-pypi-install-pentest

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

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

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/google-cloud-iam-credentials",
            "modified_time": "2025-11-12T16:06:32.614081Z",
            "sha256": "de5f95016da2e51c73a1ff26263e142db96d39065d415b0285f966535e0d665d",
            "versions": [
                "2.20.0"
            ],
            "import_time": "2025-12-02T22:30:56.067365934Z"
        },
        {
            "source": "kam193",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/google-cloud-iam-credentials",
            "modified_time": "2025-11-12T16:06:32.614081Z",
            "sha256": "e75faf49c379401db38883bfb490edbc74161e0d52d38f6aac38f6166645133a",
            "versions": [
                "2.20.0"
            ],
            "import_time": "2025-12-02T23:07:19.257907698Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / google-cloud-iam-credentials

Package

Name
google-cloud-iam-credentials
View open source insights on deps.dev
Purl
pkg:pypi/google-cloud-iam-credentials

Affected ranges

Affected versions

2.*
2.20.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/google-cloud-iam-credentials/MAL-2025-191741.json"