fastmcp 4.1.3
- Source
- https://github.com/PrefectHQ/fastmcp
- Tag scanned
v4.1.3- Compared with
v4.1.2(0 signals introduced since)- Files
- 1027 scanned, 750 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 28 info
- Scan time
- 18.8 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 28 of 28 warn and critical signals; 28 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 08:27
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
info
warn→ info by reviewframe-introspectionfastmcp_slim/fastmcp/client/transports/inference.py:41:13= 1 =likely benign Client transport code walks the call stack to locate the first frame outside the package.Reasoning
Walking the call stack with sys._getframe(1) and comparing co_filename against the package root is a common way to find the external caller of a library API. Nothing in the snippet is hidden, encoded, or executes fetched content.
-
# Generated code should compilelikely benign Test compiles generated CLI source to check syntax.Reasoning
compile() on generated source inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
assert not inlikely benign Test compiles generated CLI source to check syntax.Reasoning
compile() on generated source inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
assert inlikely benign Test compiles generated CLI source to check syntax.Reasoning
compile() on generated source inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
)likely benign Test compiles generated CLI source to check syntax.Reasoning
compile() on generated source inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
assert inlikely benign Test compiles generated CLI source to check syntax.Reasoning
compile() on generated source inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
)likely benign Test compiles generated CLI script to check syntax.Reasoning
compile() on generated script inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
) assert inlikely benign Test compiles generated CLI script to check syntax.Reasoning
compile() on generated script inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
# Should compile without syntax errors # App name should have escaped quotes assert r inlikely benign Test compiles generated CLI script to check syntax and escaping.Reasoning
compile() on generated script inside a test checks that the code generator emits valid Python, including escaped quotes in the app name. The source is produced locally and never executed.
-
)likely benign Test compiles generated CLI script to check syntax.Reasoning
compile() on generated script inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
)likely benign Test compiles generated CLI script to check syntax.Reasoning
compile() on generated script inside a test checks that the code generator emits valid Python. The source is produced locally and never executed.
-
=likely benign Test compiles generated output file content to check syntax.Reasoning
compile() on generated output read back from a test file checks syntax. The compiled code is never executed.
-
= assert in =likely benign Test compiles generated output file content to check syntax.Reasoning
compile() on generated output read back from a test file checks syntax. The compiled code is never executed, and the non-ASCII string is ordinary test data.
-
)likely benign Base64-encoded PNG image embedded in a conformance test server.Reasoning
The blob is a small PNG image (its base64 begins with the PNG signature) used as a fixture in a conformance server. The raw-pass base64 flag is a false positive for embedded image data.
-
likely benign Test imports module names extracted from documentation examples to verify they resolve.
Reasoning
__import__ runs on module names parsed from documentation examples inside a test, to check that the documented imports resolve. It is a dynamic import, but the names come from the repository's own docs and it is not a dropper.
-
=likely benign Test imports a documented module with fromlist to verify the example resolves.Reasoning
__import__ with fromlist runs on module names parsed from documentation examples inside a test, to check that documented imports resolve. The names come from the repository's own docs, so this is not a dropper.
-
: = returnlikely benign Test helper executes Python example code extracted from upgrade docs.Reasoning
exec of compiled source extracted from documentation code blocks in a test harness; the source comes from repo docs, not from attacker input or the network. Standard doc-example testing pattern.
-
: = returnlikely benign compile() of doc example source inside test helper.Reasoning
compile of doc-extracted source within the same test helper; same benign doc-testing pattern.
-
likely benign Test runs upgrade-guide code examples via exec.
Reasoning
Executes example.source extracted from repository documentation during tests; benign doc-verification harness.
-
likely benign compile() of upgrade-guide example in test harness.
Reasoning
compile of repository doc example source in a test; benign.
-
= =likely benign Base64-encoded 1x1 PNG constant in downstream test server.Reasoning
Base64 of a small valid 1x1 PNG image used as test fixture data; high-entropy-looking but a legitimate image constant.
-
return awaitlikely benign Test executes wrapped sandbox code to validate code mode.Reasoning
exec of wrapped test code generated by the code-mode transform within a test; the code is internal test fixture, not external payload.
-
info
warn→ info by reviewdynamic-executiontests/experimental/transforms/test_code_mode_discovery.py:76:9return awaitlikely benign Discovery test executes wrapped code via exec.Reasoning
Same pattern as the sibling test: exec of internally wrapped test code in a discovery test.
-
# Non-object headers must fail before reaching JWKS key selection. , ,likely benign Malformed JWT test strings flagged as base64 blobs.Reasoning
Dotted JWT-like strings with base64 segments used as malformed token test inputs; test data, not a payload.
-
, , , ],likely benign Malformed JWT test fixture flagged as base64.Reasoning
Same malformed JWT fixture list in an auth test; benign test data.
-
, , ], )likely benign Malformed JWT test fixture flagged as base64.Reasoning
Same JWT-shaped invalid-token fixtures; benign.
-
# Create a simple 1x1 white pixel PNG = b returnlikely benign Inline PNG bytes literal used as test image data.Reasoning
A bytes literal encoding a minimal 1x1 PNG header and data for an Image test; binary fixture with legitimate purpose.
-
= =likely benign Data URI containing a tiny PNG used in icon test.Reasoning
Data URI with a tiny PNG for an icon inspection test; standard test fixture.
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.
&&