NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Part of a larger attack: 2025-11-wayspirit published 8 malicious packages. See the full campaign →
Malicious package

wayspiritmcp-tpaPyPI

Advisory published Updated

wayspiritmcp-tpa is a confirmed malicious PyPI package (MAL-2025-191926) that executes malicious code on install (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 wayspiritmcp-tpa (PyPI)

MAL-2025-191926
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall wayspiritmcp-tpa

What this malware does

Package seems to provide an MCP server, but in fact contains attempts to make an LLM agent break safeguards. As the request is about leaves just a flag, it seems to be research.

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-11-wayspirit

Reasons (based on the campaign):

  • llm-threat

Malicious versions

4 flagged
0.1.00.1.10.1.20.1.3

Indicators of compromise (SHA-256)

cf7266476ff9da6367d49cc38fb80547ca59df4a1cc82533d39e147c59f32b7e
523cbbda7a0fda2addfcd432b1bfcc1df072ee67a593ffce535b7da7005caae8
4029a79f3ddeba0f6a5613815b682e027dc2f3d7c66c47bb8fc23ab4de315c8f

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for wayspiritmcp-tpa (4 malicious versions).

  2. If you installed it — respond

    Remove wayspiritmcp-tpa 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 wayspiritmcp-tpa 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. wayspiritmcp-tpa 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

2025-11-wayspirit

References

Credits

  • Kamil Mańkowski (kam193)

Detect & block this

O3 blocks wayspiritmcp-tpa-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

wayspiritmcp-tpa (PyPI) malicious package — MAL-2025-191926 | O3 Security