VYPR

pypi · Malicious package advisory

Malware

identityapi

GHSA-wpr7-65wx-f3rh

Malicious code in identityapi (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 3.0.0`

## Source: kam193 (45946e31faffbed940c8acb3656be0d5f25de7db36f58766cdac44a1e7d6150b)
During import, only in specific environments, a module containing code disguised as telemetry is imported. This code then exfiltrates sensitive environment variables and cloud tokens to a hardcoded location, as well as starts a job listening for commands to execute. Likely dependency confusion attempts


---

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


Campaign: 2026-02-amigapythonupdater


Reasons (based on the campaign):


 - exfiltration-generic


 - exfiltration-env-variables


 - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.


 - dependency-confusion

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/identityapi
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/identityapi/MAL-2026-1141.json
- https://github.com/advisories/GHSA-wpr7-65wx-f3rh

Compromised versions (1)

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