mal-2025-191845
Vulnerability from ossf_malicious_packages
Published
2025-05-10 17:59
Modified
2025-12-11 09:27
Summary
Malicious code in python3-shodan (PyPI)
Details

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

Source: kam193 (b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca)

Packages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code).


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

Campaign: 2025-05-sl4x01

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.

  • exfiltration-env-variables

  • impersonation


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "python3-shodan"
      },
      "versions": [
        "0.0.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"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "sl4x0.xyz"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-05-sl4x01/python3-shodan",
        "import_time": "2025-12-02T22:30:55.496100188Z",
        "modified_time": "2025-05-10T17:59:53Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "422f6521d87f0b265b70862fad840f74d262b48235a70e6db133fa55fa783cfa",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-sl4x01/python3-shodan",
        "import_time": "2025-12-02T23:07:18.520971405Z",
        "modified_time": "2025-05-10T17:59:53Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-sl4x01/python3-shodan",
        "import_time": "2025-12-10T21:38:57.739347937Z",
        "modified_time": "2025-05-10T17:59:53Z",
        "sha256": "cffb4935106ce0254db0bb29a553a83006e1bfd48324219984b910041877b0b0",
        "source": "kam193",
        "versions": [
          "0.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (b4fca245262ff8de532efc88e1941697e6994786e09eca8a9cbcdbf9faff5cca)\nPackages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code).\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-sl4x01\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 - exfiltration-env-variables\n\n\n - impersonation\n",
  "id": "MAL-2025-191845",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2025-05-10T17:59:53Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/sl4x0"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/python3-shodan"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in python3-shodan (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…