mal-2025-6478
Vulnerability from ossf_malicious_packages
Published
2025-07-06 15:18
Modified
2025-12-11 09:27
Summary
Malicious code in cloudscrapersafe (PyPI)
Details

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

Source: kam193 (2420d6a750823b640af4d97d3a2a26383ce9e32d3ac266e4792675e8beb9b806)

During processing the user requests, the package looks for URLs related to checkouts using services: - credomatic.compassmerchantsolutions.com - checkout.baccredomatic.com and exfiltrates given credit card numbers, verification codes etc. Interestingly, it checks even 3DS responses.

Clone of the legitimate "cloudscraper" package.


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

Campaign: 2025-07-cloudscrapersafe

Reasons (based on the campaign):

  • action-hidden-in-lib-usage

  • exfiltration-generic

  • clones-real-package


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "cloudscrapersafe",
        "purl": "pkg:pypi/cloudscrapersafe"
      },
      "versions": [
        "3.0.0",
        "3.1.0",
        "3.1.1"
      ]
    }
  ],
  "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-03563",
        "import_time": "2025-08-01T10:07:10.358657955Z",
        "modified_time": "2025-07-31T19:14:33Z",
        "sha256": "aaa50ce8270e9aea79dd5e82e629190c5453fa565f609771d277746bf84de6e2",
        "source": "reversing-labs",
        "versions": [
          "3.0.0",
          "3.1.0",
          "3.1.1"
        ]
      },
      {
        "id": "pypi/2025-07-cloudscrapersafe/cloudscrapersafe",
        "import_time": "2025-12-02T22:30:55.044692709Z",
        "modified_time": "2025-07-06T15:18:55Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "6944a90e2050c1774fddbb3e1bc7bac1c298245b9deef45fb50fd828a4050ed5",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-07-cloudscrapersafe/cloudscrapersafe",
        "import_time": "2025-12-02T23:07:18.052906441Z",
        "modified_time": "2025-07-06T15:18:55Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "2420d6a750823b640af4d97d3a2a26383ce9e32d3ac266e4792675e8beb9b806",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-07-cloudscrapersafe/cloudscrapersafe",
        "import_time": "2025-12-10T21:38:57.343196157Z",
        "modified_time": "2025-07-06T15:18:55Z",
        "sha256": "51d27c65c6f9d6dc0bf33a47219228da73ffd60b15808b0bf0b8a4bd027fb16c",
        "source": "kam193",
        "versions": [
          "3.0.0",
          "3.1.0",
          "3.1.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2420d6a750823b640af4d97d3a2a26383ce9e32d3ac266e4792675e8beb9b806)\nDuring processing the user requests, the package looks for URLs related to checkouts using services:\n- credomatic.compassmerchantsolutions.com\n- checkout.baccredomatic.com\nand exfiltrates given credit card numbers, verification codes etc. Interestingly, it checks even 3DS responses.\n\nClone of the legitimate \"cloudscraper\" package.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-07-cloudscrapersafe\n\n\nReasons (based on the campaign):\n\n\n - action-hidden-in-lib-usage\n\n\n - exfiltration-generic\n\n\n - clones-real-package\n",
  "id": "MAL-2025-6478",
  "modified": "2025-12-11T09:27:52Z",
  "published": "2025-07-06T15:18:55Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/cloudscrapersafe"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in cloudscrapersafe (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…