{"id":"MAL-2025-191741","summary":"Malicious code in google-cloud-iam-credentials (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e75faf49c379401db38883bfb490edbc74161e0d52d38f6aac38f6166645133a)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2025-12-03T00:23:40.277327Z","published":"2025-11-12T16:06:32Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:56.067365934Z","modified_time":"2025-11-12T16:06:32.614081Z","id":"pypi/GENERIC-standard-pypi-install-pentest/google-cloud-iam-credentials","sha256":"de5f95016da2e51c73a1ff26263e142db96d39065d415b0285f966535e0d665d","versions":["2.20.0"],"source":"kam193"},{"import_time":"2025-12-02T23:07:19.257907698Z","modified_time":"2025-11-12T16:06:32.614081Z","id":"pypi/GENERIC-standard-pypi-install-pentest/google-cloud-iam-credentials","sha256":"e75faf49c379401db38883bfb490edbc74161e0d52d38f6aac38f6166645133a","versions":["2.20.0"],"source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/google-cloud-iam-credentials"}],"affected":[{"package":{"name":"google-cloud-iam-credentials","ecosystem":"PyPI","purl":"pkg:pypi/google-cloud-iam-credentials"},"versions":["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"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}