MAL-2026-20331

Vulnerability from ossf_malicious_packages – Published: 2026-11-22 17:46 – Updated: 2026-11-23 00:34 – Source website
Malicious package
Summary
Malicious code in solblock (PyPI)
Affected package
Ecosystem Package Versions
PyPI solblock
0.2.20.2.3
Details
Amazon Inspector IN-MAL-2026-023033 Reported 2026-11-22 23:58

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.

kam193 pypi/2026-11-testing1345/solblock Reported 2026-11-22 17:52

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

Indicators
Type Indicator Hashes
Domain helper-exe.vercel.app
URL https://helper-exe.vercel.app/hello.bat
URL https://file.garden/autlsl_4glu4x2U5/c_b8a1b1.zip
URL https://file.garden/autlsl_4glu4x2U5/m_7cf722
URL https://pomf2.lain.la/f/qj4sh0sj.png
URL https://raw.githubusercontent.com/misdry01/bookish-octo-lamp/refs/heads/main/hello.bat
URL https://raw.githubusercontent.com/misdry01/g/refs/heads/main/test.bat
Evidence file solblock/core.py
sha256 178eb627b012252b6a697181c437ee68c650d690fedeb92f86f3cda51f043a85
tlsh 8f7183c68cd3750283b652bb591ad9a6e32393432e624111f92cc6e07f39867ca749ac
Package archive solblock-0.2.2-py3-none-any.whl
blake2b_256 b4eb438f8979fa917cb98652edf9a1364cdd4758c0b65fca28be43faa96b03d2
md5 d8f838ad66417f3b8e2c5bd06da03d99
sha256 7dfa5638080654ce227323a585eac83fc63585f0c30c492ab3afcba12707623f
Package archive solblock-0.2.2.tar.gz
blake2b_256 502834099573378c812fb61d78a6ecd8e986543fe7850ab455efce1042d60d60
md5 2c73fea273e5b191db987d0694bde4be
sha256 7de0c5a50fc92835f365f20bd4a2daa47a2d146a3b359190a9d21d189e099088
CWE
  • CWE-506 - Embedded Malicious Code

{
  "affected": [
    {
      "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": [
                "solblock-0.2.2.tar.gz",
                "solblock-0.2.2-py3-none-any.whl"
              ],
              "path": "solblock/core.py",
              "sha256": "178eb627b012252b6a697181c437ee68c650d690fedeb92f86f3cda51f043a85",
              "tlsh": "8f7183c68cd3750283b652bb591ad9a6e32393432e624111f92cc6e07f39867ca749ac"
            }
          ],
          "package_integrity": [
            {
              "filename": "solblock-0.2.2-py3-none-any.whl",
              "hashes": {
                "blake2b_256": "b4eb438f8979fa917cb98652edf9a1364cdd4758c0b65fca28be43faa96b03d2",
                "md5": "d8f838ad66417f3b8e2c5bd06da03d99",
                "sha256": "7dfa5638080654ce227323a585eac83fc63585f0c30c492ab3afcba12707623f"
              }
            },
            {
              "filename": "solblock-0.2.2.tar.gz",
              "hashes": {
                "blake2b_256": "502834099573378c812fb61d78a6ecd8e986543fe7850ab455efce1042d60d60",
                "md5": "2c73fea273e5b191db987d0694bde4be",
                "sha256": "7de0c5a50fc92835f365f20bd4a2daa47a2d146a3b359190a9d21d189e099088"
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "PyPI",
        "name": "solblock"
      },
      "versions": [
        "0.2.2",
        "0.2.3"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "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",
        "https://raw.githubusercontent.com/misdry01/g/refs/heads/main/test.bat"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-11-testing1345/solblock",
        "import_time": "2026-11-22T18:12:43.878424156Z",
        "modified_time": "2026-11-22T17:52:20.462685Z",
        "sha256": "4f7109e4b51f9d1e56172c528f888ae601467be992f3ed720ec8efdb29cddbcc",
        "source": "kam193",
        "versions": [
          "0.2.2",
          "0.2.3"
        ]
      },
      {
        "id": "IN-MAL-2026-023033",
        "import_time": "2026-11-23T00:32:40.23586597Z",
        "modified_time": "2026-11-22T23:58:40Z",
        "sha256": "7daeb7e58fd67e8af959fe50861fef0cbc04674a5b59bd944f7879075b721bf0",
        "source": "amazon-inspector",
        "versions": [
          "0.2.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7daeb7e58fd67e8af959fe50861fef0cbc04674a5b59bd944f7879075b721bf0)\nThe 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.\n\n## Source: kam193 (4f7109e4b51f9d1e56172c528f888ae601467be992f3ed720ec8efdb29cddbcc)\nPackage 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.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-testing1345\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - Downloads and executes a remote malicious script.\n\n\n - rat\n",
  "id": "MAL-2026-20331",
  "modified": "2026-11-23T00:34:20.148829986Z",
  "published": "2026-11-22T17:46:47Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://tria.ge/261113-wal5qset2s"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.virustotal.com/gui/file/ce97b675a86bfff5e73e218e8d9d17458857d2328b1b55acd87f644001ca865f/detection"
    },
    {
      "type": "WEB",
      "url": "https://github.com/misdry01/g/"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/solblock"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/solblock/0.2.2/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in solblock (PyPI)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.