# MAL-2026-20331: Malicious code in solblock (PyPI)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-11-22
- Modified: 2026-11-23

## Affected versions

- solblock (PyPI): 0.2.2, 0.2.3

## Description

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

## References

- https://tria.ge/261113-wal5qset2s
- https://www.virustotal.com/gui/file/ce97b675a86bfff5e73e218e8d9d17458857d2328b1b55acd87f644001ca865f/detection
- https://github.com/misdry01/g/
- https://bad-packages.kam193.eu/pypi/package/solblock
- https://pypi.org/project/solblock/0.2.2/

Page: https://cve.now/MAL-2026-20331

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
