NetSight
unscoredMalware report

MAL-2026-20331

Malicious code in solblock (PyPI)

Impact

The package exposes a single public function, solblock.fetch(), whose default behavior is to download a file from the hardcoded URL https://raw.githubusercontent.com/misdry01/g/refs/heads/main/test.bat (a personal GitHub account, mutable main branch, no pin, no hash, no signature check) and execute it. The launcher explicitly conceals the spawned payload: on Windows it uses subprocess.Popen with creationflags=DETACHED_PROCESS|CREATE_NO_WINDOW; on POSIX it uses start_new_session=True; stdin/stdout/stderr are all redirected to DEVNULL and the parent returns immediately. Any caller of fetch() runs whatever bytes the repository owner currently serves, with no visibility into what executed. SOLBLOCK_URL and an explicit argument can override the URL, but the shipped default routes callers to author-controlled, mutable code. Package is prepared to deliver remote malicious code. During analysis, the remote code from GitHub is benign, but the same repository already holds a RAT executable and was used in previous attempts. 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

Affected packages

EcosystemPackageAffectedFixed in
pipsolblockunknownnone recorded

Weakness classification

References