VYPR

pypi · Malicious package advisory

Malware

graphdict

GHSA-7mcp-pf2p-p54j

Malicious code in graphdict (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 3.4.0`

## Source: kam193 (d6536224bd962025c65671a0007df1998dbc9485dfb2d628b0a0d57ab916487e)
Malicious clone of legitimate networkx package with added hidden encrypted code. The exact behaviour unclear as it uses decryption key based on the arguments and config files


---

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


Campaign: 2025-07-graphdict


Reasons (based on the campaign):


 - Downloads and executes a remote malicious script.


 - obfuscation


 - clones-real-package

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/graphdict/MAL-2025-6515.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/graphdict
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/graphdict/MAL-2025-6515.json
- https://www.reversinglabs.com/blog/fake-recruiter-campaign-crypto-devs
- https://github.com/advisories/GHSA-7mcp-pf2p-p54j

Compromised versions (1)

  • = 3.4.0

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