MAL-2026-18754

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pyuserfox/MAL-2026-18754.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18754
Published
2026-11-07T23:44:24Z
Modified
2026-11-09T23:15:37Z
Summary
Malicious code in pyuserfox (PyPI)
Details

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.


-= Per source details. Do not edit below this line.=-

Source: kam193 (23edaa0c720d313b1598b1391f83081eab817e337c65033b28755ad7f46af0dd)

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.
Database specific
{
    "iocs":  {
        "urls":  [
            "https://dark.devsecwise.com/xmnp.sh"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "pypi/2026-11-old-pyuserfox/pyuserfox",
            "import_time":  "2026-11-08T00:33:31.834957521Z",
            "modified_time":  "2026-11-07T23:44:24.849195Z",
            "sha256":  "23edaa0c720d313b1598b1391f83081eab817e337c65033b28755ad7f46af0dd",
            "source":  "kam193",
            "versions":  [
                "0.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / pyuserfox

Package

Affected ranges

Affected versions

0.*
0.0.2

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pyuserfox/MAL-2026-18754.json"