mal-2025-5130
Vulnerability from ossf_malicious_packages
Published
2025-05-15 21:07
Modified
2025-12-31 02:45
Summary
Malicious code in rich-figlet (PyPI)
Details

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

Source: kam193 (b97458c87c8580a9cb2f2edc0af2ae40a36489dafa860102eee0307256cb416b)

Malicious clone of pyfiglet. Importing the package starts a series of downloading and executing of obfuscated malicious scripts, partially identified by AVs.


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

Campaign: 2025-05-rich-figlet

Reasons (based on the campaign):

  • backdoor

  • clones-real-package

  • obfuscation

  • Downloads and executes a remote malicious script.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "rich-figlet",
        "purl": "pkg:pypi/rich-figlet"
      },
      "versions": [
        "0.0.1",
        "0.0.2"
      ]
    }
  ],
  "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": {
      "ips": [
        "185.254.198.245"
      ],
      "urls": [
        "http://185.254.198.245:8080/update?token=4z1m6qbi4vzpwykp8YK4wAeZX89gbdwSy3dSCBGy2rkMjG5D0Alp5WO1RgktLeYk\u0026platform=",
        "http://185.254.198.245:80/admin/get.php",
        "http://185.254.198.245:80/login/process.php"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-03027",
        "import_time": "2025-06-18T15:06:02.828764956Z",
        "modified_time": "2025-06-18T10:15:20Z",
        "sha256": "1fb8756d54415e4db8b88e0020d0e3790706d1a99fd9e1d35a53c60df6e88bb5",
        "source": "reversing-labs",
        "versions": [
          "0.0.1",
          "0.0.2"
        ]
      },
      {
        "id": "pypi/2025-05-rich-figlet/rich-figlet",
        "import_time": "2025-12-02T22:30:55.546957178Z",
        "modified_time": "2025-05-15T21:07:23Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "ae8f9120c124773c46c7642ae7b481a2c7fcbb3efc7ede6d3bbd4ae9cd685abb",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-rich-figlet/rich-figlet",
        "import_time": "2025-12-02T23:07:18.586108477Z",
        "modified_time": "2025-05-15T21:07:23Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "b97458c87c8580a9cb2f2edc0af2ae40a36489dafa860102eee0307256cb416b",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-rich-figlet/rich-figlet",
        "import_time": "2025-12-10T21:38:57.793769267Z",
        "modified_time": "2025-05-15T21:07:23Z",
        "sha256": "b04142554fcdf43b5220b5775730a7d3ed985e64437f34bbc6217d0753b75d7e",
        "source": "kam193",
        "versions": [
          "0.0.2",
          "0.0.1"
        ]
      },
      {
        "id": "pypi/2025-05-rich-figlet/rich-figlet",
        "import_time": "2025-12-30T22:39:04.164085173Z",
        "modified_time": "2025-05-15T21:07:23Z",
        "sha256": "25c5d33ac4481cbfe7f6d5f2efc5bb88a41fbcd5ba7d05e747061aa5f73f3a2a",
        "source": "kam193",
        "versions": [
          "0.0.1",
          "0.0.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (b97458c87c8580a9cb2f2edc0af2ae40a36489dafa860102eee0307256cb416b)\nMalicious clone of pyfiglet. Importing the package starts a series of downloading and executing of obfuscated malicious scripts, partially identified by AVs.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-rich-figlet\n\n\nReasons (based on the campaign):\n\n\n - backdoor\n\n\n - clones-real-package\n\n\n - obfuscation\n\n\n - Downloads and executes a remote malicious script.\n",
  "id": "MAL-2025-5130",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2025-05-15T21:07:23Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/rich-figlet"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in rich-figlet (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…