VYPR

pypi · Malicious package advisory

Malware

python-bittensor-config-v2

GHSA-5qvx-g972-rgfm

Malicious code in python-bittensor-config-v2 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.1.0`

## Source: kam193 (6f2ecdbc9e024d6dc51c8e5d48941c5aac432db65ad733317aed159d480973cd)
During installation or import, package silently adds a new authorized SSH key. It's closely related to the 2026-05-ninja-core-utils campaign, but there is no built-in crypto exfiltration.


---

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


Campaign: 2026-05-ninja-ssh-proto


Reasons (based on the campaign):


 - backdoor


 - obfuscation

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/python-bittensor-config-v2
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-bittensor-config-v2/MAL-2026-3402.json
- https://github.com/advisories/GHSA-5qvx-g972-rgfm

Compromised versions (1)

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