MAL-2026-3700

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/alembic-util/MAL-2026-3700.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3700
Published
2026-05-13T20:03:32Z
Modified
2026-05-13T21:20:31.325101Z
Summary
Malicious code in alembic-util (PyPI)
Details

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

Source: kam193 (8e9b764ee0ccd6a2c6c2db1b7722f083ee9f643cb99d03821d5e6571f68db253)

During installation, package exfiltrates some basic info to a GitHub issue comment, and then attempt to set up a persistent infostealer focused on exfiltrating crypto wallets and browsers data. Likely continuation of 2026-05-py-requests


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-06-alembic-util

Reasons (based on the campaign):

  • infostealer

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • crypto-related

  • Downloads and executes a remote malicious script.

  • exfiltration-browser-data

  • exfiltration-crypto

  • persistence

  • typosquatting

Database specific
{
    "iocs": {
        "urls": [
            "https://api.github.com/repos/guellemilb/c2-relay/issues/1/comments",
            "https://gist.githubusercontent.com/guellemilb/631fb6348967d9d475125edf67048c0e/raw/build_utils.py/raw/pyrat_light.py",
            "https://gist.githubusercontent.com/guellemilb/631fb6348967d9d475125edf67048c0e/raw/build_utils.py"
        ]
    },
    "malicious-packages-origins": [
        {
            "import_time": "2026-05-13T21:05:10.357956686Z",
            "source": "kam193",
            "sha256": "8e9b764ee0ccd6a2c6c2db1b7722f083ee9f643cb99d03821d5e6571f68db253",
            "modified_time": "2026-05-13T20:03:32.449005Z",
            "versions": [
                "0.189.33"
            ],
            "id": "pypi/2025-06-alembic-util/alembic-util"
        }
    ]
}
References
Credits

Affected packages

PyPI / alembic-util

Package

Affected ranges

Affected versions

0.*
0.189.33

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/alembic-util/MAL-2026-3700.json"