Skip to content
OpenAdvisories
Malicious MAL-2024-12257

discord-token-lib

PyPI package · versions 0.1

Reported Oct 2, 2024 · Updated Dec 12, 2025

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (44f591d196b048c4cad8da1cc1399681e22a2d5786fb212fda7c920aed8c2b07)
*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

Indicators of compromise

Shown defanged and not clickable. Search any indicator to find other packages using it.

URLs

  • hxxps://discord[.]com/api/webhooks/1271645951026659339/wWCSAlPG3TuhycH7ex6h9O48nKdFn4G55WUk4-lgay4RQTpCbbt-DYuo9jLIHYEReQKj other packages →