Malicious code in bloomcredit-python
OpenSSF/OSV advisory MAL-2026-20650 for a malicious PyPI package release.
EXECUTIVE SUMMARY & OBSERVED BEHAVIOR
Malicious code in bloomcredit-python (PyPI)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose. - 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.
SOURCE CLASSIFICATIONSource: kam193Category: Probably Pentest
AFFECTED PACKAGE & VERSIONS
| PACKAGE | ECOSYSTEM | INTRODUCED | FIXED / LAST AFFECTED |
|---|---|---|---|
bloomcredit-python | PyPI | 0.1.0 | 0.1.0 |
bloomcredit-python | PyPI | 99.1.0 | 99.1.0 |
bloomcredit-python | PyPI | 99.2.0 | 99.2.0 |
bloomcredit-python | PyPI | 99.3.0 | 99.3.0 |
IMMEDIATE CONTAINMENT & REMEDIATION
- Uninstall the package with `pip uninstall -y bloomcredit-python` and purge the wheel cache (`pip cache purge`).
- Rebuild the virtualenv from hash-pinned requirements so the malicious wheel cannot be re-resolved.
- Run `pip-audit` (or `pip check`) after the rebuild to confirm the environment is clean.
- Treat any process that loaded this package under the malicious versions as compromised and isolate it.
- Rotate every credential, token and publishing secret that was reachable from the build or runtime environment.
- Audit outbound network telemetry for the period the package was installed.
OFFICIAL SOURCE PROVENANCE
Stay ahead of verified threats.
Curated CVE advisories, threat actor dossiers, and live KQL/SPL hunting updates — delivered cleanly to your inbox. Zero spam.
This is a published advisory, not a sandbox detonation. No package is downloaded or executed by ZAYRON-X.