MAL-2026-19259

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/qap793gl4l/MAL-2026-19259.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-19259
Published
2026-11-13T19:47:37Z
Modified
2026-11-20T22:15:02Z
Summary
Malicious code in qap793gl4l (PyPI)
Details

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

Source: amazon-inspector (3e78b140d24e4de0cdeffdfb0bd94d6e6a595fdadf4b68baf18af869badf4ca1)

setup.py overrides the build_py command so that during sdist install it calls hello.fetch(), which downloads hello.bat from raw.githubusercontent.com/misdry01/bookish-octo-lamp/refs/heads/main/hello.bat (a personal GitHub account on the mutable main branch, no pinning, no hash or signature check) and launches it via subprocess.Popen(['cmd.exe','/d','/c', path], creationflags=CREATE_NO_WINDOW), hiding the window. The wheel's bdist_wheel override additionally writes a qap793gl4l_boot.pth file containing 'import qap793gl4l_boot' into the site-packages root, so on every subsequent interpreter start site.py auto-imports qap793gl4l_boot, which re-invokes hello.fetch() and runs the remote batch file the same way. A temp-directory marker gates execution to once per machine but is trivially deletable, making the channel re-armable. vmcheck.py also implements DMI-based VM/sandbox detection, and update() refuses to run inside detected VMs via VMBlockedError, which is analyst-evasion scaffolding consistent with the dropper. The author controls the bytes served from the mutable URL and can change them at any time without republishing the package.

Source: kam193 (3b70be66ff6d01cbf23ac275f3311a3ce40aa24fad549f7b742266d881998946)

Continuation of a campaign executing remote code. During analysis of this package, the remote Github repository did not yet host the malicious code.


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

Campaign: 2026-11-testing1345

Reasons (based on the campaign):

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

  • Downloads and executes a remote malicious script.

  • rat

Database specific
{
    "iocs":  {
        "domains":  [
            "helper-exe.vercel.app"
        ],
        "urls":  [
            "https://helper-exe.vercel.app/hello.bat",
            "https://file.garden/autlsl_4glu4x2U5/c_b8a1b1.zip",
            "https://file.garden/autlsl_4glu4x2U5/m_7cf722",
            "https://pomf2.lain.la/f/qj4sh0sj.png",
            "https://raw.githubusercontent.com/misdry01/bookish-octo-lamp/refs/heads/main/hello.bat"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "pypi/2026-11-testing1345/qap793gl4l",
            "import_time":  "2026-11-13T20:11:32.344196339Z",
            "modified_time":  "2026-11-13T19:47:37.731285Z",
            "sha256":  "3b70be66ff6d01cbf23ac275f3311a3ce40aa24fad549f7b742266d881998946",
            "source":  "kam193",
            "versions":  [
                "0.1.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-022779",
            "import_time":  "2026-11-14T20:36:15.1955449Z",
            "modified_time":  "2026-11-14T20:22:57Z",
            "sha256":  "3e78b140d24e4de0cdeffdfb0bd94d6e6a595fdadf4b68baf18af869badf4ca1",
            "source":  "amazon-inspector",
            "versions":  [
                "0.1.1"
            ]
        },
        {
            "id":  "pypi/2026-11-testing1345/qap793gl4l",
            "import_time":  "2026-11-20T22:10:25.79453283Z",
            "modified_time":  "2026-11-13T19:47:37.731285Z",
            "sha256":  "b919c040783dcc5bf29c659b0dde2ab38ba66f7dbea2af624cc7ce4360ad0000",
            "source":  "kam193",
            "versions":  [
                "0.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / qap793gl4l

Package

Name
qap793gl4l
View open source insights on deps.dev
Purl
pkg:pypi/qap793gl4l

Affected ranges

Affected versions

0.*
0.1.1

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":  [
                "qap793gl4l-0.1.1.tar.gz"
            ],
            "path":  "setup.py",
            "sha256":  "cd4831a0b2730d28879532c3a436e091f9e9908418dbe99b9e8ed9ab1a2993ee",
            "tlsh":  "0a7185b788009bb2d78141b1614fc3ba933545337bd0516078ef856c0f9f0aa85b75e5"
        },
        {
            "artifacts":  [
                "qap793gl4l-0.1.1.tar.gz"
            ],
            "path":  "src/qap793gl4l_boot.py",
            "sha256":  "8aee0b5523b3819918def798eb268b040e19e41c840c37699642588f8b5f3c09",
            "tlsh":  "b52120b3a60196328b11d138955ec36de33da826bdda5164b8acc0393bda12fc2f5385"
        },
        {
            "artifacts":  [
                "qap793gl4l-0.1.1.tar.gz"
            ],
            "path":  "src/qap793gl4l/vmcheck.py",
            "sha256":  "37665cc02be8864ea6426a2dfbf39f4d1ddbcc7c47f67a9eb3fa3d665eaed35a",
            "tlsh":  "91625187e5247ca2894780658c5bd182ab3134431e5034357afcc168bf6e95fa3bdbbe"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "qap793gl4l-0.1.1.tar.gz",
            "hashes":  {
                "blake2b_256":  "e0b8673e7c1ee30c6ccd5d017b044296628021cc34eeec8523cab8ea6f9964ea",
                "md5":  "12d61230b00898460efc91ff91151e48",
                "sha256":  "99c530ee926291a5a4281de5d94757fb6071a6bccde2a2e1b9c65a6d5ab21de6"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/qap793gl4l/MAL-2026-19259.json"