mal-2024-12320
Vulnerability from ossf_malicious_packages
Published
2024-10-02 07:55
Modified
2025-12-31 02:45
Summary
Malicious code in osint-tool (PyPI)
Details

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

Source: kam193 (10a834a37294b0f3aaf52345444f8c5c2a15dde780c8342446c53ecc05d623c0)

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": "osint-tool"
      },
      "versions": [
        "0.1",
        "0.2",
        "0.5",
        "0.4"
      ]
    }
  ],
  "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": "ANALYST"
    }
  ],
  "database_specific": {
    "iocs": {
      "urls": [
        "https://discord.com/api/webhooks/1271645951026659339/wWCSAlPG3TuhycH7ex6h9O48nKdFn4G55WUk4-lgay4RQTpCbbt-DYuo9jLIHYEReQKj"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2024-09-discord-token-lib/osint-tool",
        "import_time": "2025-12-02T22:30:55.415941911Z",
        "modified_time": "2024-10-02T07:55:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "0d5c4163ca79428423dab39798608ee8cc3f01459134f4ebaaa304b7707bd43e",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-discord-token-lib/osint-tool",
        "import_time": "2025-12-02T23:07:18.444513372Z",
        "modified_time": "2024-10-02T07:55:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "10a834a37294b0f3aaf52345444f8c5c2a15dde780c8342446c53ecc05d623c0",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-discord-token-lib/osint-tool",
        "import_time": "2025-12-10T21:38:57.662970187Z",
        "modified_time": "2024-10-02T07:55:07Z",
        "sha256": "021db96fc63001447434cd54e4264a624c68527ba98de376627ee718e26f52ce",
        "source": "kam193",
        "versions": [
          "0.1",
          "0.2",
          "0.5",
          "0.4"
        ]
      },
      {
        "id": "pypi/2024-09-discord-token-lib/osint-tool",
        "import_time": "2025-12-30T22:39:04.13721137Z",
        "modified_time": "2024-10-02T07:55:07Z",
        "sha256": "b1826528a64b1a5d346db7a26ccf0ee6de648d2542ea1244040cc644c625ac69",
        "source": "kam193",
        "versions": [
          "0.1",
          "0.2",
          "0.4",
          "0.5"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (10a834a37294b0f3aaf52345444f8c5c2a15dde780c8342446c53ecc05d623c0)\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-12320",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2024-10-02T07:55:07Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/osint-tool"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in osint-tool (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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…