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

pytohnPyPI

Advisory published Updated

pytohn is a confirmed malicious PyPI package (MAL-2024-10140) 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 pytohn (PyPI)

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

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)

ea216a31850f3c4a2a2f6939996d43613a7c49020949063567692650415438c5
5113957e820400a8afa9b6e9c048eea0c151405d5cecd5d9afc44dba8d484a07
60c9cda971f6009c995eaab8ccd5f6e9137cd665525bbbd028a3b8d2b5a1b00f
01279e8626d64e0913fefdc58f78ad830f6c4a0493dc1dc13015049e9d65085f

Detection & response playbook

Credential / info stealer
  1. Find it

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

  2. If you installed it — respond

    pytohn 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 pytohn 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. pytohn 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-09077funcaptcha-ru

References

Credits

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

Detect & block this

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

pytohn (PyPI) malicious package — MAL-2024-10140 | O3 Security