mal-2025-191644
Vulnerability from ossf_malicious_packages
Published
2025-10-22 12:45
Modified
2025-12-31 02:45
Summary
Malicious code in lbank-connector-pythons (PyPI)
Details

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

Source: kam193 (8e2d03134723d75ab2f0b36c6acad54fa5d16b4ba0f04bf2705e188fd19626b9)

This is a copy of a legit package with added basic exfiltration in the setup.py


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.




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "lbank-connector-pythons",
        "purl": "pkg:pypi/lbank-connector-pythons"
      },
      "versions": [
        "2.1",
        "2.2",
        "2.3",
        "2.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-05615",
        "import_time": "2025-12-02T09:09:38.069277714Z",
        "modified_time": "2025-12-01T12:54:37Z",
        "sha256": "be860829dcedc2bf0981c76c1ea75b885957e544a964d28cf69695e3ee2ac9ed",
        "source": "reversing-labs",
        "versions": [
          "2.1",
          "2.2",
          "2.3"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/lbank-connector-pythons",
        "import_time": "2025-12-02T22:30:56.166875864Z",
        "modified_time": "2025-10-22T12:45:32.237742Z",
        "sha256": "a8ac8a9f87c9d93340528329867082207c0437ad9fe6d31408cf7754b5705ad9",
        "source": "kam193",
        "versions": [
          "2.3",
          "2.2",
          "2.0"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/lbank-connector-pythons",
        "import_time": "2025-12-02T23:07:19.348565492Z",
        "modified_time": "2025-10-22T12:45:32.237742Z",
        "sha256": "8e2d03134723d75ab2f0b36c6acad54fa5d16b4ba0f04bf2705e188fd19626b9",
        "source": "kam193",
        "versions": [
          "2.3",
          "2.2",
          "2.0"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/lbank-connector-pythons",
        "import_time": "2025-12-30T22:39:04.304135483Z",
        "modified_time": "2025-10-22T12:45:32.237742Z",
        "sha256": "50f436f344f514099ea2389611705259c9094e8f2f6a0faf819c43aa71987599",
        "source": "kam193",
        "versions": [
          "2.0",
          "2.2",
          "2.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8e2d03134723d75ab2f0b36c6acad54fa5d16b4ba0f04bf2705e188fd19626b9)\nThis is a copy of a legit package with added basic exfiltration in the setup.py\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-2025-191644",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2025-10-22T12:45:32Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/lbank-connector-pythons"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in lbank-connector-pythons (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…