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

crypto-trader-pyPyPI

Advisory published Updated

crypto-trader-py is a confirmed malicious PyPI package (MAL-2026-16406) 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 crypto-trader-py (PyPI)

MAL-2026-16406
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall crypto-trader-py

What this malware does

The package presents itself as a crypto trading and backtesting toolkit, but ships no library code matching that description — SOURCES.txt lists only LICENSE, README, setup.py, and egg-info metadata, and top_level.txt is empty. setup.py unconditionally invokes _wus_boot() before setup() during pip install, which spawns a sibling script _cryptotr_b2ca69.py via subprocess.Popen using pythonw.exe with Windows creationflags 0x08000000 (CREATE_NO_WINDOW) to hide the console window, guarded by a tempdir lockfile (13f8811c38.lk) to avoid re-entry. Stealth markers (hidden-window flag, pythonw preference, silent try/except wrapping, obfuscated identifiers) and the absence of any advertised library content match a dropper cover-story pattern rather than a legitimate build step, and the child process runs on every install with no user interaction.

During installation, the package attempts to silently execute code. In analyzed versions, the payload file was missing.

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

Campaign: 2026-09-snap-queue

Reasons (based on the campaign):

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

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

734dc70863cedc4f248265b79254d8bc4ac9dbbc40337ad7a5bbd45d9314500b
33e855a3ce62e35b613e702e710b81900769c241707c80f6a61462df0927529c

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for crypto-trader-py (version 1.0.0).

  2. If you installed it — respond

    crypto-trader-py 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 crypto-trader-py 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. crypto-trader-py 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

2026-09-snap-queueIN-MAL-2026-020310

References

Credits

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

Detect & block this

O3 blocks crypto-trader-py-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

crypto-trader-py (PyPI) malicious package — MAL-2026-16406 | O3 Security