PyPI / fastmcp-slim / 4.1.3

fastmcp-slim 4.1.3

Source
https://github.com/PrefectHQ/fastmcp
Artifact scanned
fastmcp_slim-4.1.3-py3-none-any.whl (wheel · 909.2 KB · SHA-256 81af8699331c…)
Compared with
fastmcp_slim-4.1.2-py3-none-any.whl (0 signals introduced since)
Files
276 scanned, 5 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
3.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 11:54

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/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.85 Walks the call stack via sys._getframe to find the first caller outside the package root.
    Reasoning

    The snippet walks up the call stack with sys._getframe(1) and checks each frame's co_filename against _PACKAGE_ROOT, which is a common way to find the first caller outside the library, for example to infer a module or transport context. It does not decode data, execute code, spawn processes, or touch the network. The rest of the file is not shown, so a doubt remains about what the inferred value is used for, but the frame walk alone reads as a legitimate introspection 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 fastmcp_slim-4.1.3-py3-none-any.whl https://files.pythonhosted.org/packages/4e/ff/a7feaeb130a2003700789ce32e933b4c2ae00fc7c264642e57ab12e4684f/fastmcp_slim-4.1.3-py3-none-any.whl
printf '%s  %s\n' 81af8699331c33d438caf85b6947f36df6e2f04118e6f318ca00374fd9afea9a fastmcp_slim-4.1.3-py3-none-any.whl | shasum -a 256 -c -
unzip -q fastmcp_slim-4.1.3-py3-none-any.whl -d pkg
disclude scan --untrusted --severity info pkg