MAL-2026-18094

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pafex/MAL-2026-18094.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18094
Published
2026-10-20T13:23:10Z
Modified
2026-10-29T14:30:45Z
Summary
Malicious code in pafex (PyPI)
Details

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

Source: amazon-inspector (f048e6c59bed3c95094e9baaf28b7234a917300b81a4c81db0eb0a3f859ff4e3)

No install-time or import-time network I/O, credential access, subprocess execution, or other installer-harm behavior was observed in this package version. No lifecycle hooks performing privileged or external actions, no.pth side effects, and no evidence of exfiltration, dropper, backdoor, or silent-relay patterns.

Source: kam193 (8ad1f51a6f081ac9e46b3d3ffa2d0b9b150b1600caf826d940f4e3d1992cda16)

In this campaign, the main package (resion) has an embeded pickle disguised as a config. A related dependency (pafex) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. During analysis, the final remote payload was just a stub


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

Campaign: 2026-10-webreader

Reasons (based on the campaign):

  • files-exfiltration

  • obfuscation

  • The malicious code is intentionally included in a dependency of the package

  • Downloads and executes a remote malicious script.

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • rat

  • persistence

  • abuses-pth

Database specific
{
    "iocs": {
        "domains": [
            "frjmzbjbhwvtdnsuodmu.supabase.co"
        ],
        "urls": [
            "https://api.npoint.io/40e32d283a9d97e59252/a",
            "https://api.npoint.io/69f11497b6c48bb2b2c5/p"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "pypi/2026-10-webreader/pafex",
            "import_time": "2026-10-20T14:18:32.00111067Z",
            "modified_time": "2026-10-20T13:23:10.441051Z",
            "sha256": "8ad1f51a6f081ac9e46b3d3ffa2d0b9b150b1600caf826d940f4e3d1992cda16",
            "source": "kam193",
            "versions": [
                "2.3"
            ]
        },
        {
            "id": "IN-MAL-2026-022161",
            "import_time": "2026-10-29T14:14:30.992212586Z",
            "modified_time": "2026-10-29T13:56:41Z",
            "sha256": "f048e6c59bed3c95094e9baaf28b7234a917300b81a4c81db0eb0a3f859ff4e3",
            "source": "amazon-inspector",
            "versions": [
                "2.3"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / pafex

Package

Affected ranges

Affected versions

2.*
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
{
    "package_integrity": [
        {
            "filename": "pafex-2.3-py3-none-any.whl",
            "hashes": {
                "blake2b_256": "426d384da44ba204c3dad4c9d1cb5203a35c3573dfe7a4816835e5ebb83c6ee1",
                "md5": "3038e0551a4c7688c72a385bbfc89871",
                "sha256": "081ca1d3213e0fdea322b9bb8ef23fdc0dc04f7f36eb20d94e223997c3e4a2c6"
            }
        },
        {
            "filename": "pafex-2.3.tar.gz",
            "hashes": {
                "blake2b_256": "5a24f079ad5cca6fedffc1e2833db69473e66c07fd57ed147ea2dea8b87f549f",
                "md5": "8df6d9a7be962fcf1505734242e4f450",
                "sha256": "fa64d0ac2b6f53aad612cbb6efdfacaf61df93c647aa8638c207297e892a76d1"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pafex/MAL-2026-18094.json"