# GHSA-5W9Q-GW92-3WQ8: Malicious code in rrs (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-21
- Modified: 2026-09-23

## Affected versions

- rrs (PyPI): 0.4.105
- rrs (PyPI): 0.3.100
- rrs (PyPI): 0.4.106
- rrs (PyPI): 0.4.103
- rrs (PyPI): 0.4.102
- rrs (PyPI): 0.4.104
- rrs (PyPI): 0.3.5
- rrs (PyPI): 0.1.0
- rrs (PyPI): 0.1.3
- rrs (PyPI): 0.1.4
- rrs (PyPI): 0.1.5
- rrs (PyPI): 0.1.7
- rrs (PyPI): 0.1.8
- rrs (PyPI): 0.2.0
- rrs (PyPI): 0.2.1
- rrs (PyPI): 0.2.2
- rrs (PyPI): 0.3.101
- rrs (PyPI): 0.4.107
- rrs (PyPI): 0.4.108
- rrs (PyPI): 0.4.109

## Description

## 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
- https://bad-packages.kam193.eu/pypi/package/rrs
- https://github.com/ossf/malicious-packages/blob/3ba20c4542cb0bdca5937d964a383131c2a55aa6/osv/malicious/pypi/rrs/MAL-2026-16346.json
- https://github.com/ossf/malicious-packages/blob/7472198c41a4f2e84042517b2779dc96a7e527af/osv/malicious/pypi/rrs/MAL-2026-16346.json
- https://pypi.org/project/rrs/0.4.107
- https://pypi.org/project/rrs/0.4.108
- https://pypi.org/project/rrs/0.4.109
- https://github.com/ossf/malicious-packages/blob/8aeac09fe11dc4e08cd35bb90d437fef2a98d803/osv/malicious/pypi/rrs/MAL-2026-16346.json
- https://pypi.org/project/rrs/0.1.0
- https://pypi.org/project/rrs/0.1.3
- https://pypi.org/project/rrs/0.1.4
- https://pypi.org/project/rrs/0.1.5
- https://pypi.org/project/rrs/0.1.7
- https://pypi.org/project/rrs/0.1.8
- https://pypi.org/project/rrs/0.2.0
- https://pypi.org/project/rrs/0.2.1
- https://pypi.org/project/rrs/0.2.2
- https://github.com/advisories/GHSA-5w9q-gw92-3wq8

Page: https://cve.now/GHSA-5W9Q-GW92-3WQ8

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
