pypi · Malicious package advisory
Malwarerrs
GHSA-5w9q-gw92-3wq8
Malicious code in rrs (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.4.105` ## Source: amazon-inspector (78c488c5d20c788e88c2d4f0a0cb1eb03317bc71edb05964adad62241fd1295e) On launch of the `rrs` CLI, a background thread captures a full-screen screenshot via `mss` and POSTs the image together with hostname, username, OS/release, local IP, and timestamp to a hardcoded Discord webhook at https://discord.com/api/webhooks/1549807268294303860/... The upload runs unconditionally at startup, with no consent prompt and no user-configurable destination; the webhook is controlled by the package author and is not disclosed as a destination for screen contents. Separately, `Network.start` opens an MQTT connection to the public broker `broker.hivemq.com:1883` and publishes a JSON identity record (id, hostname, username, os) to the shared topic `rrs/v1/presence` every 5 seconds, exposing installer host and user identifiers to any subscriber of that world-readable topic. Screen contents typically include private data, credentials, tokens, and messages visible on the desktop at the moment of capture. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6a1d1a3b293502e4014d2ebe4f109303aaa0c236/osv/malicious/pypi/rrs/MAL-2026-16346.json)) **References:** - https://github.com/ossf/malicious-packages/blob/6a1d1a3b293502e4014d2ebe4f109303aaa0c236/osv/malicious/pypi/rrs/MAL-2026-16346.json - https://pypi.org/project/rrs/0.3.100 - https://pypi.org/project/rrs/0.3.5 - https://pypi.org/project/rrs/0.4.102 - https://pypi.org/project/rrs/0.4.103 - https://pypi.org/project/rrs/0.4.104 - https://pypi.org/project/rrs/0.4.105 - https://pypi.org/project/rrs/0.4.106
Compromised versions (1)
- = 0.4.105
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.