mal-2025-3473
Vulnerability from ossf_malicious_packages
Published
2025-03-28 17:41
Modified
2025-12-11 09:27
Summary
Malicious code in textgradient (PyPI)
Details

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

Source: kam193 (7fe681cdeb2892cd4e567b4ac8aeb6e0eb22885cce024238e010af54711831ec)

Highly obfuscated code that during import downloads a remote script with another obfuscated code. The repository with remote script also contains clearly infostealer code


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

Campaign: 2025-03-textgradient

Reasons (based on the campaign):

  • obfuscation

  • Downloads and executes a remote malicious script.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "textgradient",
        "purl": "pkg:pypi/textgradient"
      },
      "versions": [
        "0.1",
        "0.2",
        "0.3"
      ]
    }
  ],
  "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": {
      "urls": [
        "https://raw.githubusercontent.com/imsoprime/w/refs/heads/main/server.py",
        "https://raw.githubusercontent.com/imsoprime/w/refs/heads/main/server2.py",
        "https://github.com/imsoprime/w/",
        "https://t.me/sliverbulletpro2"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-02540",
        "import_time": "2025-04-25T09:36:48.714669532Z",
        "modified_time": "2025-04-23T16:06:45Z",
        "sha256": "fd6b3e172a66666d0d57c37dd7ee403d3d21fce16375a04d81bd642a5ec11f79",
        "source": "reversing-labs",
        "versions": [
          "0.1"
        ]
      },
      {
        "id": "pypi/2025-03-textgradient/textgradient",
        "import_time": "2025-12-02T22:30:55.640693148Z",
        "modified_time": "2025-03-28T17:41:31Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "379db80ee13908937315f272639af6fee599bd03179d246cb41eb981df3d2c90",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-textgradient/textgradient",
        "import_time": "2025-12-02T23:07:18.681849009Z",
        "modified_time": "2025-03-28T17:41:31Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "7fe681cdeb2892cd4e567b4ac8aeb6e0eb22885cce024238e010af54711831ec",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-textgradient/textgradient",
        "import_time": "2025-12-10T21:38:57.868526359Z",
        "modified_time": "2025-03-28T17:41:31Z",
        "sha256": "8e18e1bb91c50f9e93bff6c9acaa68618e32a7c687d6987a3ef69a8e32843690",
        "source": "kam193",
        "versions": [
          "0.1",
          "0.2",
          "0.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7fe681cdeb2892cd4e567b4ac8aeb6e0eb22885cce024238e010af54711831ec)\nHighly obfuscated code that during import downloads a remote script with another obfuscated code. The repository with remote script also contains clearly infostealer code\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-03-textgradient\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - Downloads and executes a remote malicious script.\n",
  "id": "MAL-2025-3473",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2025-03-28T17:41:31Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/textgradient"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in textgradient (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…