MAL-2026-3705

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/math-array-tools/MAL-2026-3705.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3705
Published
2026-05-13T20:07:56Z
Modified
2026-05-13T21:19:37.412883Z
Summary
Malicious code in math-array-tools (PyPI)
Details

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

Source: kam193 (1b6411ce9c35210436bef6dadb284e5d89ec85c2cc17f970509aa4b5f30c2440)

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": [
        {
            "sha256": "1b6411ce9c35210436bef6dadb284e5d89ec85c2cc17f970509aa4b5f30c2440",
            "import_time": "2026-05-13T21:05:10.361198158Z",
            "modified_time": "2026-05-13T20:11:05.873171Z",
            "versions": [
                "0.250.211"
            ],
            "id": "pypi/2025-06-alembic-util/math-array-tools",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / math-array-tools

Package

Name
math-array-tools
View open source insights on deps.dev
Purl
pkg:pypi/math-array-tools

Affected ranges

Affected versions

0.*
0.250.211

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/math-array-tools/MAL-2026-3705.json"