Malicious code in rrs (PyPI)
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 discord.com/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.
---
Affected versions
References
GitHub · ossf/malicious-packages
pypi.org
- project/rrs/0.3.100
- project/rrs/0.3.5
- project/rrs/0.4.102
- project/rrs/0.4.103
- project/rrs/0.4.104
- project/rrs/0.4.105
- project/rrs/0.4.106
- project/rrs/0.4.107
- project/rrs/0.4.108
- project/rrs/0.4.109
- project/rrs/0.1.0
- project/rrs/0.1.3
- project/rrs/0.1.4
- project/rrs/0.1.5
- project/rrs/0.1.7
- project/rrs/0.1.8
- project/rrs/0.2.0
- project/rrs/0.2.1
- project/rrs/0.2.2