wei516-tpa (PyPI) · Malicious Code
Affects wei516-tpaSource GCVE Database
Malicious package : remove wei516-tpa and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:56 UTC
Malicious package
Published to PyPI · OSV MAL-2025-191931
What to do
Remove wei516-tpa from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIwei516-tpa | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The wei516-tpa package on PyPI contains malicious code masquerading as an MCP server but actually attempts to bypass safeguards of large language model (LLM) agents. The package appears to be research or pentest-related with low harm potential, as it only returns a flag upon request. No active exploitation in the wild is reported.