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.

blait/dbMetaToDoc

https://github.com/blait/dbMetaToDoc · scanned 2026-06-17 01:41 UTC (1 month, 1 week ago)

43 raw signals (0 security + 43 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ +19.8 (diff) · 31 actionable findings from 1 signal source. 12 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 96.5/100 with 77.8% coverage. It contains 482 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 43 findings — concentrated in quality (22), software (11), security (10). Risk profile is high: 0 critical, 3 high, 13 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 30 of 31 actionable findings. 43 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 security auth conf 1.00 FastAPI DELETE `delete_run` without auth dependency — v2/webapp.py:216
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
v2/webapp.py:216 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_run` without auth dependency — v2/webapp.py:161
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
v2/webapp.py:161 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `test_connection` without auth dependency — v2/webapp.py:142
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
v2/webapp.py:142 securityAuth fastapi unauth mutation
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — db2doc/web/app.js:6
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 Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in db2doc/web/app.js:47
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
db2doc/web/app.js:47 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in results/db2doc_ui_demo.html:93
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
results/db2doc_ui_demo.html:93 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in ui/build_ui.py:197
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
ui/build_ui.py:197 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in v2/graph_ui.py:254
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
v2/graph_ui.py:254 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in v2/home_ui.py:232
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
v2/home_ui.py:232 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in v2/ui.py:148
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
v2/ui.py:148 Direct innerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — infra/load_eunomia.py:33
`urllib.request.urlretrieve(...)` 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 — v2/run.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 — v2/webapp.py:132
`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 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 Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 59 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 76 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 quality Integrity conf 1.00 13 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: common.py:cfg, v2/config.py:cfg 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.
13 occurrences
repo-level (13 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph software Dead code conf 1.00 Possibly dead Python function: chain
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
db2doc/api/routers/scans.py:39
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_create
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
v2/graph.py:68
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_delete
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
v2/graph.py:86
low System graph software Dead code conf 1.00 Possibly dead Python function: prog
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
db2doc/jobs/runner.py:84
low System graph software Dead code conf 1.00 Possibly dead Python function: prune_relations
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
db2doc/pipeline/verify.py:44
low System graph software Dead code conf 1.00 Possibly dead Python function: quote_literal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
db2doc/targets/quoting.py:10
low System graph software Dead code conf 1.00 Possibly dead Python function: quoter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
db2doc/targets/quoting.py:4
low System graph software Dead code conf 1.00 Possibly dead Python function: run_job
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/score.py:180
low System graph software Dead code conf 1.00 Possibly dead Python function: run_job
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
v2/score.py:181
low System graph software Dead code conf 1.00 Possibly dead Python function: sanity_check
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
db2doc/pipeline/verify.py:112
low System graph software Dead code conf 1.00 Possibly dead Python function: worker
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
v2/webapp.py:129
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/22eee545-7052-42c5-93c9-58865585d8f5/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/22eee545-7052-42c5-93c9-58865585d8f5/

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.