mal-2026-53
Vulnerability from ossf_malicious_packages
Published
2026-01-05 17:11
Modified
2026-01-06 20:09
Summary
Malicious code in gztensor-cli (PyPI)
Details

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

Source: kam193 (6010189e23e54782200df770b6e40ed7e37284779c25f28cd145aadd9ee8b623)

Package clones a legitimate library and adds a hidden code that downloads a malicious script. The script then downloads an archive with malicious executable in the version appropriate to the system architecture, and ensures persistency by adding automatically started service entries. The remote code is a Go-based inforstealer and backdoor previously attributed to Nordkorean cybercrime activities.

The malicious code was introduced in version 0.1.1. Besides an infostealer, the package modifies the cloned Bittensor library to collect keys.


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

Campaign: 2026-01-gztensor-cli

Reasons (based on the campaign):

  • crypto-related

  • action-hidden-in-lib-usage

  • Downloads and executes a remote executable.

  • clones-real-package

  • peristence-autorun

  • typosquatting

  • obfuscation

  • backdoor

  • infostealer

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "gztensor-cli"
      },
      "versions": [
        "0.0.1",
        "0.0.2",
        "0.0.3",
        "0.0.4",
        "0.1.1",
        "0.1.2"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "bitensor.xyz",
        "cameradriver.pro"
      ],
      "ips": [
        "23.227.203.99"
      ],
      "urls": [
        "https://bitensor.xyz/realtek.sh"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-01-gztensor-cli/gztensor-cli",
        "import_time": "2026-01-05T17:40:51.66837305Z",
        "modified_time": "2026-01-05T17:11:41.335176Z",
        "sha256": "19f3c00d7a3a1b03a4524168199226aa56d2a86086aeabb3ef3f1fc860f10973",
        "source": "kam193",
        "versions": [
          "0.0.1",
          "0.0.2",
          "0.0.3",
          "0.0.4",
          "0.1.1"
        ]
      },
      {
        "id": "pypi/2026-01-gztensor-cli/gztensor-cli",
        "import_time": "2026-01-05T18:47:24.807978741Z",
        "modified_time": "2026-01-05T17:58:50.230228Z",
        "sha256": "9849e93934366bce1507e103687b8777fc90358a35173ff44ad34dc9b871c644",
        "source": "kam193",
        "versions": [
          "0.0.1",
          "0.0.2",
          "0.0.3",
          "0.0.4",
          "0.1.1",
          "0.1.2"
        ]
      },
      {
        "id": "pypi/2026-01-gztensor-cli/gztensor-cli",
        "import_time": "2026-01-06T20:08:10.752637285Z",
        "modified_time": "2026-01-05T17:58:50.230228Z",
        "sha256": "6010189e23e54782200df770b6e40ed7e37284779c25f28cd145aadd9ee8b623",
        "source": "kam193",
        "versions": [
          "0.0.1",
          "0.0.2",
          "0.0.3",
          "0.0.4",
          "0.1.1",
          "0.1.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6010189e23e54782200df770b6e40ed7e37284779c25f28cd145aadd9ee8b623)\nPackage clones a legitimate library and adds a hidden code that downloads a malicious script. The script then downloads an archive with malicious executable in the version appropriate to the system architecture, and ensures persistency by adding automatically started service entries. The remote code is a Go-based inforstealer and backdoor previously attributed to Nordkorean cybercrime activities.\n\nThe malicious code was introduced in version 0.1.1. Besides an infostealer, the package modifies the cloned Bittensor library to collect keys.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-01-gztensor-cli\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - action-hidden-in-lib-usage\n\n\n - Downloads and executes a remote executable.\n\n\n - clones-real-package\n\n\n - peristence-autorun\n\n\n - typosquatting\n\n\n - obfuscation\n\n\n - backdoor\n\n\n - infostealer\n",
  "id": "MAL-2026-53",
  "modified": "2026-01-06T20:09:44Z",
  "published": "2026-01-05T17:11:41Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://dmpdump.github.io/posts/NorthKorea_Backdoor_Stealer/"
    },
    {
      "type": "WEB",
      "url": "https://www.virustotal.com/gui/file-analysis/NTk2Y2FiNTBmM2QxODI2NDRlZGM0OTA2OGVjYzUxOTk6MTc2NzYzMzkzMA=="
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.virustotal.com/gui/file/d02d6a5da3cff57d78e260961526420c172a46f4a07d18a3865fecbf5dfebc1d/detection"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/gztensor-cli"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in gztensor-cli (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…