NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

amzn-aws-glue-ml-libs-pythonPyPI

Advisory published Updated

amzn-aws-glue-ml-libs-python is a confirmed malicious PyPI package (MAL-2025-2935) that executes malicious code on install (malicious versions 6.1.4, 6.1.5). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in amzn-aws-glue-ml-libs-python (PyPI)

MAL-2025-2935
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall amzn-aws-glue-ml-libs-python

What this malware does

This is a couple of packages with names appearing to be a library for an AWS or other service. Their only behaviour is to call home on installation or import

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: 2025-01-aws-glue

Reasons (based on the campaign):

  • dependency-confusion

Malicious versions

2 flagged
6.1.46.1.5

Indicators of compromise (SHA-256)

50a4c23101d3bb94cd734d0ade035d8b9188327efda3cb49ec70efeed0246ffb
d8250beb8610469df1506aa44289e691985e76a46c6f370408caa33cd36b197d
e5986d73558862130dbb1317c6a92532786ec34f23d4d88c8fd6273198c5ce45
f121b6a2c2be694bcd440ce550f82d241988499c5d6f807ecc902834bfa51670
ad3ad177a3fa2f5f31aef1ea3656815ac8316acfbf40fec74d13abaa6b1c3df9

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for amzn-aws-glue-ml-libs-python (2 malicious versions).

  2. If you installed it — respond

    Remove amzn-aws-glue-ml-libs-python from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If amzn-aws-glue-ml-libs-python 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. amzn-aws-glue-ml-libs-python on PyPI has been identified as a malicious package (versions 6.1.4, 6.1.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2025-019332025-01-aws-glueRLUA-2026-00062

References

Credits

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

Detect & block this

O3 blocks amzn-aws-glue-ml-libs-python-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

amzn-aws-glue-ml-libs-python (PyPI) malicious package — MAL-2025-2935 | O3 Security