mal-2025-191808
Vulnerability from ossf_malicious_packages
Published
2025-06-10 20:26
Modified
2025-12-11 09:27
Summary
Malicious code in package-resources (PyPI)
Details

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

Source: kam193 (ca5a9eea6d70ca2932b87cad82f57aa47d4ca38f9ba6c9d2f45d465b46c8358f)

Research packages targeting typosquatting and dependency confusions, without really harmful behaviour - just calling home through DNS resolver.

Related to 2025-06-stubsout (using the same remote domain), but without dangerous activity


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: 2025-06-diar-ai-basic

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.

  • typosquatting


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "package-resources"
      },
      "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": [
        "diar.ai"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-06-diar-ai-basic/package-resources",
        "import_time": "2025-12-02T22:30:56.28549539Z",
        "modified_time": "2025-06-10T20:26:30Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "66a39eb6a99f6a3c82112d2bed26ef992a2fc406ba72a4678fced96168b4b088",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-06-diar-ai-basic/package-resources",
        "import_time": "2025-12-02T23:07:19.472762327Z",
        "modified_time": "2025-06-10T20:26:30Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "ca5a9eea6d70ca2932b87cad82f57aa47d4ca38f9ba6c9d2f45d465b46c8358f",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-06-diar-ai-basic/package-resources",
        "import_time": "2025-12-10T21:38:58.588655171Z",
        "modified_time": "2025-06-10T20:26:30Z",
        "sha256": "58d9a45eed476652ad45860a9e7eeae7e75ad84658e4dd4bdca85f7ed1835782",
        "source": "kam193",
        "versions": [
          "0.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (ca5a9eea6d70ca2932b87cad82f57aa47d4ca38f9ba6c9d2f45d465b46c8358f)\nResearch packages targeting typosquatting and dependency confusions, without really harmful behaviour - just calling home through DNS resolver. \n\nRelated to 2025-06-stubsout (using the same remote domain), but without dangerous activity\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: 2025-06-diar-ai-basic\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 - typosquatting\n",
  "id": "MAL-2025-191808",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2025-06-10T20:26:30Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/package-resources"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in package-resources (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…