Malicious code in pyuserfox (PyPI)
- MAL-2026-18754
Description
The module pyuserfox/agent.py, when imported, downloads a shell script from a hard-coded URL to /tmp, runs it with bash with all output discarded, then tries to delete it; any error is silently swallowed. The package's metadata and README present it as a copy of the argparse command-line parsing library, which it does not contain. Version examined: 0.0.2; sdist SHA-256 0735e378d4c384183d5576325d23a648d07053684fe7e1d8144705dbb45b0e02. During import, package silently download and executes remote code. There is no other action. During analysis, the remote code was no longer accessible. The campaign was originally discovered by Threx-code. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-11-old-pyuserfox Reasons (based on the campaign): - Downloads and executes a remote malicious script.
Text from the OSV record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
pyuserfoxPyPI
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.