VYPR

pypi · Malicious package advisory

Malware

ninja-ssh-proto

GHSA-jh4h-3vh8-5r5m

Malicious code in ninja-ssh-proto (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.2`

## Source: kam193 (84f71e430b37d8fe0ee6c72826071159bb146664fe17d9a596f6e611579851f7)
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/ninja-ssh-proto/MAL-2026-3398.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/ninja-ssh-proto
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ninja-ssh-proto/MAL-2026-3398.json
- https://github.com/advisories/GHSA-jh4h-3vh8-5r5m

Compromised versions (1)

  • = 1.0.2

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