NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: 2025-11-mescouilles published 10 malicious packages. See the full campaign →
Malicious package

pyrtpPyPI

Advisory published Updated

pyrtp is a confirmed malicious PyPI package (MAL-2025-191837) that steals credentials and exfiltrates sensitive data (malicious version 1.6.3). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in pyrtp (PyPI)

MAL-2025-191837
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall pyrtp

What this malware does

Importing the module starts an infostealer

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

Campaign: 2025-11-mescouilles

Reasons (based on the campaign):

  • infostealer

  • infostealer:kiwi

  • infostealer:cstealer

  • exfiltration-generic

  • exfiltration-browser-data

  • exfiltration-credentials

  • files-exfiltration

  • The package contains code to detect if it is running in a sandbox environment.

Malicious versions

1 flagged
1.6.3

Indicators of compromise (SHA-256)

aa0c802d07e0be7449ee0dccb13e77216fe119a24b1f1addae74898cc12ff943
f77b4d5bf456d6805b724bbedc6baa9f7fb3cc95e6ab6aace6861bfcd56aec1f
fe83bd74c533c8dddfc3bf5fc817f5d46d9a0fafbb4b6b1c29fd79b08bff9ffe
6b5b0bdbdeb18681d84c156a2dd060ba28fa8b05b8adb1365715a2acccff2be6
1685c18348de405fffa3d85618f7ec2c12164097a1a5cfa266f66675597f895f

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for pyrtp (version 1.6.3).

  2. If you installed it — respond

    pyrtp is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If pyrtp was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. pyrtp on PyPI has been identified as a malicious package (version 1.6.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

2025-11-mescouillesRLMA-2025-06583RLUA-2026-00644

References

Credits

  • Kamil Mańkowski (kam193)
  • ReversingLabs · finder

Detect & block this

O3 blocks pyrtp-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

pyrtp (PyPI) malicious package — MAL-2025-191837 | O3 Security