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.

y31ling/glaDE

https://github.com/y31ling/glaDE · scanned 2026-06-16 01:04 UTC (2 months, 1 week ago)

119 raw signals (0 security + 119 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 101 actionable findings from 1 signal source. 18 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 79.6/100 with 77.8% coverage. It contains 1351 nodes across 16 cross-layer flows, written primarily in mixed languages. Engine surfaced 119 findings — concentrated in quality (60), software (27), api (17). Risk profile is high: 0 critical, 10 high, 9 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 81 of 101 actionable findings. 119 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 System graph api Wiring conf 1.00 Dangling fetch: HEAD /static/vendor/monaco/vs/loader.js (webui/static/app.js:221)
`webui/static/app.js:221` calls `HEAD /static/vendor/monaco/vs/loader.js` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/static/vendor/monaco/vs/loader.js` If this points at an external API, prefix it with `https://…
Dangling fetchFetch
high System graph security auth conf 1.00 Flask mutation route `files_create` without `@login_required` — webui/app.py:79
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:79 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `files_delete` without `@login_required` — webui/app.py:101
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:101 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `files_export` without `@login_required` — webui/app.py:135
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:135 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `files_import` without `@login_required` — webui/app.py:114
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:114 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `files_rename` without `@login_required` — webui/app.py:92
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:92 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `files_write` without `@login_required` — webui/app.py:69
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:69 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `run_check` without `@login_required` — webui/app.py:204
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:204 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `run_start` without `@login_required` — webui/app.py:231
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
webui/app.py:231 securityAuth flask unauth route
high System graph security security conf 1.00 Insecure pattern 'exec_used' in tools/glafic_verify.py:381
Found a known-risky pattern (exec_used). Review and replace if possible.
tools/glafic_verify.py:381 Exec used
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — webui/static/app.js:7
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 Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in webui/static/app.js:20
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
webui/static/app.js:20 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in glafic2/setup.py:13
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
glafic2/setup.py:13 Subprocess shell true
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — glafic2/setup.py:11
`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 — runner.py:102
`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 — webui/jobs.py:90
`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 security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 12 placeholder/mock markers across 9 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 1840 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph cicd CI/CD security conf 1.00 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/setup-python@v3 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 20, 30
.github/workflows/ci.yml:20, 30 (2 hits)
CI/CD securitySupply chainGithub actions
low System graph quality Tests conf 1.00 Low test-to-source ratio
18 tests / 97 src (ratio 0.19).
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: webui/runjob.py:on_iter, webui/runjob.py:on_iter 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.
16 occurrences
repo-level (16 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: Rhongomyniad/rhongomyniad/models_tnfw_cse.py:kapgam_anfw, Rhongomyniad/rhongomyniad/lens_models.py:kapgam_nfwpot, Rhongomyniad/rhongomyniad/lens_models.py:kapgam_nfw This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see h…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: legacy/v_pointmass_1_0/version_pointmass_1_0.py:load_baseline_lens_params, legacy/v_pointmass_extend/version_pointmass_extend.py:load_baseline_lens_params, legacy/v_p_jaffe_2_0/version_p_jaffe_2_0.py:load_baseline_lens_params, legacy/v_nfw_2_0/version…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_point_batch_is_legacy` in webui/runjob.py:184
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 `_tab_v1` in Rhongomyniad/rhongomyniad/models_tab.py:178
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 `obj_legacy` in core/tests/test_batched_general.py:432
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 `var_unused` in core/format/validate.py:81
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 `var_unused` in core/tests/test_format.py:498
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: dkappa
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tab.py:238
low System graph software Dead code conf 1.00 Possibly dead Python function: dkappa_fn
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tnfw_cse.py:376
low System graph software Dead code conf 1.00 Possibly dead Python function: dphi
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tab.py:243
low System graph software Dead code conf 1.00 Possibly dead Python function: findimg_adaptive
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/image_finder_adaptive.py:383
low System graph software Dead code conf 1.00 Possibly dead Python function: getpar_lens
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/api.py:340
low System graph software Dead code conf 1.00 Possibly dead Python function: getpar_point
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/api.py:346
low System graph software Dead code conf 1.00 Possibly dead Python function: glade_root_from_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
runtime_env.py:8
low System graph software Dead code conf 1.00 Possibly dead Python function: int_to_lmodel
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/constants.py:112
low System graph software Dead code conf 1.00 Possibly dead Python function: integrand
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/elliptical.py:226
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_ahern
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tnfw_cse.py:631
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_anfw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tnfw_cse.py:609
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_clus3
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_closed.py:448
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_ein
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tab.py:442
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_einpot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tab.py:448
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_gnfw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tab.py:430
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_gnfwpot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tab.py:436
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_hern
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_closed.py:140
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_hernpot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_closed.py:192
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_mpole
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_closed.py:508
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_pow
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_closed.py:279
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_powpot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_closed.py:340
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_serspot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_closed.py:402
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_tnfw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tnfw_cse.py:353
low System graph software Dead code conf 1.00 Possibly dead Python function: kapgam_tnfwpot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/models_tnfw_cse.py:412
low System graph software Dead code conf 1.00 Possibly dead Python function: lmodel_to_int
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/constants.py:107
low System graph software Dead code conf 1.00 Possibly dead Python function: set_cosmo
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/api.py:155
low System graph software Dead code conf 1.00 Possibly dead Python function: set_dtype
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
Rhongomyniad/rhongomyniad/api.py:117
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph api Wiring conf 1.00 Unused endpoint: ANY /
`webui/app.py` declares `ANY /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/create
`webui/app.py` declares `ANY /api/files/create` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/delete
`webui/app.py` declares `ANY /api/files/delete` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/export
`webui/app.py` declares `ANY /api/files/export` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/import
`webui/app.py` declares `ANY /api/files/import` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/read
`webui/app.py` declares `ANY /api/files/read` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/rename
`webui/app.py` declares `ANY /api/files/rename` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/tree
`webui/app.py` declares `ANY /api/files/tree` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/files/write
`webui/app.py` declares `ANY /api/files/write` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/run
`webui/app.py` declares `ANY /api/run` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/run/<job_id>/result/<path:fname>
`webui/app.py` declares `ANY /api/run/<job_id>/result/<path:fname>` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/run/<job_id>/status
`webui/app.py` declares `ANY /api/run/<job_id>/status` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/run/<job_id>/stream
`webui/app.py` declares `ANY /api/run/<job_id>/stream` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/run/check
`webui/app.py` declares `ANY /api/run/check` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/templates
`webui/app.py` declares `ANY /api/templates` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /assets/icon/<path:name>
`webui/app.py` declares `ANY /assets/icon/<path:name>` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: legacy/v_king_1_0/version_king_1_0.py (1392 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: legacy/v_nfw_2_0/version_nfw_2_0.py (1689 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: legacy/v_p_jaffe_2_0/version_p_jaffe_2_0.py (1902 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: legacy/v_pointmass_1_0/version_pointmass_1_0.py (1734 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: legacy/v_pointmass_extend/version_pointmass_extend.py (1914 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/glafic_optimize.py (1453 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tools/mcmc_from_result.py (1138 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/12fb22c5-9682-47e3-93b7-7eda553074be/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/12fb22c5-9682-47e3-93b7-7eda553074be/

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.