PyPI / smmap / 5.0.3

smmap 5.0.3

Source
https://github.com/gitpython-developers/smmap
Tag scanned
v5.0.3
Compared with
v5.0.2 (0 signals introduced since)
Files
20 scanned, 7 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.3 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.1.0
Scanned (UTC)
2026-10-22 06:33

Signals

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

  1. info warn → info by review dynamic-execution build-release.sh:9:5

    command name is a variable (`$1`) not set in this file — the caller or environment decides what runs (ast pass, confidence 0.70)

    function release_with() {
        $1 -m build --sdist --wheel
    }
    likely benign LLM, confidence 0.80 A bash helper that runs a caller-supplied command ($1) with a fixed python build invocation.
    Reasoning

    The snippet is a small helper that runs whatever command the caller passes as $1 followed by a fixed Python build invocation. That is a flexible wrapper, typical of build scripts that let the caller choose an interpreter (python, python3, uv run, etc.). The flagged dynamic command name comes from an argument, not from attacker-controlled encoded data, and no obfuscation or download-and-execute chain is visible. Risk exists only if callers pass untrusted input, which the snippet does not show.

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.1.0
git clone https://github.com/gitpython-developers/smmap smmap && cd smmap
git checkout v5.0.3
disclude scan --severity info --diff v5.0.2 .