MAL-2026-20955

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/reuquests/MAL-2026-20955.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20955
Published
2026-12-01T00:00:00Z
Modified
2026-12-02T04:00:07Z
Summary
Malicious code in reuquests (PyPI)
Details

reuquests is a typosquat of requests that copies requests 2.28.2 and installs a top-level 'requests' module, so the payload runs whenever 'requests' is imported (including by other libraries), not at install time. requests/init.py adds dwarfvoice(), called at module level: unless ~/.nope exists (a run-once marker created after a successful upload), it silences stdout/stderr for the rest of the process, collects ~/.ssh/id_rsa, ~/.ssh/known_hosts, ~/.bash_history, the login name, directory listings of the working and home directories and the contents of every file in the working directory, gzips them to res.gz (left in the working directory) and POSTs the data to hxxp://azazell[.]pythonanywhere[.]com/log. The package has been removed from PyPI; this analysis is based on the archived source distribution of 2.28.2 (DataDog malicious-software-packages-dataset). It is part of a small 'Albert Xor' campaign from 2023-03-20 with the flask typosquat flsak, which uses the same PythonAnywhere host.

Database specific
{
    "iocs":  {
        "domains":  [
            "azazell.pythonanywhere.com"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "8f1eb839e01b5561277527151952913e2c4ac4629b4d430910233c287ec6351d"
                },
                "note":  "malicious file (v2.28.2)",
                "paths":  [
                    "reuquests-2.28.2/requests/__init__.py"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "http://azazell.pythonanywhere.com/log"
        ]
    }
}
References
Credits
    • Radesh Govind - FINDER

Affected packages

PyPI / reuquests

Package

Affected ranges

Affected versions

2.*
2.28.2

Database specific

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