mal-2025-6483
Vulnerability from ossf_malicious_packages
Published
2025-06-28 09:28
Modified
2025-12-11 09:27
Summary
Malicious code in cpan (PyPI)
Details

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

Source: kam193 (e70433969aea3c8283f99098b25b8a598f427b5fd451e9bfd5bc46098704bfb2)

Installing the package starts a revshell and download and starts a remote script (depending on version, different malicious functionality). The name seems to imitate CPAN.org


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

Campaign: 2025-06-cpan

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.

  • impersonation

  • Downloads and executes a remote malicious script.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "cpan",
        "purl": "pkg:pypi/cpan"
      },
      "versions": [
        "0.0.2",
        "0.0.3",
        "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"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "ips": [
        "124.221.175.251"
      ],
      "urls": [
        "http://124.221.175.251/11.sh",
        "http://124.221.175.251/start.sh"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-03574",
        "import_time": "2025-08-01T10:07:10.52261363Z",
        "modified_time": "2025-07-31T19:14:43Z",
        "sha256": "bd1681dc89631934bce508a308d2c708603f6d09ca9cb6efbe90f4b33d1cbaea",
        "source": "reversing-labs",
        "versions": [
          "0.0.2",
          "0.0.3"
        ]
      },
      {
        "id": "pypi/2025-06-cpan/cpan",
        "import_time": "2025-12-02T22:30:55.072464118Z",
        "modified_time": "2025-06-28T09:28:42Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "7d1167d235aa8d1bfa384247116621d8a00d34455aabf31bc8f46e5f348ae7b2",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-06-cpan/cpan",
        "import_time": "2025-12-02T23:07:18.082630638Z",
        "modified_time": "2025-06-28T09:28:42Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "e70433969aea3c8283f99098b25b8a598f427b5fd451e9bfd5bc46098704bfb2",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-06-cpan/cpan",
        "import_time": "2025-12-10T21:38:57.374165892Z",
        "modified_time": "2025-06-28T09:28:42Z",
        "sha256": "58814925612b24ead324b54f764c54aea2512fe1a85e1ba3fd152395a2acaa93",
        "source": "kam193",
        "versions": [
          "0.0.1",
          "0.0.2",
          "0.0.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e70433969aea3c8283f99098b25b8a598f427b5fd451e9bfd5bc46098704bfb2)\nInstalling the package starts a revshell and download and starts a remote script (depending on version, different malicious functionality). The name seems to imitate CPAN.org\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-06-cpan\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 - impersonation\n\n\n - Downloads and executes a remote malicious script.\n",
  "id": "MAL-2025-6483",
  "modified": "2025-12-11T09:27:52Z",
  "published": "2025-06-28T09:28:42Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/cpan"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in cpan (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…