Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
73 of your 86 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 2.15s · analysis 5.19s · 5.2 MB · GitHub API rate-limit (preflight)

graphql-python/graphql-core

https://github.com/graphql-python/graphql-core · scanned 2026-06-05 22:33 UTC (4 days, 6 hours ago) · 10 languages

293 raw signals (85 security + 208 graph) 97th percentile · Python · medium (20-100K LoC)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 days, 6 hours ago · v2 · 102 actionable findings from 2 signal sources. 67 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 100.0 0.15 15.00
security_score 98.8 0.25 24.70
testing_score 100.0 0.20 20.00
documentation_score 86.0 0.15 12.90
practices_score 80.0 0.15 12.00
code_quality 45.4 0.10 4.54
Overall 1.00 89.1
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade A- (89/100). Dimensions: security 99, maintainability 100. 85 findings (16 security). 86,237 lines analyzed.

Showing 76 of 102 actionable findings. 169 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks quality Quality conf 1.00 ✓ Repobility Missing import: `queue` used but not imported
The file uses `queue.something(...)` but never imports `queue`. This raises NameError at runtime the first time the line executes.
src/graphql/execution/incremental_graph.py:93
high Security checks quality Quality conf 1.00 ✓ Repobility Missing import: `string` used but not imported
The file uses `string.something(...)` but never imports `string`. This raises NameError at runtime the first time the line executes.
src/graphql/language/printer.py:447
low Security checks cicd CI/CD security conf 0.35 ✓ Repobility Workflow references repository secrets in a pull_request workflow
Fork pull_request runs do not receive normal repository secrets on GitHub Actions. Review this as a reliability/intent signal, not as direct fork-secret exfiltration. Raise severity only for pull_request_target or another trusted-context path that runs untrusted PR code with secrets.
.github/workflows/benchmark.yml:41 CI/CD securityworkflow secretsGitHub Actions
high Security checks quality Quality conf 1.00 ✓ Repobility 5 occurrences `self.extend_named_type` used but never assigned in __init__
Method `extend_schema_args` of class `ExtendSchemaImpl` reads `self.extend_named_type`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
lines 225, 231, 238, 241, 243
src/graphql/utilities/extend_schema.py:225, 231, 238, 241, 243 (5 hits)
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 12 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `astral-sh/setup-uv` pinned to mutable ref `@v8.2.0` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
4 files, 12 locations
.github/workflows/benchmark.yml:29, 38 (4 hits)
.github/workflows/publish.yml:29, 37 (4 hits)
.github/workflows/lint.yml:23 (2 hits)
.github/workflows/test.yml:27 (2 hits)
CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 16 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v6` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
4 files, 16 locations
.github/workflows/benchmark.yml:18, 22 (4 hits)
.github/workflows/lint.yml:13, 17 (4 hits)
.github/workflows/publish.yml:19, 23 (4 hits)
.github/workflows/test.yml:17, 21 (4 hits)
CI/CD securitySupply chainGitHub Actions
medium Security checks security auth conf 0.92 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks but does not define .repobility/access.yml or equivalent authorization documentation.
The repository uses web/API frameworks but does not define .repobility/access.yml or equivalent authorization documentation.
low Security checks quality Error handling conf 0.55 ✓ Repobility 14 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
5 files, 14 locations
src/graphql/execution/execute.py:712, 724, 921, 1289, 1308, 1347, 1913, 2000, +1 more (9 hits)
src/graphql/utilities/coerce_input_value.py:179, 321 (2 hits)
src/graphql/utilities/value_from_ast.py:148
src/graphql/utilities/value_to_literal.py:101
src/graphql/validation/rules/values_of_correct_type.py:187
Error handlingquality
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/publish.yml CI/CD securitySupply chainGithub actions
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
low Security checks quality Quality conf 0.60 4 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
4 files, 4 locations
src/graphql/language/__init__.py:24
src/graphql/language/ast.py:46
src/graphql/type/__init__.py:13
src/graphql/validation/__init__.py:87
duplicationquality
low System graph software Dead code candidate conf 1.00 File has no detected symbols: docs/conf.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/graphql/pyutils/awaitable_or_value.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/graphql/validation/specified_rules.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/star_wars_schema.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/utils/viral_schema.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/utils/viral_sdl.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 11 places
Functions with the same first-5-line body hash: src/graphql/type/definition.py:to_kwargs, src/graphql/type/definition.py:to_kwargs, src/graphql/type/definition.py:to_kwargs, src/graphql/type/definition.py:to_kwargs This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see …
duplicatesduplication
low System graph quality Integrity conf 1.00 9 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: src/graphql/graphql.py:graphql, src/graphql/graphql.py:graphql_sync This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
9 occurrences
repo-level (9 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 6 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: src/graphql/type/introspection.py:is_deprecated, src/graphql/type/introspection.py:is_deprecated, src/graphql/type/introspection.py:is_deprecated This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code…
6 occurrences
repo-level (6 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: src/graphql/type/introspection.py:types, src/graphql/type/introspection.py:type, src/graphql/type/introspection.py:type, src/graphql/type/introspection.py:type This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https:/…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: src/graphql/type/introspection.py:name, src/graphql/type/introspection.py:name, src/graphql/type/introspection.py:name, src/graphql/type/introspection.py:name This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: src/graphql/type/introspection.py:description, src/graphql/type/introspection.py:description, src/graphql/type/introspection.py:description, src/graphql/type/introspection.py:description This is *the* AI-coder failure mode (4× more duplication in vib…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `can_copy` in tests/language/test_ast.py:98
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `defined_variables_used_as_fragment_arguments_are_not_unused` in tests/validation/test_no_unused_variables.py:25
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `describe_validate_no_deprecated` in tests/validation/test_no_deprecated.py:29
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `includeDeprecated` in src/graphql/type/introspection.py:136
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `includeDeprecated` in src/graphql/utilities/get_introspection_query.py:72
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `includeDeprecated` in tests/utilities/test_print_schema.py:831
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `includeDeprecated` in tests/validation/test_max_introspection_depth_rule.py:33
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `isDeprecated` in tests/type/test_introspection.py:44
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `isDeprecated` in tests/utilities/test_get_introspection_query.py:66
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `no_deprecated` in src/graphql/validation/__init__.py:126
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `print_deprecated` in src/graphql/utilities/print_schema.py:195
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `rejects_an_input_object_type_with_required_arguments_that_is_deprecated` in tests/type/test_validation.py:948
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `schema_copy` in tests/type/test_schema.py:478
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: assume_not_async_iterable
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/graphql.py:118
low System graph software Dead code conf 1.00 Possibly dead Python function: assume_not_awaitable
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/graphql.py:113
low System graph software Dead code conf 1.00 Possibly dead Python function: boolean_value_to_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:279
low System graph software Dead code conf 1.00 Possibly dead Python function: coerce_boolean
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:261
low System graph software Dead code conf 1.00 Possibly dead Python function: coerce_float
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:153
low System graph software Dead code conf 1.00 Possibly dead Python function: coerce_id
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:315
low System graph software Dead code conf 1.00 Possibly dead Python function: coerce_int
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:80
low System graph software Dead code conf 1.00 Possibly dead Python function: coerce_string
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:210
low System graph software Dead code conf 1.00 Possibly dead Python function: float_value_to_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:173
low System graph software Dead code conf 1.00 Possibly dead Python function: id_value_to_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:340
low System graph software Dead code conf 1.00 Possibly dead Python function: int_value_to_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:112
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_boolean_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:269
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_const_argument
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:460
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_definition
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:284
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_field
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:420
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_float_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:163
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_fragment
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:481
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_fragment_argument
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:469
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_fragment_definition
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:512
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_id_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:329
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_int_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:98
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_list
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:580
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_selection
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:414
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_variable_definition
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/language/parser.py:380
low System graph software Dead code conf 1.00 Possibly dead Python function: serialize_boolean
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:249
low System graph software Dead code conf 1.00 Possibly dead Python function: serialize_float
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:137
low System graph software Dead code conf 1.00 Possibly dead Python function: serialize_id
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:297
low System graph software Dead code conf 1.00 Possibly dead Python function: serialize_int
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:54
low System graph software Dead code conf 1.00 Possibly dead Python function: serialize_string
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:194
low System graph software Dead code conf 1.00 Possibly dead Python function: string_value_to_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/graphql/type/scalars.py:228
low System graph quality Integrity conf 1.00 Stub function `on_error` (body is just `pass`/`return`) — src/graphql/validation/validation_context.py:137
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `value_from_null` (body is just `pass`/`return`) — src/graphql/utilities/value_from_ast_untyped.py:58
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: src/graphql/execution/execute.py (2811 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/graphql/type/definition.py (1869 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/execution/test_defer.py (2821 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/execution/test_stream.py (2524 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/language/test_visitor.py (1641 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/type/test_definition.py (1621 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/type/test_introspection.py (1683 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/type/test_validation.py (2583 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/95bdd694-bfab-4cec-b8b8-00796dd8874b/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/95bdd694-bfab-4cec-b8b8-00796dd8874b/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.