mal-2024-11728
Vulnerability from ossf_malicious_packages
Published
2024-10-02 07:55
Modified
2025-12-11 09:27
Summary
Malicious code in titan-osint (PyPI)
Details

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

Source: kam193 (e8dccaf6be8892f2b8871e634607d1dafc9fbb2b5855156959c454b07ab184aa)

osint packages promise to be OSINT tool, however, when providing the username to search for, the package attempts to exfiltrate Discord tokens from the user.

The original package suggests being a library for Discord exfiltration, what is suspicious on its own, but in addition, the entry point located in main.py exfiltrate local Discord tokens to a hardcoded webhook.


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

Campaign: 2024-09-discord-token-lib

Reasons (based on the campaign):

  • exfiltration-generic

  • action-hidden-in-lib-usage


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "titan-osint",
        "purl": "pkg:pypi/titan-osint"
      },
      "versions": [
        "0.1",
        "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": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "urls": [
        "https://discord.com/api/webhooks/1271645951026659339/wWCSAlPG3TuhycH7ex6h9O48nKdFn4G55WUk4-lgay4RQTpCbbt-DYuo9jLIHYEReQKj"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2024-11187",
        "import_time": "2024-12-09T14:38:50.02322557Z",
        "modified_time": "2024-12-09T06:51:19Z",
        "sha256": "fa971829ad3bf6f2730f343105e2b1aa7706d68f3df664a8d73c2a3f11882e7a",
        "source": "reversing-labs",
        "versions": [
          "0.1"
        ]
      },
      {
        "id": "pypi/2024-09-discord-token-lib/titan-osint",
        "import_time": "2025-12-02T22:30:55.652821364Z",
        "modified_time": "2024-10-02T07:55:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "4246b3e19ea6a2e1acc7e8f75e363ff5475b8b34e43561b004f81a565a7ec6e7",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-discord-token-lib/titan-osint",
        "import_time": "2025-12-02T23:07:18.695641664Z",
        "modified_time": "2024-10-02T07:55:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "e8dccaf6be8892f2b8871e634607d1dafc9fbb2b5855156959c454b07ab184aa",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-discord-token-lib/titan-osint",
        "import_time": "2025-12-10T21:38:57.880854831Z",
        "modified_time": "2024-10-02T07:55:07Z",
        "sha256": "10bc801a9a58b442386e114fea3df4d20cf65b4d5fd50ba295733a48c541f941",
        "source": "kam193",
        "versions": [
          "0.1",
          "0.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e8dccaf6be8892f2b8871e634607d1dafc9fbb2b5855156959c454b07ab184aa)\n*osint* packages promise to be OSINT tool, however, when providing the username to search for, the package attempts to exfiltrate Discord tokens from the user.\n\nThe original package suggests being a library for Discord exfiltration, what is suspicious on its own, but in addition, the entry point located in main.py exfiltrate local Discord tokens to a hardcoded webhook.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-09-discord-token-lib\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - action-hidden-in-lib-usage\n",
  "id": "MAL-2024-11728",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2024-10-02T07:55:07Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/titan-osint"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in titan-osint (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…