Skip to content

MAL-2026-20650 Malicious code in bloomcredit-python (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: amazon-inspector (66961e6fe9d15e103d1efa4699089c05647e77505ffb745725d18e2d2474b778)

The top-level module bloomcredit/__init__.py calls trigger_exploit() at module scope, which performs an unconditional HTTPS POST via urllib.request.urlopen to a hardcoded Discord webhook endpoint (discord.com/api/webhooks/1575416654366769182/...) with the static body {"content": "Exploited"}. The callback fires on every import bloomcredit with no opt-out, confirming code execution on the importing host to the endpoint operator. The package is published under a corporate-sounding name at version 99.3.0, a version number shaped to win resolution against an internally hosted package of the same name, and its metadata describes it as a dependency-confusion research artifact. The payload carries no environment variables, filesystem contents, host identifiers, or credentials, and no remote code is fetched or executed, so the effect is limited to the outbound beacon plus the dependency-tree substitution of an internal name with this third-party package.

Source: kam193 (165c457254b160e1c86dd7b3a39f386be43f302e274d07174e4dc927abcfcd9a)

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi bloomcredit-python(PyPI) = 0.1.0; = 99.1.0; = 99.2.0; = 99.3.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi bloomcredit-python(PyPI) = 0.1.0 No fix listed
pypi bloomcredit-python(PyPI) = 99.1.0 No fix listed
pypi bloomcredit-python(PyPI) = 99.2.0 No fix listed
pypi bloomcredit-python(PyPI) = 99.3.0 No fix listed

References