A familiar HTTP Service Framework for Python.
This report summarizes scanner evidence for kennethreitz/responder, a Python project with 3,616 GitHub stars. SynthScan examined 53,377 lines of code across 185 source files, recording 1705 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 49.9 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1242 finding(s).
Are imports declared and package/API names verified? 187 finding(s).
Are wrappers, guards, and repeated structures necessary? 1472 finding(s).
Which changes need focused human review? 1705 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1705 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_async_backends.py | 26 | def test_async_session_backend_round_trip_and_touch(): | CODE |
| LOW | tests/test_async_backends.py | 60 | def test_async_ratelimit_backend(): | CODE |
| LOW⚡ | tests/test_devex_810.py | 93 | def test_run_without_new_flags_keeps_default_call(monkeypatch, fake_api): | CODE |
| LOW⚡ | tests/test_devex_810.py | 99 | def test_run_limit_max_requests_still_threaded(monkeypatch, fake_api): | CODE |
| LOW⚡ | tests/test_devex_810.py | 108 | def test_run_invalid_port_exits(monkeypatch, fake_api): | CODE |
| LOW⚡ | tests/test_devex_810.py | 118 | def test_run_debug_flag_still_works(monkeypatch, fake_api): | CODE |
| LOW⚡ | tests/test_devex_810.py | 124 | def test_reload_invokes_uvicorn_with_import_string(monkeypatch, fake_api): | CODE |
| LOW⚡ | tests/test_devex_810.py | 256 | def test_uvicorn_import_string(target, expected): | CODE |
| LOW⚡ | tests/test_devex_810.py | 538 | def test_async_client_basic_request(api): | CODE |
| LOW⚡ | tests/test_devex_810.py | 675 | def test_parse_sse_full_frames(): | CODE |
| LOW | tests/test_devex_810.py | 60 | def test_bare_responder_prints_usage_and_exits_nonzero(monkeypatch): | CODE |
| LOW | tests/test_devex_810.py | 72 | def test_run_flags_are_threaded_to_api_run(monkeypatch, fake_api): | CODE |
| LOW | tests/test_devex_810.py | 149 | def test_reload_explicit_port_wins_over_port_env(monkeypatch, fake_api): | CODE |
| LOW | tests/test_devex_810.py | 172 | def test_reload_defaults_attribute_to_api(monkeypatch, fake_api): | CODE |
| LOW | tests/test_devex_810.py | 185 | def test_reload_rejects_file_target(monkeypatch, fake_api): | CODE |
| LOW | tests/test_devex_810.py | 194 | def test_run_granian_with_limit_max_requests_is_rejected(monkeypatch, fake_api): | CODE |
| LOW | tests/test_devex_810.py | 214 | def test_run_uvicorn_still_accepts_limit_max_requests(monkeypatch, fake_api): | CODE |
| LOW | tests/test_devex_810.py | 233 | def test_reload_rejects_granian(monkeypatch, fake_api): | CODE |
| LOW | tests/test_devex_810.py | 277 | def test_orjson_encodes_media(api): | CODE |
| LOW | tests/test_devex_810.py | 290 | def test_orjson_non_str_keys_match_stdlib(api): | CODE |
| LOW | tests/test_devex_810.py | 300 | def test_orjson_dict_subclass_matches_stdlib(api): | CODE |
| LOW | tests/test_devex_810.py | 313 | def test_orjson_str_and_int_subclasses_match_stdlib(api): | CODE |
| LOW | tests/test_devex_810.py | 332 | def test_orjson_builtin_type_conversions(api): | CODE |
| LOW | tests/test_devex_810.py | 359 | def test_orjson_custom_encoder_still_works(): | CODE |
| LOW | tests/test_devex_810.py | 381 | def test_json_ensure_ascii_true_stays_on_stdlib(): | CODE |
| LOW | tests/test_devex_810.py | 394 | def test_json_unicode_passthrough_default(api): | CODE |
| LOW | tests/test_devex_810.py | 405 | def test_orjson_bigint_falls_back_to_stdlib(api): | CODE |
| LOW | tests/test_devex_810.py | 417 | def test_json_decode_bigint_roundtrips_exactly(monkeypatch, disable_orjson): | CODE |
| LOW | tests/test_devex_810.py | 446 | def test_orjson_str_subclass_ignores_overridden_dunder(api): | CODE |
| LOW | tests/test_devex_810.py | 462 | def test_orjson_int_subclass_ignores_overridden_dunder(api): | CODE |
| LOW | tests/test_devex_810.py | 477 | def test_json_decode_request_body(api): | CODE |
| LOW | tests/test_devex_810.py | 499 | def test_json_decode_nan_literal_still_parses(api): | CODE |
| LOW | tests/test_devex_810.py | 516 | def test_stdlib_path_when_orjson_unavailable(monkeypatch): | CODE |
| LOW | tests/test_devex_810.py | 552 | def test_async_client_uses_streaming_transport(api): | CODE |
| LOW | tests/test_devex_810.py | 562 | def test_async_client_without_context_manager(api): | CODE |
| LOW | tests/test_devex_810.py | 576 | def test_async_client_runs_lifespan(api): | CODE |
| LOW | tests/test_devex_810.py | 600 | def test_async_client_startup_failure_raises(api): | CODE |
| LOW | tests/test_devex_810.py | 613 | def test_async_client_concurrent_requests(api): | CODE |
| LOW | tests/test_devex_810.py | 629 | def test_async_client_raise_app_exceptions_false(api): | CODE |
| LOW | tests/test_devex_810.py | 643 | def test_async_client_propagates_app_exceptions(api): | CODE |
| LOW | tests/test_devex_810.py | 657 | def test_async_client_posts_json_body(api): | CODE |
| LOW | tests/test_devex_810.py | 695 | def test_parse_sse_defaults_and_edge_cases(): | CODE |
| LOW | tests/test_devex_810.py | 706 | def test_sse_event_json_helper(): | CODE |
| LOW | tests/test_devex_810.py | 710 | def test_parse_sse_from_sync_client(api): | CODE |
| LOW | tests/test_devex_810.py | 727 | def test_collect_sse_finite_stream(api): | CODE |
| LOW | tests/test_devex_810.py | 747 | def test_iter_sse_endless_stream_with_heartbeat(api): | CODE |
| LOW | tests/test_devex_810.py | 781 | def test_iter_sse_skips_heartbeat_comments(api): | CODE |
| LOW | tests/test_http_semantics.py | 74 | def test_automatic_options_response(api): | CODE |
| LOW | tests/test_http_semantics.py | 85 | def test_head_supported_on_get_routes(api): | CODE |
| LOW | tests/test_http_semantics.py | 101 | def test_head_response_sends_headers_without_body(): | CODE |
| LOW | tests/test_http_semantics.py | 122 | def test_head_stream_response_does_not_iterate_body(): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 149 | def test_set_cookie_samesite_default(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 159 | def test_set_cookie_samesite_strict(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 169 | def test_set_cookie_samesite_none_omits(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 182 | def test_return_dict_sets_media(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 191 | def test_return_list_sets_media(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 199 | def test_return_str_sets_text(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 209 | def test_return_bytes_sets_content(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 217 | def test_return_none_keeps_resp_mutation(api): | CODE |
| LOW⚡ | tests/test_http_semantics.py | 225 | def test_return_value_in_class_based_view(api): | CODE |
| 1128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_devex_810.py | 260 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_devex_810.py | 262 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_devex_810.py | 533 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_devex_810.py | 535 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_devex_810.py | 670 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_devex_810.py | 672 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_devex_810.py | 33 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_devex_810.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_models_810.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_models_810.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_models_810.py | 148 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_models_810.py | 150 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_models_810.py | 498 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_models_810.py | 500 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_810.py | 191 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_810.py | 193 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_810.py | 428 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_810.py | 430 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_models_801.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_801.py | 88 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_801.py | 138 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_801.py | 177 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_801.py | 335 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_models_801.py | 380 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 17 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 19 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 68 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 70 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 89 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 91 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 110 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_concurrency_hardening.py | 112 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 63 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 65 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 246 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 248 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 511 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 513 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 566 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_redis_backends.py | 568 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_redis_backends.py | 347 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_redis_backends.py | 349 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 159 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 273 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 277 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 291 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 294 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 394 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 396 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 441 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_plumbing_801.py | 443 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_plumbing_801.py | 190 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_plumbing_801.py | 192 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_sessions_memory_bounds.py | 14 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_sessions_memory_bounds.py | 16 | # -------------------------------------------------------------------------- | COMMENT |
| 100 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_clientgen.py | 319 | "get_user(userId, includeDetails = null)", | CODE |
| HIGH | tests/test_clientgen.py | 331 | "get_user(userId: number, includeDetails: boolean | null = null)", | CODE |
| HIGH⚡ | tests/test_clientgen.py | 354 | "public function get_user($user_id, $include_details = null): mixed", | CODE |
| HIGH | tests/test_cli.py | 128 | '{"scripts": null}', | CODE |
| HIGH | tests/test_cli.py | 138 | '{"scripts": {"build": null}}', | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 739 | data: T | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 740 | event: string | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 741 | id: string | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 742 | retry: number | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 743 | comment: string | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 750 | formBody?: Record<string, unknown> | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 751 | multipartBody?: Record<string, unknown> | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 752 | requestSchema?: Schema | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 753 | responseSchema?: Schema | null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 910 | if (schema.nullable && value === null) return; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 910 | if (schema.nullable && value === null) return; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 911 | if (schema.anyOf || schema.oneOf) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 912 | const variants = schema.anyOf || schema.oneOf; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 953 | if (value === null || typeof value !== 'object' || Array.isArray(value)) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 958 | throw validationError(`${{path}}.${{key}}`, 'present', undefined); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 962 | if (value[key] !== undefined) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 975 | if (bearerToken !== null) this.headers.Authorization = `Bearer ${{bearerToken}}`; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 976 | if (basicAuth !== null) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 980 | if (apiKey !== null) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 989 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 989 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 996 | const qs = params.toString(); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1000 | if (value !== null && value !== undefined) requestHeaders[key] = String(value); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1000 | if (value !== null && value !== undefined) requestHeaders[key] = String(value); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1003 | .filter(([, value]) => value !== null && value !== undefined) | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1003 | .filter(([, value]) => value !== null && value !== undefined) | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1012 | if (formBody !== null && formBody !== undefined) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1012 | if (formBody !== null && formBody !== undefined) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1013 | if (this.validate && requestSchema) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1018 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1018 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1026 | init.body = form.toString(); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1027 | }} else if (multipartBody !== null && multipartBody !== undefined) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1027 | }} else if (multipartBody !== null && multipartBody !== undefined) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1030 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1030 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1039 | }} else if (body !== null && body !== undefined) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1039 | }} else if (body !== null && body !== undefined) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1040 | if (this.validate && requestSchema) validateValue(body, requestSchema, 'body'); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1048 | const payload = text && contentType.includes('json') | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1050 | : text || null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1050 | : text || null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1052 | if (this.validate && responseSchema) {{ | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1061 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1061 | if (value === null || value === undefined) continue; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1068 | const qs = params.toString(); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1072 | if (value !== null && value !== undefined) requestHeaders[key] = String(value); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1072 | if (value !== null && value !== undefined) requestHeaders[key] = String(value); | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1075 | .filter(([, value]) => value !== null && value !== undefined) | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1075 | .filter(([, value]) => value !== null && value !== undefined) | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1087 | const payload = text && contentType.includes('json') | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1089 | : text || null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1089 | : text || null; | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1097 | data: null, event: null, id: null, retry: null, comment: null, | CODE |
| HIGH⚡ | responder/ext/clientgen.py | 1101 | comments.push(line.slice(1).replace(/^ /, '')); | CODE |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_verb_decorators.py | 79 | except ValueError: | CODE |
| HIGH | tests/test_coverage.py | 87 | except ValueError: | CODE |
| HIGH | tests/test_ws_idle_timeout.py | 52 | except WebSocketDisconnect: | CODE |
| HIGH | tests/test_dependency_overrides.py | 61 | except ValueError: | CODE |
| HIGH | examples/websocket_chat.py | 87 | except WebSocketDisconnect: | CODE |
| HIGH | responder/params.py | 223 | except (KeyError, TypeError): | CODE |
| HIGH | responder/params.py | 284 | except TypeError: | CODE |
| HIGH | responder/models.py | 701 | except UnicodeDecodeError: | CODE |
| HIGH | responder/models.py | 1136 | except BaseException: # noqa: BLE001, S110 - cleanup of cancelled pump | CODE |
| HIGH | responder/models.py | 2096 | except (TypeError, ValueError): | CODE |
| HIGH | responder/background.py | 81 | except ValueError: | CODE |
| HIGH | responder/api.py | 2139 | except (AttributeError, TypeError): # e.g. functools.partial | CODE |
| HIGH | responder/formats.py | 200 | except TypeError: | CODE |
| HIGH | responder/contracts.py | 40 | except (KeyError, TypeError): | CODE |
| HIGH | responder/contracts.py | 48 | except TypeError: | CODE |
| HIGH | responder/contracts.py | 139 | except TypeError: | CODE |
| HIGH | responder/contracts.py | 181 | except TypeError: | CODE |
| HIGH | responder/routes.py | 271 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 287 | except TypeError: | CODE |
| HIGH | responder/routes.py | 305 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 315 | except TypeError: | CODE |
| HIGH | responder/routes.py | 325 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 335 | except TypeError: | CODE |
| HIGH | responder/routes.py | 363 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 378 | except TypeError: | CODE |
| HIGH | responder/routes.py | 393 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 407 | except TypeError: | CODE |
| HIGH | responder/routes.py | 427 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 448 | except TypeError: | CODE |
| HIGH | responder/routes.py | 499 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 519 | except TypeError: | CODE |
| HIGH | responder/routes.py | 583 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 620 | except TypeError: | CODE |
| HIGH | responder/routes.py | 815 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 822 | except TypeError: | CODE |
| HIGH | responder/routes.py | 981 | except (KeyError, TypeError): | CODE |
| HIGH | responder/routes.py | 1009 | except TypeError: | CODE |
| HIGH | responder/routes.py | 851 | except StopAsyncIteration: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_devex_810.py | 267 | CODE | |
| LOW | tests/test_logging.py | 6 | CODE | |
| LOW | tests/test_redis_backends.py | 31 | CODE | |
| LOW | tests/test_typed_response_contracts_910.py | 3 | CODE | |
| LOW | tests/test_typed_streams_920.py | 3 | CODE | |
| LOW | examples/user.py | 15 | CODE | |
| LOW | examples/atelier.py | 16 | CODE | |
| LOW | examples/shortlinks.py | 16 | CODE | |
| LOW | examples/marimo_mount.py | 15 | CODE | |
| LOW | examples/fortunes.py | 15 | CODE | |
| LOW | examples/websocket_chat.py | 12 | CODE | |
| LOW | examples/helloworld.py | 12 | CODE | |
| LOW | examples/webhooks.py | 25 | CODE | |
| LOW | examples/tarot.py | 16 | CODE | |
| LOW | examples/sse_stream.py | 12 | CODE | |
| LOW | examples/todo.py | 16 | CODE | |
| LOW | examples/rest_api.py | 15 | CODE | |
| LOW | examples/lifespan.py | 12 | CODE | |
| LOW | examples/notebooks/hello.py | 3 | CODE | |
| LOW | scripts/release.py | 1 | CODE | |
| LOW | scripts/release_check.py | 1 | CODE | |
| LOW | responder/params.py | 17 | CODE | |
| LOW | responder/csrf.py | 11 | CODE | |
| LOW | responder/models.py | 1 | CODE | |
| LOW | responder/__init__.py | 8 | CODE | |
| LOW | responder/__init__.py | 9 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 10 | CODE | |
| LOW | responder/__init__.py | 21 | CODE | |
| LOW | responder/__init__.py | 22 | CODE | |
| LOW | responder/__init__.py | 22 | CODE | |
| LOW | responder/__init__.py | 22 | CODE | |
| LOW | responder/__init__.py | 22 | CODE | |
| LOW | responder/__init__.py | 22 | CODE | |
| LOW | responder/__init__.py | 22 | CODE | |
| LOW | responder/__init__.py | 22 | CODE | |
| LOW | responder/__init__.py | 23 | CODE | |
| LOW | responder/__init__.py | 24 | CODE | |
| LOW | responder/__init__.py | 25 | CODE | |
| LOW | responder/core.py | 1 | CODE | |
| LOW | responder/core.py | 1 | CODE | |
| LOW | responder/core.py | 2 | CODE | |
| LOW | responder/core.py | 2 | CODE | |
| LOW | responder/core.py | 2 | CODE | |
| LOW | responder/core.py | 3 | CODE | |
| LOW | responder/core.py | 3 | CODE | |
| LOW | responder/core.py | 3 | CODE | |
| LOW | responder/core.py | 3 | CODE | |
| LOW | responder/types.py | 14 | CODE | |
| LOW | responder/types.py | 20 | CODE | |
| LOW | responder/routing.py | 11 | CODE | |
| LOW | responder/formats.py | 1 | CODE | |
| LOW | responder/contracts.py | 3 | CODE | |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_concurrency_hardening.py | 35 | except Exception as exc: # a lock-free version raised "changed size" | CODE |
| MEDIUM | tests/test_concurrency_hardening.py | 31 | def reader(): | CODE |
| MEDIUM | tests/test_plumbing_801.py | 306 | def construct(): | CODE |
| LOW⚡ | tests/test_plumbing_801.py | 309 | except Exception as exc: # pragma: no cover - failure path | CODE |
| LOW | tests/test_sessions_memory_bounds.py | 145 | except Exception as exc: # an unlocked version can corrupt the dict | CODE |
| MEDIUM | tests/test_sessions_memory_bounds.py | 137 | def worker(offset): | CODE |
| LOW | responder/params.py | 233 | except Exception: | CODE |
| LOW | responder/params.py | 267 | except Exception: | CODE |
| LOW | responder/models.py | 1114 | except Exception as exc: # surface a producer error to the consumer | CODE |
| MEDIUM | responder/models.py | 1110 | def pump(): | CODE |
| LOW | responder/background.py | 96 | except Exception: | CODE |
| MEDIUM | responder/background.py | 93 | def on_future_done(fs): | CODE |
| LOW⚡ | responder/api.py | 247 | except Exception as exc: | CODE |
| LOW | responder/api.py | 985 | except Exception as exc: | CODE |
| LOW | responder/contracts.py | 135 | except Exception: | CODE |
| LOW | responder/contracts.py | 174 | except Exception: | CODE |
| LOW | responder/errors.py | 227 | except Exception: | CODE |
| LOW | responder/errors.py | 250 | except Exception: | CODE |
| LOW | responder/testing.py | 222 | except Exception as exc: | CODE |
| MEDIUM | responder/routes.py | 848 | def teardown_async(): | CODE |
| MEDIUM | responder/routes.py | 1610 | def validated_items(): | CODE |
| LOW⚡ | responder/routes.py | 1619 | except Exception as exc: | CODE |
| LOW⚡ | responder/routes.py | 1629 | except Exception as exc: | CODE |
| LOW⚡ | responder/routes.py | 1636 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 311 | except Exception: | CODE |
| LOW | responder/routes.py | 331 | except Exception: | CODE |
| LOW | responder/routes.py | 613 | except Exception: | CODE |
| LOW | responder/routes.py | 648 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 726 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 790 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 1019 | except Exception: | CODE |
| LOW | responder/routes.py | 1367 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 1530 | except Exception: | CODE |
| LOW | responder/routes.py | 1589 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 1601 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 1866 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 1904 | except Exception as exc: | CODE |
| LOW | responder/routes.py | 2160 | except Exception: | CODE |
| LOW | responder/routes.py | 2197 | except Exception: | CODE |
| LOW | responder/routes.py | 2281 | except Exception: | CODE |
| LOW | responder/routes.py | 2576 | except Exception: | CODE |
| LOW | responder/ext/sessions.py | 526 | except Exception: | CODE |
| MEDIUM | responder/ext/sessions.py | 523 | def _changed(session, initial): | CODE |
| LOW | responder/ext/ratelimit.py | 382 | except Exception as exc: | CODE |
| LOW | responder/ext/ratelimit.py | 398 | except Exception as exc: | CODE |
| LOW | responder/ext/openapi/__init__.py | 158 | except Exception: | CODE |
| LOW | responder/ext/openapi/__init__.py | 177 | except Exception: | CODE |
| LOW | responder/ext/openapi/__init__.py | 268 | except Exception: | CODE |
| LOW | responder/ext/openapi/__init__.py | 279 | except Exception: | CODE |
| LOW | responder/ext/openapi/__init__.py | 344 | except Exception: | CODE |
| LOW | responder/ext/openapi/__init__.py | 380 | except Exception: | CODE |
| LOW | responder/ext/graphql/__init__.py | 224 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | responder/models.py | 340 | CODE | |
| LOW | responder/models.py | 871 | CODE | |
| LOW | responder/models.py | 737 | CODE | |
| LOW | responder/models.py | 801 | CODE | |
| LOW | responder/models.py | 1447 | CODE | |
| LOW | responder/models.py | 2052 | CODE | |
| LOW | responder/models.py | 2106 | CODE | |
| LOW | responder/models.py | 1489 | CODE | |
| LOW | responder/api.py | 967 | CODE | |
| LOW | responder/api.py | 1451 | CODE | |
| LOW | responder/api.py | 971 | CODE | |
| LOW | responder/api.py | 1549 | CODE | |
| LOW | responder/contracts.py | 144 | CODE | |
| LOW | responder/testing.py | 110 | CODE | |
| LOW | responder/testing.py | 373 | CODE | |
| LOW | responder/routes.py | 625 | CODE | |
| LOW | responder/routes.py | 736 | CODE | |
| LOW | responder/routes.py | 939 | CODE | |
| LOW | responder/routes.py | 977 | CODE | |
| LOW | responder/routes.py | 1404 | CODE | |
| LOW | responder/routes.py | 1451 | CODE | |
| LOW | responder/routes.py | 1533 | CODE | |
| LOW | responder/routes.py | 1660 | CODE | |
| LOW | responder/routes.py | 2080 | CODE | |
| LOW | responder/routes.py | 2632 | CODE | |
| LOW | responder/routes.py | 1610 | CODE | |
| LOW | responder/util/net.py | 66 | CODE | |
| LOW | responder/ext/cli.py | 63 | CODE | |
| LOW | responder/ext/clientgen.py | 134 | CODE | |
| LOW | responder/ext/clientgen.py | 172 | CODE | |
| LOW | responder/ext/clientgen.py | 452 | CODE | |
| LOW | responder/ext/clientgen.py | 573 | CODE | |
| LOW | responder/ext/clientgen.py | 1165 | CODE | |
| LOW | responder/ext/clientgen.py | 1457 | CODE | |
| LOW | responder/ext/openapi/__init__.py | 657 | CODE | |
| LOW | responder/ext/openapi/__init__.py | 841 | CODE | |
| LOW | responder/ext/openapi/__init__.py | 923 | CODE | |
| LOW | responder/ext/openapi/__init__.py | 856 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/util.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | responder/params.py | 30 | __all__ = ["Query", "Header", "Cookie", "Path", "Form", "File", "Depends"] | CODE |
| LOW | responder/csrf.py | 22 | __all__ = ["CSRF_FIELD_NAME", "CSRF_HEADER_NAME", "enforce_csrf", "get_csrf_token"] | CODE |
| LOW | responder/models.py | 15 | __all__ = ["Request", "Response", "QueryDict", "UploadFile"] | CODE |
| LOW | responder/background.py | 9 | __all__ = ["BackgroundQueue"] | CODE |
| LOW | responder/__init__.py | 27 | __all__ = [ | CODE |
| LOW | responder/core.py | 10 | __all__ = [ | CODE |
| LOW | responder/types.py | 22 | __all__ = ["Handler", "Hook", "Dependency", "Request", "Response", "SSE"] | CODE |
| LOW | responder/templates.py | 4 | __all__ = ["Templates"] | CODE |
| LOW | responder/api.py | 13 | __all__ = ["API"] | CODE |
| LOW | responder/routing.py | 21 | __all__ = ["Router"] | CODE |
| LOW | responder/testing.py | 15 | __all__ = [ | CODE |
| LOW⚡ | responder/routes.py | 1510 | def _set_typed_stream_headers(self, response: Response) -> None: | CODE |
| LOW | responder/routes.py | 27 | __all__ = [ | CODE |
| LOW | responder/util/cmd.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | responder/util/net.py | 8 | __all__ = ["combined_header_getter", "resolve_client_ip"] | CODE |
| LOW | responder/util/python.py | 17 | __all__ = [ | CODE |
| LOW | responder/util/python.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | responder/ext/auth.py | 45 | __all__ = [ | CODE |
| LOW | responder/ext/logging.py | 35 | __all__ = [ | CODE |
| LOW | responder/ext/query.py | 28 | __all__ = ["parse_sort", "sort_items", "filter_items"] | CODE |
| LOW | responder/ext/cli.py | 60 | logger = logging.getLogger(__name__) | CODE |
| LOW | responder/ext/clientgen.py | 18 | __all__ = ["generate_client", "write_client"] | CODE |
| LOW | responder/ext/pagination.py | 32 | __all__ = ["Page", "paginate", "set_pagination_headers"] | CODE |
| LOW | responder/ext/pagination.py | 90 | def set_pagination_headers(req: Any, resp: Any, page: Page) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | responder/util/cmd.py | 54 | Invoke `responder build` command. Args: path: Path to the application to build Re | STRING |
| HIGH | responder/util/python.py | 27 | Load Python code from a file path or module name. Warning: This function executes arbitrary Python cod | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 179 | "S603", # Release orchestration intentionally shells out to git/gh/uv/twine. | CODE |
| MEDIUM | tests/test_round3.py | 10 | # --- WebSocket dependency injection & path params --- | COMMENT |
| MEDIUM | docs/source/sandbox.md | 63 | │ ├── routes.py # Router, Route, WebSocketRoute, dependency injection | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | responder/models.py | 1900 | CODE | |
| LOW | responder/api.py | 478 | CODE | |
| LOW | responder/api.py | 1274 | CODE | |
| LOW | responder/api.py | 1451 | CODE | |
| LOW | responder/routes.py | 2294 | CODE | |
| LOW | responder/routes.py | 2350 | CODE | |
| LOW | responder/ext/auth.py | 656 | CODE | |
| LOW | responder/ext/openapi/__init__.py | 761 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | responder/models.py | 1664 | resp.background(send_welcome_email, "user@example.com") | CODE |
| LOW⚡ | responder/background.py | 25 | send_email("user@example.com", "Hello") | STRING |
| LOW⚡ | responder/background.py | 33 | future = api.background.run(send_email, "user@example.com", "Hello") | STRING |
| LOW⚡ | responder/background.py | 36 | await api.background(send_email, "user@example.com", "Hello") | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_coverage.py | 532 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | responder/formats.py | 201 | # orjson is stricter than the stdlib in a few corners | COMMENT |
| LOW | responder/ext/logging.py | 41 | "RequestIDMiddleware", | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | responder/util/cmd.py | 120 | # Check if port is available. | COMMENT |