VYPR

pypi · Malicious package advisory

Malware

python-anchor

GHSA-8hc6-962f-wp86

Malicious code in python-anchor (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 13.3.0`

## Source: kam193 (914b16cbc506c57a77eeed5ae14955bcf3b58fa49da92c2686b56a1d531c5268)
During import, package decrypts and runs a malicious executable. The executable is hidden in an encoded and xored form in the JSON resource file.

This is a follow up of the campaign 2026-03-fastapi-middleware-cors


---

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


Campaign: 2026-03-ariadne-federation


Reasons (based on the campaign):


 - malware


 - obfuscation


 - dependency-confusion


 - typosquatting

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-anchor/MAL-2026-1435.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/python-anchor
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-anchor/MAL-2026-1435.json
- https://www.virustotal.com/gui/file/609d9adb5afe6fb913b605157a86e484f609b939e6755af4311ac6b824e634e2/detection
- https://github.com/advisories/GHSA-8hc6-962f-wp86

Compromised versions (1)

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