VYPR

pypi · Malicious package advisory

Malware

graphsync

GHSA-hwjf-7frm-6g28

Malicious code in graphsync (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.1.1`

## Source: kam193 (dbb10327d6553750848c2b849abba1ed717438928a6cfdc148b73de73db8e9db)
This is a malicious copy of the networkx package. It contains an obfuscated script that downloads and runs further scripts from one of multiple locations, and perform covering tracks by removing the modified code and all references to it. During the analysis, most of remote URLs did not serve any meaningful content, so the final goal is unknown.


---

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


Campaign: 2025-12-graphnode


Reasons (based on the campaign):


 - obfuscation


 - Downloads and executes a remote malicious script.


 - clones-real-package

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/graphsync
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/graphsync/MAL-2025-192385.json
- https://www.reversinglabs.com/blog/fake-recruiter-campaign-crypto-devs
- https://github.com/advisories/GHSA-hwjf-7frm-6g28

Compromised versions (1)

  • = 1.1.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.