Use of software with malware In solblock
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version |
|---|---|---|
pypi |
Aliases
References