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

pytohPyPI

Advisory published Updated

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

Malicious code in pytoh (PyPI)

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

What this malware does

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

Campaign: funcaptcha-ru

Reasons (based on the campaign):

  • infostealer

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

df852e04e592e5612b1f6b189e32ce0e44bac07d9ec768b5431d72eda44f6cfe
835d31fd59c62c814742ac21d2ecde0e04a2e73fd4477edcb8dadcf8a307a22a
432fe7421d089148bcff4fba39b4508deef5be4af8e733393e90ccb752ed343b
23dc7f982b6f5ef161518cfbd9d45037c3fbe783b46f1ef0519d26847304c6ea

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for pytoh (version 1.0.0).

  2. If you installed it — respond

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

Campaign

RLMA-2024-09076funcaptcha-ru

References

Credits

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

Detect & block this

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

pytoh (PyPI) malicious package — MAL-2024-10139 | O3 Security