PyPI / fastmcp-slim / 4.1.2

fastmcp-slim 4.1.2

Source
https://github.com/PrefectHQ/fastmcp
Tag scanned
v4.1.2
Directory
fastmcp_slim (only this part of the repository was scanned)
Compared with
v4.1.1 (0 signals introduced since)
Files
276 scanned, 3 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
3.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.0.0
Scanned (UTC)
2026-10-21 10:40

Signals

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

  1. info warn → info by review frame-introspection fastmcp_slim/fastmcp/client/transports/inference.py:41:13

    `sys._getframe` — call-stack frame introspection (ast pass, confidence 0.70)

        level = 1
        frame = sys._getframe(1)
        while frame is not None:
            if not frame.f_code.co_filename.startswith(_PACKAGE_ROOT):
    likely benign LLM, confidence 0.90 Walks the call stack via sys._getframe to locate the first caller outside the fastmcp package root.
    Reasoning

    sys._getframe(1) walking up the call stack to find the first frame outside the package root is a common, legitimate technique for inferring the caller's module (e.g., for logging or caller-based configuration). The snippet shows no encoding, network activity, or dynamic execution; the loop is a plain stack walk comparing filenames to the package path.

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/PrefectHQ/fastmcp fastmcp && cd fastmcp
git checkout v4.1.2
disclude scan --severity info --diff v4.1.1 fastmcp_slim