MAL-2026-20650

Vulnerability from ossf_malicious_packages – Published: 2026-11-26 10:01 – Updated: 2026-11-26 22:12 – Source website
Malicious package
Summary
Malicious code in bloomcredit-python (PyPI)
Affected package
Ecosystem Package Versions
PyPI bloomcredit-python
0.1.099.1.099.2.099.3.0
Details
Amazon Inspector IN-MAL-2026-023131 Reported 2026-11-26 21:57

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.

kam193 pypi/GENERIC-standard-pypi-install-pentest/bloomcredit-python Reported 2026-11-26 10:01

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.

Indicators
Type Indicator Hashes
Evidence file bloomcredit/__init__.py
sha256 15169b732e32e8976259419a9c54bf5271c2beed8b81a599a5355020c22d0f7b
tlsh 383174f3e5522f2153c5c522d80170b5e723b84f9a879815f94c013c0fcc116d1a16cb
Package archive bloomcredit_python-99.3.0-py3-none-any.whl
blake2b_256 06ca46e6898d84739e23ccccaaa335f1c6ee6faa0c41820396fb834ba1f32ba3
md5 e0a0f3b5d763087e66d01c80d3f6a140
sha256 a035e7d44e0c8fdacf89c12c979815b8aa22be5d36b077d4e024ea46641ff6c9
Package archive bloomcredit_python-99.3.0.tar.gz
blake2b_256 5f1c96ac983a693f8d6e8541a1e6954c98c132b76a1cda86c7dff1c720c39c0a
md5 ab96ab0d3ae6e1dfd87460358dc34f54
sha256 674cd9fb68489ae843e8cfd4272dab6224bf0fad7ea693477fc232e82ce3fc22
CWE
  • CWE-506 - Embedded Malicious Code

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "artifacts": [
                "bloomcredit_python-99.3.0.tar.gz",
                "bloomcredit_python-99.3.0-py3-none-any.whl"
              ],
              "path": "bloomcredit/__init__.py",
              "sha256": "15169b732e32e8976259419a9c54bf5271c2beed8b81a599a5355020c22d0f7b",
              "tlsh": "383174f3e5522f2153c5c522d80170b5e723b84f9a879815f94c013c0fcc116d1a16cb"
            }
          ],
          "package_integrity": [
            {
              "filename": "bloomcredit_python-99.3.0-py3-none-any.whl",
              "hashes": {
                "blake2b_256": "06ca46e6898d84739e23ccccaaa335f1c6ee6faa0c41820396fb834ba1f32ba3",
                "md5": "e0a0f3b5d763087e66d01c80d3f6a140",
                "sha256": "a035e7d44e0c8fdacf89c12c979815b8aa22be5d36b077d4e024ea46641ff6c9"
              }
            },
            {
              "filename": "bloomcredit_python-99.3.0.tar.gz",
              "hashes": {
                "blake2b_256": "5f1c96ac983a693f8d6e8541a1e6954c98c132b76a1cda86c7dff1c720c39c0a",
                "md5": "ab96ab0d3ae6e1dfd87460358dc34f54",
                "sha256": "674cd9fb68489ae843e8cfd4272dab6224bf0fad7ea693477fc232e82ce3fc22"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "bloomcredit-python"
      },
      "versions": [
        "0.1.0",
        "99.1.0",
        "99.2.0",
        "99.3.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/bloomcredit-python",
        "import_time": "2026-11-26T10:37:06.322804777Z",
        "modified_time": "2026-11-26T10:01:02.846331Z",
        "sha256": "165c457254b160e1c86dd7b3a39f386be43f302e274d07174e4dc927abcfcd9a",
        "source": "kam193",
        "versions": [
          "0.1.0",
          "99.1.0",
          "99.2.0",
          "99.3.0"
        ]
      },
      {
        "id": "IN-MAL-2026-023131",
        "import_time": "2026-11-26T22:11:08.848450193Z",
        "modified_time": "2026-11-26T21:57:19Z",
        "sha256": "66961e6fe9d15e103d1efa4699089c05647e77505ffb745725d18e2d2474b778",
        "source": "amazon-inspector",
        "versions": [
          "99.3.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (66961e6fe9d15e103d1efa4699089c05647e77505ffb745725d18e2d2474b778)\nThe 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.\n\n## Source: kam193 (165c457254b160e1c86dd7b3a39f386be43f302e274d07174e4dc927abcfcd9a)\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 \u0026 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",
  "id": "MAL-2026-20650",
  "modified": "2026-11-26T22:12:48.281053273Z",
  "published": "2026-11-26T10:01:02Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/bloomcredit-python"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/bloomcredit-python/99.3.0/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in bloomcredit-python (PyPI)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.