PyPI / sse-starlette / 3.5.0

sse-starlette 3.5.0

Source
https://github.com/sysid/sse-starlette
Tag scanned
v3.5.0
Compared with
v3.4.11 (0 signals introduced since)
Files
34 scanned, 11 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.6 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.0.0
Scanned (UTC)
2026-10-14 18:29

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info critical → info by review dynamic-execution tests/experimentation/test_multiple_consumers_threads.py:52:22

    `subprocess.Popen` with `shell=True` and a non-literal command — runtime-determined shell invocation (ast pass, confidence 0.85)

        env["PYTHONPATH"] = str(ROOT_PATH)  # Set PYTHONPATH to include the project root
        server_process = subprocess.Popen(
            server_command, shell=True, cwd=ROOT_PATH, env=env
        )
    likely benign LLM, confidence 0.85 A test helper starts a local server subprocess using shell=True with a command built inside the test.
    Reasoning

    This is a test fixture that launches a local server process via subprocess.Popen with shell=True. The command is built from a test-controlled variable (server_command) and the working directory and PYTHONPATH are set to the project root, which is typical of integration test setup. No encoding, download, or obfuscation is visible. The shell=True with a non-literal command is a real hygiene concern but, in a test file with a locally-defined command, it does not indicate malicious intent. Confidence is tempered because the snippet does not show where server_command comes from.

Reproduce This Scan

Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.0.0
git clone https://github.com/sysid/sse-starlette sse-starlette && cd sse-starlette
git checkout v3.5.0
disclude scan --severity info --diff v3.4.11 .