NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: 2024-08-embeds-RealtekHDAudioManager published 40 malicious packages. See the full campaign →
Malicious package

roinjectPyPI

Advisory published Updated

roinject is a confirmed malicious PyPI package (MAL-2024-10158) that steals credentials and exfiltrates sensitive data (malicious version 0.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in roinject (PyPI)

MAL-2024-10158
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall roinject

What this malware does

Importing a module starts downloading and executing an infostealer, widely identified by AV/sandboxes.

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

Campaign: 2024-08-embeds-RealtekHDAudioManager

Reasons (based on the campaign):

  • infostealer

  • Downloads and executes a remote executable.

Malicious versions

1 flagged
0.0.1

Indicators of compromise (SHA-256)

426bedb2e74a614889b486cbd97376db0265f39b96400b7d4ba5b02e8af64522
ebcebeb148509d0345e7030619ab650d2521222a30e3ab010a51cfe877fbe899
abe077384854dc3572befe16d9f41d68fec2a7dbbc8d38884c526bacf0447318
b6f915859eb0a4b87bc6b8067bf8ccbc3598b35aab079067c313b0d47be13581
616574099147c88cfaf2437a6e541e2ff44eb7e6abf46f80d1a0ed09345d041c

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for roinject (version 0.0.1).

  2. If you installed it — respond

    roinject 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 roinject 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. roinject on PyPI has been identified as a malicious package (version 0.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-092192024-08-embeds-RealtekHDAudioManagerRLUA-2026-00728

References

Credits

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

Detect & block this

O3 blocks roinject-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

roinject (PyPI) malicious package — MAL-2024-10158 | O3 Security