fastmcp 3.4.9
- Source
- https://github.com/PrefectHQ/fastmcp
- Tag scanned
v3.4.9- Compared with
v3.4.8(0 signals introduced since)- Files
- 853 scanned, 390 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 18 info
- Scan time
- 14.2 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 18 of 18 warn and critical signals; 18 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-16 21:41
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
# Generated code should compilelikely benign compile() on generated code in a syntax-validity test.Reasoning
Test helper compiles generated source only to check it is valid Python syntax. The argument is output of the generator under test, not untrusted input, and nothing is executed.
-
assert not inlikely benign compile() on generated source in a test asserting it compiles.Reasoning
Same pattern as the other compile checks in this file: the generated source is compiled to assert it is syntactically valid, with no execution.
-
assert inlikely benign compile() of generated code to verify syntax in a test.Reasoning
Compile-only syntax check on generator output inside a unit test. Not an obfuscation or dropper pattern.
-
)likely benign compile() on generated code to check it parses.Reasoning
Syntax validation of generated output in a test with a complex type default. Benign test scaffolding.
-
assert inlikely benign compile() of generated source in a collision-detection test.Reasoning
Compile check on generator output in a name-collision test. The flagged call is only a syntax check.
-
)likely benign compile() of a generated script in a tool-function test.Reasoning
Test confirms generated script compiles. The script comes from the code generator under test and is never run.
-
) assert inlikely benign compile() on generated script before asserting its contents.Reasoning
Compile-only validation of generated script, followed by string assertions. No runtime execution of untrusted content.
-
# Should compile without syntax errors # App name should have escaped quotes assert r inlikely benign compile() on generated script to test quote escaping.Reasoning
Checks that a generated script with escaped quotes compiles. Test-only syntax validation.
-
)likely benign compile() of generated script in a transport test.Reasoning
Compile check of generated stdio-transport script in a test. Benign.
-
)likely benign compile() on generated script in a test.Reasoning
Syntax check of generator output in the test suite. No execution of untrusted code.
-
=likely benign compile() of an output file read back in a test.Reasoning
Compiles the file the generator wrote to disk, to confirm it is valid Python. Test-only check, not execution.
-
)dismissed Base64 constant encoding a small PNG image in a conformance server.Reasoning
The string is a base64-encoded PNG header and image data, a typical embedded test image. The raw pass flags it as an encoded blob, which is a known false-positive pattern for raw findings.
-
likely benign __import__ of module names parsed from doc examples to verify they resolve.
Reasoning
Checks whether modules imported in documentation examples are importable, reporting ImportError as a test error. The module names come from the repo's own docs.
-
=likely benign __import__ of a from-import module during doc example validation.Reasoning
Dynamic import of a module name taken from a documentation example's AST, with ImportError collected as a test failure. Benign doc-validation logic.
-
return awaitlikely benign exec() of a test-wrapped snippet in a code-mode transform test.Reasoning
Executes wrapped test code in an explicit namespace to exercise the code-mode transform. This is the feature under test, run in a test process with the test's own inputs.
-
info
warn→ info by reviewdynamic-executiontests/experimental/transforms/test_code_mode_discovery.py:76:9return awaitlikely benign exec() of a wrapped test snippet in code-mode discovery tests.Reasoning
Same pattern as the code-mode test: exec of a test-generated wrapper to validate discovery behavior. Expected for this kind of test harness.
-
# Create a simple 1x1 white pixel PNG = b returnlikely benign A test fixture embedding a tiny PNG image as a bytes literal.Reasoning
The bytes literal is a hand-written 1x1 white PNG with the standard PNG signature, IHDR and IEND chunks, in a test file that builds an Image object. The escapes are the normal way to express binary test data in Python; there is no execution or exfiltration.
-
= =likely benign A test data URI containing a base64-encoded PNG image.Reasoning
The base64 string is a standard data URI for a small PNG image used as test input for a FastMCP server. It is a benign image payload in a test file, and no decoding or execution follows in the snippet.
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.
&&