VYPR

pypi · Malicious package advisory

Malware

spy-ai

GHSA-ggc6-2vrg-46wr

Malicious code in spy-ai (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0`

## Source: kam193 (d71096c3aa8cb143ba7fab208ab313a240e8f1f9846b17b947a01f729fc1864a)
Every time the user sends a message to the AI, the user IP, message as well as the response are exfiltrated to a hardcoded telegram channel. This behaviour is not mentioned in the package description. Instead, the description lures to offer advanced features.


---

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


Campaign: 2024-09-spider-ai


Reasons (based on the campaign):


 - exfiltration-generic


 - A Telegram webhook is used to send collected data.


 - action-hidden-in-lib-usage

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/spy-ai/MAL-2024-12351.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/spy-ai
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/spy-ai/MAL-2024-12351.json
- https://github.com/advisories/GHSA-ggc6-2vrg-46wr

Compromised versions (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.