mal-2025-192579
Vulnerability from ossf_malicious_packages
Published
2025-12-15 15:24
Modified
2025-12-29 11:08
Summary
Malicious code in smtblib (PyPI)
Details

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

Source: kam193 (15a295f1d98fcbbdd6a077bc3a849966ca3f73919c0d47e58948ff382481e5b6)

Malicious copy of a standard library module that during class initialization downloads and executes remote code and after that attempts to cover its tracks by overwriting itself with non-malicious code. The remote code aims to collect and exfiltrate sensitive Telegram session files.

This campaign shares infrastructure and basic methods with previous 2025-11-uzip campaign.


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

Campaign: 2025-12-smtblib

Reasons (based on the campaign):

  • Downloads and executes a remote malicious script.

  • infostealer

  • target:telegram

  • exfiltration-credentials

  • action-hidden-in-lib-usage

  • covering-tracks

  • clones-real-package

  • typosquatting

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "smtblib"
      },
      "versions": [
        "0.1.8",
        "0.1.9"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "iocs": {
      "ips": [
        "87.120.107.132"
      ],
      "urls": [
        "http://87.120.107.132:3301/reactor",
        "http://87.120.107.132:1488/drill",
        "http://87.120.107.132:1488/drip"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-12-smtblib/smtblib",
        "import_time": "2025-12-15T16:09:58.124370721Z",
        "modified_time": "2025-12-15T15:24:47.925085Z",
        "sha256": "15a295f1d98fcbbdd6a077bc3a849966ca3f73919c0d47e58948ff382481e5b6",
        "source": "kam193",
        "versions": [
          "0.1.8"
        ]
      },
      {
        "id": "pypi/2025-12-smtblib/smtblib",
        "import_time": "2025-12-15T20:08:14.979212651Z",
        "modified_time": "2025-12-15T19:54:36.926709Z",
        "sha256": "8f293710c6c269b679abd0ea8af0d9fd6f5ed2604f0e610a89baa9a0c769e980",
        "source": "kam193",
        "versions": [
          "0.1.8",
          "0.1.9"
        ]
      },
      {
        "id": "pypi/2025-12-smtblib/smtblib",
        "import_time": "2025-12-29T11:07:13.545369573Z",
        "modified_time": "2025-12-15T19:54:36.926709Z",
        "sha256": "16144127ff973bbc911f4fd6fce8480d291aaeb526dec941bd80e03d93994ee4",
        "source": "kam193",
        "versions": [
          "0.1.8",
          "0.1.9"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (15a295f1d98fcbbdd6a077bc3a849966ca3f73919c0d47e58948ff382481e5b6)\nMalicious copy of a standard library module that during class initialization downloads and executes remote code and after that attempts to cover its tracks by overwriting itself with non-malicious code. The remote code aims to collect and exfiltrate sensitive Telegram session files.\n\nThis campaign shares infrastructure and basic methods with previous 2025-11-uzip campaign.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-12-smtblib\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - infostealer\n\n\n - target:telegram\n\n\n - exfiltration-credentials\n\n\n - action-hidden-in-lib-usage\n\n\n - covering-tracks\n\n\n - clones-real-package\n\n\n - typosquatting\n",
  "id": "MAL-2025-192579",
  "modified": "2025-12-29T11:08:56Z",
  "published": "2025-12-15T15:24:47Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/smtblib"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in smtblib (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…