Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

jython-filePyPI

Malicious code in jython-file (PyPI) Remove it immediately and rotate any exposed credentials.

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

What this malware does

Package attempts to load in an obfuscated way a code from a file (not included in the package) as well as inject a dynamic library to the Python dynamic libs directories.

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

Campaign: 2025-07-jython-file

Reasons (based on the campaign):

  • modify-system-without-consent

  • obfuscation

Malicious versions

3 flagged
0.9999999990.99999999991.99999999999

Indicators of compromise (SHA-256)

8d77188ac0d4b558f8f4e150d8d2ad48b0014ee54dce2038c3805a6268cde605
fc56f6ba4b75b25d4289c3aa3cb1d05f9b1d7bbfacf00b11e270d76ba87a1a3e
ee9867ffff34d570006ef0456a9108963b8ee67dc85559c72501474550f1622c

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for jython-file (3 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging jython-file across your stack and pipelines.

  2. If you installed it — respond

    jython-file 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 jython-file was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks jython-file before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. jython-file on PyPI has been identified as a malicious package (versions 0.999999999, 0.9999999999, 1.99999999999 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

2025-07-jython-file

References

Credits

  • Kamil Mańkowski (kam193)

Detect & block this

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

jython-file (PyPI) malicious package — MAL-2025-191771 | O3 Security