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.

daanmt/MedHub

https://github.com/daanmt/MedHub · scanned 2026-06-17 01:52 UTC (1 month, 1 week ago)

24 raw signals (0 security + 24 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

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

Showing 23 of 24 actionable findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/commands/analisar-questao.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/commands/analisar-questao.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/commands/auditar-resumos.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/commands/auditar-resumos.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/commands/extrair-pdf.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/commands/extrair-pdf.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/commands/importar-planilha.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/commands/importar-planilha.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/commands/performance.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/commands/performance.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/commands/revisar.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/commands/revisar.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/settings.local.json
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/settings.local.json VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
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
2 test file(s) for 50 source file(s) (ratio 0.04). 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 280 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 Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: app/pages/1_dashboard.py:get_trend_data, app/pages/1_dashboard.py:get_erros_por_area 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.
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `rag_benchmark_report_v2` in app/engine/rag.py:371
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: abatch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/memory/store.py:209
low System graph software Dead code conf 1.00 Possibly dead Python function: adelete
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/memory/store.py:200
low System graph software Dead code conf 1.00 Possibly dead Python function: aget
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/memory/store.py:197
low System graph software Dead code conf 1.00 Possibly dead Python function: alist_namespaces
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/memory/store.py:206
low System graph software Dead code conf 1.00 Possibly dead Python function: aput
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/memory/store.py:194
low System graph software Dead code conf 1.00 Possibly dead Python function: asearch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/memory/store.py:203
low System graph software Dead code conf 1.00 Possibly dead Python function: batch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/memory/store.py:212
low System graph software Dead code conf 1.00 Possibly dead Python function: metric_card
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/utils/styles.py:148
low System graph software Dead code conf 1.00 Possibly dead Python function: update_cronograma_status
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/utils/db.py:74
low System graph software Dead code conf 1.00 Possibly dead Python function: update_flashcard_fields
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/utils/db.py:266
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/cf1221e8-4552-4846-93f0-52e15796d9ab/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/cf1221e8-4552-4846-93f0-52e15796d9ab/

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.