VYPR

pypi · Malicious package advisory

Malware

titan-osint

GHSA-mrr5-mv88-x6wf

Malicious code in titan-osint (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1`

## 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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/titan-osint/MAL-2024-11728.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/titan-osint
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/titan-osint/MAL-2024-11728.json
- https://github.com/advisories/GHSA-mrr5-mv88-x6wf

Compromised versions (1)

  • = 0.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.