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.
108 of your 179 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.
Upstream (GitHub) caused delay on this scan — not Repobility.
  • GitHub API rate-limited (HTTP 403) — preflight skipped, fell back to direct git clone.
  • Clone from GitHub took 52.31s for a 285.8 MB repo slow.
  • Repobility's analysis ran in 83.22s after the clone landed.

dart-lang/sdk

https://github.com/dart-lang/sdk · scanned 2026-06-05 21:34 UTC (4 days, 10 hours ago) · 10 languages

489 raw signals (171 security + 318 graph) 11/13 scanners ran System graph score 70 (higher by 15)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 days, 10 hours ago · v2 · 195 actionable findings from 2 signal sources. 135 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 65.0 0.15 9.75
security_score 100.0 0.25 25.00
testing_score 90.0 0.20 18.00
documentation_score 100.0 0.15 15.00
practices_score 69.0 0.15 10.35
code_quality 69.0 0.10 6.90
Overall 1.00 85.0
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade A- (85/100). Dimensions: security 100, maintainability 65. 171 findings (4 security). 3,527,843 lines analyzed.

Showing 126 of 195 actionable findings. 330 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 6 occurrences [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(...)` but never imports `enum`. This raises NameError at runtime the first time the line executes.
Add `import enum` at the top of the file.
5 files, 6 locations
tools/dom/scripts/idlnode.py:25, 430 (2 hits)
tools/dom/new_scripts/code_generator_dart.py:134
tools/dom/scripts/database.py:252
tools/dom/scripts/databasebuilder.py:623
tools/dom/scripts/systemnative.py:35
high Security checks quality Quality conf 1.00 ✓ Repobility 3 occurrences [MINED002] Dart Null Bang: value! throws on null. Use ?. or null check.
Review and fix per the pattern semantics. See CWE-476 / for context.
3 files, 3 locations
pkg/analysis_server/benchmark/benchmarks.dart:181
pkg/analysis_server/benchmark/perf/dart_analyze.dart:166
pkg/analysis_server/integration_test/analysis/error_test.dart:140
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_chrome: Test function `test_chrome` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
tools/dom/dom.py:112
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_dart2js: Test function `test_dart2js` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
tools/dom/dom.py:116
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_drt: Test function `test_drt` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
tools/dom/dom.py:108
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_ff: Test function `test_ff` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
tools/dom/dom.py:104
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_matrix_filter: Test function `test_matrix_filter` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
PRESUBMIT.py:421
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_server: Test function `test_server` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
tools/dom/dom.py:138
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_server_dartium: Test function `test_server_dartium` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
tools/dom/dom.py:142
high Security checks quality Quality conf 1.00 ✓ Repobility 25 occurrences [MINED108] `self.AddAllSourcesToWorklist` used but never assigned in __init__: Method `Check` of class `LayeringChecker` reads `self.AddAllSourcesToWorklist`, 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.
Initialize `self.AddAllSourcesToWorklist = <default>` in __init__, or add a class-level default.
3 files, 25 locations
tools/utils.py:631, 640, 645, 655, 658, 670, 677, 682, +14 more (22 hits)
runtime/tools/compiler_layering_check.py:45, 46 (2 hits)
tools/minidump.py:162
high System graph cicd CI/CD security conf 1.00 GitHub Action tracks a moving branch
google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@main can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/third-party-deps-scan.yml:45 CI/CD securitySupply chainGithub actions
high System graph security security conf 1.00 Insecure pattern 'eval_used' in third_party/requirejs/require.js:2140
Found a known-risky pattern (eval_used). Review and replace if possible.
third_party/requirejs/require.js:2140 Eval used
high System graph security security conf 1.00 Insecure pattern 'exec_used' in .github/extract_deps.py:61
Found a known-risky pattern (exec_used). Review and replace if possible.
.github/extract_deps.py:61 Exec used
high System graph security security conf 1.00 Insecure pattern 'exec_used' in runtime/tools/benchmark.py:40
Found a known-risky pattern (exec_used). Review and replace if possible.
runtime/tools/benchmark.py:40 Exec used
medium Security checks quality Quality conf 1.00 ✓ Repobility 5 occurrences [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
3 files, 5 locations
tools/dom/scripts/templateloader.py:23, 37, 54 (3 hits)
tools/dom/scripts/databasebuilder.py:39
tools/gn.py:676
medium Security checks quality Quality conf 1.00 ✓ Repobility 6 occurrences [MINED109] Mutable default argument in `get_output_sum` (list): `def get_output_sum(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def get_output_sum(x=None): x = x or []`
6 files, 6 locations
runtime/tools/dartfuzz/collect_data.py:79
tools/dom/scripts/dartgenerator.py:115
tools/dom/scripts/databasebuilder.py:39
tools/dom/scripts/idlsync.py:117
tools/dom/scripts/systemhtml.py:166
tools/dom/scripts/systemnative.py:1009
low Security checks quality Error handling conf 0.55 ✓ Repobility 16 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.
9 files, 16 locations
tools/utils.py:400, 609, 632, 776, 801, 914 (6 hits)
tools/dom/scripts/databasebuilder.py:94, 112, 161 (3 hits)
runtime/tools/dartfuzz/update_spreadsheet.py:111
tools/build_devtools.py:112
tools/dom/scripts/idlnode.py:85
tools/get_dot_git_folder.py:42
tools/gn.py:704
tools/make_version.py:145
Error handlingquality
high Security checks quality Quality conf 0.82 6 occurrences Parallel implementation file sits beside a canonical file
Merge the intended change into the canonical file, update tests/imports, and delete the parallel implementation if it is not the active entry point.
6 files, 6 locations
pkg/compiler/lib/src/js_backend/runtime_types_new.dart:1
pkg/dev_compiler/lib/src/kernel/compiler_new.dart:1
pkg/front_end/parser_testcases/error_recovery/issue_45251_list_new.dart:1
pkg/front_end/parser_testcases/error_recovery/issue_45251_new.dart:1
pkg/front_end/parser_testcases/error_recovery/issue_45251_set_new.dart:1
runtime/vm/object_graph_copy.h:1
medium Security checks quality Quality conf 0.78 3 occurrences Suspicious implementation file appears unreferenced
Confirm whether this file is reachable. If not, delete it; if yes, wire it through explicit imports, routes, or entry points and add a test that proves the path executes.
3 files, 3 locations
pkg/front_end/parser_testcases/error_recovery/issue_45251_list_new.dart:1
pkg/front_end/parser_testcases/error_recovery/issue_45251_new.dart:1
pkg/front_end/parser_testcases/error_recovery/issue_45251_set_new.dart:1
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — pkg/dart_runtime_service/test/web/sse_smoke_driver.dart.js:3880
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — pkg/dartpad_worker/lib/src/asset/worker.loader.js:19
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — pkg/observatory/web/third_party/webcomponents.min.js:14
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — third_party/requirejs/require.js:856
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
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/scorecards-analysis.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in runtime/tools/dartfuzz/minimize.py:222
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
runtime/tools/dartfuzz/minimize.py:222 Subprocess shell true
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in tools/dom/scripts/dartdomgenerator.py:218
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
tools/dom/scripts/dartdomgenerator.py:218 Subprocess shell true
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in tools/dom/scripts/prototype_htmleventgenerator.py:135
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
tools/dom/scripts/prototype_htmleventgenerator.py:135 Subprocess shell true
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in tools/get_dot_git_folder.py:26
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
tools/get_dot_git_folder.py:26 Subprocess shell true
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in tools/task_kill.py:124
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
tools/task_kill.py:124 Subprocess shell true
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in tools/utils.py:305
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
tools/utils.py:305 Subprocess shell true
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pkg/_fe_analyzer_shared/PRESUBMIT.py:56
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pkg/analyzer/PRESUBMIT.py:45
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pkg/analyzer_cli/PRESUBMIT.py:44
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pkg/analyzer_plugin/PRESUBMIT.py:44
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pkg/front_end/PRESUBMIT.py:56
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pkg/frontend_server/PRESUBMIT.py:56
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — pkg/linter/PRESUBMIT.py:44
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — PRESUBMIT.py:161
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — runtime/tools/dart_codesign.py:37
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — runtime/tools/dart_copy_and_codesign.py:29
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — runtime/tools/dart_profiler_symbols.py:55
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — runtime/tools/dartfuzz/collect_data.py:46
`requests.get(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — runtime/tools/dartfuzz/minimize.py:134
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — runtime/tools/dartfuzz/update_spreadsheet.py:94
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — runtime/tools/valgrind.py:27
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — third_party/binary_size/src/elf_symbolizer.py:409
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — third_party/binary_size/src/run_binary_size_analysis.py:377
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/bots/bot_utils.py:39
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/build.py:150
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/build_devtools.py:75
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/build_test_fast.py:164
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/dom/dom.py:161
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/dom/scripts/idlsync.py:121
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/generate_buildfiles.py:23
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/generate_idefiles.py:62
`subprocess.check_output(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/generate_large_tests.py:37
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/generate_package_config.py:36
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/get_dot_git_folder.py:22
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/make_coff_timestamp.py:11
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/task_kill.py:121
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/utils.py:255
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph network Security conf 1.00 Privileged port 42 in use
Port 42 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
pkg/front_end/messages.yaml Ports
low Security checks quality Quality conf 0.64 5 occurrences Duplicate top-level symbol appears in a patch-style file
Keep one authoritative implementation, update imports to point at it, and remove or rename the duplicate symbol.
5 files, 5 locations
pkg/compiler/lib/src/js_backend/runtime_types_new.dart:1
pkg/dev_compiler/lib/src/kernel/compiler_new.dart:1
pkg/front_end/testcases/general/annotation_new.dart:1
pkg/front_end/testcases/general/implicit_new.dart:1
runtime/vm/object_graph_copy.h:1
low Security checks quality Quality conf 0.60 25 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.
12 files, 17 locations
pkg/_fe_analyzer_shared/lib/src/scanner/utf8_bytes_scanner.dart:143, 163, 363 (3 hits)
pkg/_fe_analyzer_shared/lib/src/exhaustiveness/types/map.dart:5, 56 (2 hits)
pkg/analysis_server/lib/src/lsp/handlers/commands/sort_members.dart:13, 21 (2 hits)
pkg/analysis_server/lib/src/lsp/handlers/handler_formatting.dart:20, 21 (2 hits)
pkg/_fe_analyzer_shared/lib/src/exhaustiveness/types/list.dart:155
pkg/_fe_analyzer_shared/lib/src/exhaustiveness/types/record.dart:89
pkg/_fe_analyzer_shared/lib/src/scanner/internal_utils.dart:29
pkg/analysis_server/integration_test/edit/is_postfix_completion_applicable_test.dart:13
duplicationquality
low Security checks quality Quality conf 0.70 Generated build artifact directory is present at repository root
Remove generated output from version control, add it to .gitignore and .dockerignore where relevant, and regenerate it in CI or release jobs.
build:1
high Security checks quality Quality conf 0.62 16 occurrences Source file name looks like an AI patch artifact
Rename it to the domain concept it implements or merge it into the existing module it was meant to change.
12 files, 12 locations
pkg/analysis_server/lib/src/lsp/handlers/commands/abstract_refactor.dart:1
pkg/analysis_server/lib/src/lsp/handlers/commands/perform_refactor.dart:1
pkg/analysis_server/lib/src/lsp/handlers/commands/validate_refactor.dart:1
pkg/analysis_server/lib/src/services/correction/dart/ambiguous_import_fix.dart:1
pkg/analysis_server/lib/src/services/correction/dart/make_field_not_final.dart:1
pkg/analysis_server/lib/src/services/correction/dart/make_final.dart:1
pkg/analysis_server/lib/src/services/correction/dart/make_variable_not_final.dart:1
pkg/analysis_server/lib/src/services/correction/dart/remove_unnecessary_final.dart:1
low System graph quality Maintenance conf 1.00 37 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: pkg/dart2wasm/test/deferred_loading/helper.js
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: runtime/tools/dart_copy_and_codesign.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: runtime/tools/valgrind.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/lib/html/cross_domain_iframe_script.js
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/lib/html/dispatch_parent_event.js
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/lib/html/js_dispatch_property_test_js.js
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: tools/dom/scripts/all_tests.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 10 places
Functions with the same first-5-line body hash: PRESUBMIT.py:load_source, tools/utils.py:load_source, tools/bots/bot_utils.py:load_source, pkg/_fe_analyzer_shared/PRESUBMIT.py:load_source This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygie…
duplicatesduplication
low System graph quality Integrity conf 1.00 18 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: PRESUBMIT.py:HasFormatErrors, PRESUBMIT.py:HasFormatErrors 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.
18 occurrences
repo-level (18 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: tools/dom/scripts/htmldartgenerator.py:GenerateCall, tools/dom/scripts/htmldartgenerator.py:GenerateCall, tools/dom/scripts/htmldartgenerator.py:GenerateCall This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://j…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_safe_interfaces_legacy` in tools/dom/scripts/generator.py:102
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 `bit_copy` in runtime/PRESUBMIT.py:16
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 `deep_copy` in tools/dom/scripts/idlnode.py:596
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 `lazyOld` in pkg/dds/test/web/sse_smoke_driver.dart.js:87
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: cat
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/bots/bot_utils.py:102
low System graph software Dead code conf 1.00 Possibly dead Python function: CheckChangeOnCommit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
PRESUBMIT.py:542
low System graph software Dead code conf 1.00 Possibly dead Python function: CheckChangeOnCommit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime/PRESUBMIT.py:101
low System graph software Dead code conf 1.00 Possibly dead Python function: CheckChangeOnUpload
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
PRESUBMIT.py:546
low System graph software Dead code conf 1.00 Possibly dead Python function: CheckChangeOnUpload
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime/PRESUBMIT.py:96
low System graph software Dead code conf 1.00 Possibly dead Python function: convertedFutureMembers
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/dom/scripts/htmlrenamer.py:675
low System graph software Dead code conf 1.00 Possibly dead Python function: EnqueueOutput
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime/tools/utils.py:209
low System graph software Dead code conf 1.00 Possibly dead Python function: ExecutableName
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/gn.py:645
low System graph software Dead code conf 1.00 Possibly dead Python function: gen
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/dom/dom.py:77
low System graph software Dead code conf 1.00 Possibly dead Python function: GetArchFamily
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/utils.py:96
low System graph software Dead code conf 1.00 Possibly dead Python function: GetBaseDir
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/utils.py:112
low System graph software Dead code conf 1.00 Possibly dead Python function: GetUtils
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/bots/bot_utils.py:31
low System graph software Dead code conf 1.00 Possibly dead Python function: HasFormatErrors
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
PRESUBMIT.py:211
low System graph software Dead code conf 1.00 Possibly dead Python function: ListArgCallback
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime/tools/utils.py:92
low System graph software Dead code conf 1.00 Possibly dead Python function: ListDashArgCallback
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime/tools/utils.py:107
low System graph software Dead code conf 1.00 Possibly dead Python function: LoadDatabase
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/dom/scripts/dartdomgenerator.py:85
low System graph software Dead code conf 1.00 Possibly dead Python function: pollFunction
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime/tools/android_finder.py:350
low System graph software Dead code conf 1.00 Possibly dead Python function: ReadLinesFrom
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime/tools/utils.py:78
low System graph software Dead code conf 1.00 Possibly dead Python function: setContentType
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/bots/bot_utils.py:113
low System graph software Dead code conf 1.00 Possibly dead Python function: setGroupReadACL
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/bots/bot_utils.py:109
low System graph software Dead code conf 1.00 Possibly dead Python function: test_matrix_filter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
PRESUBMIT.py:421
low System graph software Dead code conf 1.00 Possibly dead Python function: to_raw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/minidump.py:25
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — pkg/compiler/tool/used_names/used_names.js:45
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — pkg/observatory/web/third_party/webcomponents.min.js:14
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — pkg/observatory/web/timeline.js:27
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — pkg/observatory/web/timeline_message_handler.js:25
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — pkg/test_runner/lib/src/test_controller.js:79
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — pkg/vm_snapshot_analysis/lib/src/assets/D3SymbolTreeMap.js:264
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — runtime/tools/graphexplorer/graphexplorer.js:67
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — third_party/binary_size/src/template/D3SymbolTreeMap.js:264
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph quality Integrity conf 1.00 Stub function `generate_global_and_write` (body is just `pass`/`return`) — tools/dom/new_scripts/dart_compiler.py:115
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 `GenerateCallback` (body is just `pass`/`return`) — tools/dom/scripts/systemhtml.py:1290
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 `GenerateCallback` (body is just `pass`/`return`) — tools/dom/scripts/systemnative.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 `merged_interface` (body is just `pass`/`return`) — tools/dom/scripts/generator.py:1198
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 `setUp` (body is just `pass`/`return`) — tools/dom/scripts/emitter_test.py:14
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 `setUp` (body is just `pass`/`return`) — tools/dom/scripts/multiemitter_test.py:15
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: pkg/dart_runtime_service/test/web/sse_smoke_driver.dart.js (4238 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: pkg/dds/test/web/sse_smoke_driver.dart.js (14831 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: pkg/vm_snapshot_analysis/lib/src/assets/d3/src/d3.js (9296 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: runtime/tools/graphexplorer/graphexplorer.js (2020 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: third_party/d3/src/d3.js (9296 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: third_party/requirejs/require.js (2145 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/dom/scripts/generator.py (2231 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/dom/scripts/systemhtml.py (2351 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/dom/scripts/systemnative.py (1393 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/f5b96adb-5804-45f3-aac0-143eaa16ddce/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f5b96adb-5804-45f3-aac0-143eaa16ddce/

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.