MAL-2026-18582

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/zyto/MAL-2026-18582.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18582
Published
2026-11-03T21:46:44Z
Modified
2026-11-13T04:30:04Z
Summary
Malicious code in zyto (PyPI)
Details

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

Source: amazon-inspector (35faf99a6ecb149ee34187bc73d99ff7589f43ec67d61953f0332d2a6b3063e1)

The wheel distribution of zyto 0.2.1 installs a top-level zyto.pth file into site-packages containing import zyto._hook; zyto._hook.fire_once(). Python processes.pth lines that begin with import at every interpreter startup, so this code runs for any Python process on a machine where the wheel is installed, regardless of whether the user imports zyto. The.pth file is present only in the wheel and does not appear in the sdist, so the auto-execute behavior is wheel-specific and is the default on Linux x86_64/aarch64, Alpine, macOS arm64/x86_64, and Windows x86_64. The behavior of zyto._hook.fire_once() could not be traced from the provided evidence.

Source: kam193 (817f92245d406e764c42e8038b2ea559a6bd6deb1706b80e2699e0ab724111a2)

The package ships an executable started during the building of a wheel/installation. It has been identified as malicious by some AV vendors, but primarily it is a preparation to embed a RAT as in another campaign's package.


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

Campaign: 2026-11-filipt

Reasons (based on the campaign):

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

  • malware

  • rat

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "pypi/2026-11-filipt/zyto",
            "import_time":  "2026-11-03T22:11:18.884541881Z",
            "modified_time":  "2026-11-03T21:46:44.508623Z",
            "sha256":  "817f92245d406e764c42e8038b2ea559a6bd6deb1706b80e2699e0ab724111a2",
            "source":  "kam193",
            "versions":  [
                "0.2.0",
                "0.2.1",
                "0.2.2",
                "0.2.3"
            ]
        },
        {
            "id":  "pypi/2026-11-filipt/zyto",
            "import_time":  "2026-11-03T23:11:26.675341171Z",
            "modified_time":  "2026-11-03T21:46:44.508623Z",
            "sha256":  "9c7b4c21143b44acaf9f79a91ed0381fdbdb055010cc03c2d488cbcc899e8fec",
            "source":  "kam193",
            "versions":  [
                "0.2.0",
                "0.2.1",
                "0.2.2",
                "0.2.3"
            ]
        },
        {
            "id":  "IN-MAL-2026-022756",
            "import_time":  "2026-11-13T04:13:30.027530915Z",
            "modified_time":  "2026-11-13T03:41:09Z",
            "sha256":  "35faf99a6ecb149ee34187bc73d99ff7589f43ec67d61953f0332d2a6b3063e1",
            "source":  "amazon-inspector",
            "versions":  [
                "0.2.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / zyto

Package

Affected ranges

Affected versions

0.*
0.2.0
0.2.1
0.2.2
0.2.3

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "artifacts":  [
                "zyto-0.2.1-py3-none-any.whl"
            ],
            "path":  "zyto.pth",
            "sha256":  "8bb69a65c55a9c731740688c7d6cb9c26e6fb00a76774cea37fcc94ed4e89a31"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "zyto-0.2.1-py3-none-any.whl",
            "hashes":  {
                "blake2b_256":  "dada03ae7bc4fa11a77aedca9660e532139af2593d06bb82127c587c7757a1ee",
                "md5":  "ac8144ce8b76b94297ccbf4aa575bd5d",
                "sha256":  "b23eca277e78b6f6931fd0be5c4a888dc8f98a4fcdcee12bb41948adc44ddf7d"
            }
        },
        {
            "filename":  "zyto-0.2.1.tar.gz",
            "hashes":  {
                "blake2b_256":  "881e8c27700293e90a11e7b94c8a1f51ddd5dc436684bce8b7b2bd098ee003c4",
                "md5":  "6034839788f9e92ac23cc8ad5e7c8f22",
                "sha256":  "621b3c4187dc230ea41bd15b867ae1608d98412377e7e77d345f4c15d3284701"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/zyto/MAL-2026-18582.json"