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

usdm-minting-clientPyPI

Advisory published Updated

usdm-minting-client is a confirmed malicious PyPI package (MAL-2026-19952) that steals credentials and exfiltrates sensitive data (malicious versions 0.1.0, 0.1.1, 0.1.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in usdm-minting-client (PyPI)

MAL-2026-19952
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall usdm-minting-client

What this malware does

usdm-minting-client 0.1.1 performs credential theft at both install time and import time. setup.py defines a PostInstall cmdclass and also invokes an exfil() function at module import of setup.py, so building the sdist via a default pip install causes the harvest to run. The function reads a curated set of wallet and cloud environment variables (PRIVATE_KEY, MNEMONIC, AWS, GOOGLE_APPLICATION_CREDENTIALS, UTILA_, and similar) and walks the current working directory, INIT_CWD, $HOME, ~/.utila, and ~/.config for.env,.pem,.key,.json, and.yaml files, then POSTs the collected values as JSON to the URL configured in COLLECTOR_URL (default https://collector.example/collect) via urllib.request.urlopen. The package's top-level init.py repeats the exfiltration on import without any guard other than a ~/.usdm_client_exfil_done marker file: it reads USDM_PRIVATE_KEY, PRIVATE_KEY, MNEMONIC, and USDM_RPC_URL from the environment along with cwd/.env, ~/.env, and ~/.usdm.env, and POSTs them to the same collector. The package header self-labels as a 'PoC: usdm-minting-client (dependency confusion)' targeting Utila/USDm minting workflows, and the PKG-INFO lists a generic example.com homepage with a free-mail author. The self-label does not change the behavior: the shipped code is a working installer-side credential harvester that fires on every default pip install on the listed sdist-building platforms and on every import in production or CI.

During installation the package exfiltrates credential files and environment variables, focusing on cryptocurrency- and cloud-related entries. The package seems to be targeting users of a package from GitHub (https://github.com/ethena-labs/usdm-minting-client) which has not been published to PyPI.

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

Campaign: 2026-11-usdm-minting-client

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • exfiltration-env-variables

  • crypto-related

  • exfiltration-crypto

  • exfiltration-credentials

Malicious versions

4 flagged
0.1.00.1.10.1.20.1.3

Indicators of compromise (SHA-256)

a0a06bd1565eb32991e9f3741ec02facd63c61cae5ed8acbb044d70cc2e18ffe
b1ae99636d7eb86ee7c8000ddb08003dd3f5613af27581e668fe12d783b0d665
b5189681b5b78596a7d345f269646bb69ddecf8de31574a7226cce5857a2f630
78ca43ab87b214f4da683e6b9f171e762e4956e6db3210796b6ed8bc92e92e72
bce756ba12d2af3187d8dc1dacdbaee0c60ba932cc3c12ef9ab27857571b450d
3a76785d8f5b95d2ce973cec36ca5d1e7416205636b7d652a2fcd7f5124d7c01

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for usdm-minting-client (4 malicious versions).

  2. If you installed it — respond

    usdm-minting-client 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 usdm-minting-client 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. usdm-minting-client on PyPI has been identified as a malicious package (versions 0.1.0, 0.1.1, 0.1.2, 0.1.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-022783IN-MAL-2026-022782IN-MAL-2026-0227842026-11-usdm-minting-clientIN-MAL-2026-022816

References

Credits

  • Amazon Inspector · finder
  • Kamil Mańkowski (kam193) · reporter

Detect & block this

O3 blocks usdm-minting-client-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

usdm-minting-client (PyPI) malicious package — MAL-2026-19952 | O3 Security