mal-2025-1975
Vulnerability from ossf_malicious_packages
Published
2025-02-04 19:09
Modified
2025-12-11 09:27
Summary
Malicious code in farooq4321 (PyPI)
Details

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

Source: kam193 (165ce280a6d073eebbba054677a6c80307c8353b31e41732ba1ffc1f8a020aa4)

Code in setup.py attempts to call a webhook, but most importantly to execute a revshell


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-02-farooq4321

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

  • The package overrides the install command in setup.py to execute malicious code during installation.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "farooq4321",
        "purl": "pkg:pypi/farooq4321"
      },
      "versions": [
        "1.0.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": "ANALYST"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "electronics-affiliate.gl.at.ply.gg"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-01216",
        "import_time": "2025-03-03T15:07:15.098737294Z",
        "modified_time": "2025-03-03T13:44:53Z",
        "sha256": "5e73139e6b9c692a8fe69bf7bd6afacf2d15c854fad546a90f4e18d04005c50c",
        "source": "reversing-labs",
        "versions": [
          "1.0.0"
        ]
      },
      {
        "id": "pypi/2025-02-farooq4321/farooq4321",
        "import_time": "2025-12-02T22:30:55.18377882Z",
        "modified_time": "2025-02-04T19:09:33Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "ceb936fd2fc63bff68bca177780c745be2347bf7b1175b52f68c58ab81e3007d",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-02-farooq4321/farooq4321",
        "import_time": "2025-12-02T23:07:18.192170465Z",
        "modified_time": "2025-02-04T19:09:33Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "165ce280a6d073eebbba054677a6c80307c8353b31e41732ba1ffc1f8a020aa4",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-02-farooq4321/farooq4321",
        "import_time": "2025-12-10T21:38:57.476319903Z",
        "modified_time": "2025-02-04T19:09:33Z",
        "sha256": "43e9a968d119c0ae87cad73f5ffae0b3acee0fd7475f0ee3205ead682390dcd7",
        "source": "kam193",
        "versions": [
          "1.0.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (165ce280a6d073eebbba054677a6c80307c8353b31e41732ba1ffc1f8a020aa4)\nCode in setup.py attempts to call a webhook, but most importantly to execute a revshell\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-02-farooq4321\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim\u0027s machine.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n",
  "id": "MAL-2025-1975",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2025-02-04T19:09:33Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/farooq4321"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in farooq4321 (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 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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…