mal-2025-191906
Vulnerability from ossf_malicious_packages
Published
2025-03-12 22:30
Modified
2025-12-11 09:27
Summary
Malicious code in tonetext (PyPI)
Details

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

Source: kam193 (c46725ad6c88079cce4f7fa4a29175fec7f78ea83344da99d0f02ac4f020fcf3)

When imported, the code embedded into the exception class downloads a remote file, and runs it by importing, and attempts to cover tracks by overwriting itself, removing caches and other related files.


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

Campaign: 2025-03-tonetext

Reasons (based on the campaign):

  • Downloads and executes a remote malicious script.

  • obfuscation


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "tonetext"
      },
      "versions": [
        "0.1.1",
        "0.2.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": {
      "urls": [
        "https://tinyurl.com/ttxP1107"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-03-tonetext/tonetext",
        "import_time": "2025-12-02T22:30:55.654259882Z",
        "modified_time": "2025-03-12T22:30:33Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "6bdd482d6ab1a67e92e07cfac1da64aa0d02a55c6f019ca1f3fdadc87ecf2e4c",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-tonetext/tonetext",
        "import_time": "2025-12-02T23:07:18.697249404Z",
        "modified_time": "2025-03-12T22:30:33Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "c46725ad6c88079cce4f7fa4a29175fec7f78ea83344da99d0f02ac4f020fcf3",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-tonetext/tonetext",
        "import_time": "2025-12-10T21:38:57.882722152Z",
        "modified_time": "2025-03-12T22:30:33Z",
        "sha256": "59e36377e7671291e506fade84e8d65b72afebad7c5e5fca51c5111ec9afe2ca",
        "source": "kam193",
        "versions": [
          "0.1.1",
          "0.2.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c46725ad6c88079cce4f7fa4a29175fec7f78ea83344da99d0f02ac4f020fcf3)\nWhen imported, the code embedded into the exception class downloads a remote file, and runs it by importing, and attempts to cover tracks by overwriting itself, removing caches and other related files.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-03-tonetext\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - obfuscation\n",
  "id": "MAL-2025-191906",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2025-03-12T22:30:33Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/tonetext"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in tonetext (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…