PyPI / mcp / 2.3.0

mcp 2.3.0

Source
https://github.com/modelcontextprotocol/python-sdk
Artifact scanned
mcp-2.3.0-py3-none-any.whl (wheel · 360.0 KB · SHA-256 dd0c44c089d1…)
Compared with
mcp-2.2.0-py3-none-any.whl (0 signals introduced since)
Files
125 scanned, 5 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
2.5 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-10-23 05:15

Signals

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

  1. info warn → info by review dynamic-execution mcp/cli/cli.py:48:17

    `subprocess.run` called with `shell=True` and a literal command (ast pass, confidence 0.70)

                try:
                    subprocess.run([cmd, "--version"], check=True, capture_output=True, shell=True)
                    return cmd
                except subprocess.CalledProcessError:
    likely benign LLM, confidence 0.85 A CLI helper probes whether a command exists by running it with --version via subprocess with shell=True.
    Reasoning

    The call runs a command list with shell=True, which is a needless shell use but the command is a variable checked for a --version flag, not a dropper or encoded payload. The snippet shows a probe for an installed CLI tool with a version check and catches CalledProcessError, which is typical of CLI detection code. Only the literal-command message is slightly off since cmd is a variable; this reads as a benign, if sloppy, tool detection pattern.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. 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.3.0
curl -fsSL -o mcp-2.3.0-py3-none-any.whl https://files.pythonhosted.org/packages/20/d7/4a2878f128df729db3ca04e71bfce26405cc2e0c9ebe19c592feeb4c61b9/mcp-2.3.0-py3-none-any.whl
printf '%s  %s\n' dd0c44c089d16453e8ae31a3877a0054d7a2314caaa81f5e0541b9b1734b2377 mcp-2.3.0-py3-none-any.whl | shasum -a 256 -c -
unzip -q mcp-2.3.0-py3-none-any.whl -d pkg
disclude scan --untrusted --severity info pkg