Malicious package · PyPI
Malicious code in pyuserfox (PyPI)
0.0.2No safe version. Remove it.What it does
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.
No fix · Remove and contain
pip uninstall pyuserfoxSources