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.

zylon131/weiwei

https://github.com/zylon131/weiwei · scanned 2026-06-16 01:14 UTC (2 months, 1 week ago)

162 raw signals (0 security + 162 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 143 actionable findings from 1 signal source. 19 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 60.0/100 with 100.0% coverage. It contains 1902 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 162 findings — concentrated in api (55), quality (39), security (30). Risk profile is high: 9 critical, 16 high, 21 medium. Recommended next step: open the api layer findings first — that's where the highest-impact wins live.

Showing 139 of 143 actionable findings. 162 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.

critical System graph security Secrets conf 1.00 Possible secret in qwen-weiwei/backend/debug_d1_extraction.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
qwen-weiwei/backend/debug_d1_extraction.py:6
critical System graph security Secrets conf 1.00 Possible secret in qwen-weiwei/backend/gpu_check.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
qwen-weiwei/backend/gpu_check.py:5
critical System graph security Secrets conf 1.00 Possible secret in qwen-weiwei/backend/investigate_parsing_issue.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
qwen-weiwei/backend/investigate_parsing_issue.py:5
critical System graph security Secrets conf 1.00 2 occurrences Possible secret in qwen-weiwei/docker-compose.qwen.yml
Detected pattern matching openai_or_anthropic_key. Rotate the credential and move to a secret manager.
lines 50, 87
qwen-weiwei/docker-compose.qwen.yml:50, 87 (2 hits)
critical System graph security Secrets conf 1.00 Possible secret in weiwei/backend/debug_d1_extraction.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
weiwei/backend/debug_d1_extraction.py:6
critical System graph security Secrets conf 1.00 Possible secret in weiwei/backend/gpu_check.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
weiwei/backend/gpu_check.py:5
critical System graph security Secrets conf 1.00 Possible secret in weiwei/backend/investigate_parsing_issue.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
weiwei/backend/investigate_parsing_issue.py:5
critical System graph security Secrets conf 1.00 Possible secret in weiwei/backend/misc/check_logs.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
weiwei/backend/misc/check_logs.py:7
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/auth/me (weiwei/frontend/src/stores/appStore.js:77)
`weiwei/frontend/src/stores/appStore.js:77` calls `GET /api/auth/me` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/me` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/auth/change-password (qwen-weiwei/frontend/src/stores/appStore.js:122)
`qwen-weiwei/frontend/src/stores/appStore.js:122` calls `POST /api/auth/change-password` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/change-password` If this points at an external API, prefix it with `https:…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/auth/change-password (weiwei/frontend/src/stores/appStore.js:142)
`weiwei/frontend/src/stores/appStore.js:142` calls `POST /api/auth/change-password` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/change-password` If this points at an external API, prefix it with `https://` s…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/auth/login (qwen-weiwei/frontend/src/stores/appStore.js:91)
`qwen-weiwei/frontend/src/stores/appStore.js:91` calls `POST /api/auth/login` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/login` If this points at an external API, prefix it with `https://` so the matcher sk…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/auth/login (weiwei/frontend/src/stores/appStore.js:111)
`weiwei/frontend/src/stores/appStore.js:111` calls `POST /api/auth/login` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/login` If this points at an external API, prefix it with `https://` so the matcher skips …
Dangling fetchFetch
high System graph security auth conf 1.00 FastAPI DELETE `delete_document_endpoint` without auth dependency — weiwei/backend/app/api/rag.py:906
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/rag.py:906 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_document` without auth dependency — weiwei/backend/app/api/documents.py:107
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/documents.py:107 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_kb` without auth dependency — weiwei/backend/app/api/kb.py:72
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/kb.py:72 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_kb` without auth dependency — weiwei/backend/app/api/kb.py:60
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/kb.py:60 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `ingest_document` without auth dependency — weiwei/backend/app/api/rag.py:549
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/rag.py:549 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `rag_search` without auth dependency — weiwei/backend/app/api/rag.py:595
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/rag.py:595 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reset_skill` without auth dependency — weiwei/backend/app/api/admin.py:43
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/admin.py:43 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `send_message` without auth dependency — weiwei/backend/app/api/agent.py:70
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/agent.py:70 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `submit_feedback` without auth dependency — weiwei/backend/app/api/rag.py:956
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/rag.py:956 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `upsert_agent` without auth dependency — weiwei/backend/app/api/admin.py:116
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/admin.py:116 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `upsert_skill` without auth dependency — weiwei/backend/app/api/admin.py:27
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
weiwei/backend/app/api/admin.py:27 securityAuth fastapi unauth mutation
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — qwen-weiwei/frontend/src/api/authHeader.js:21
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 — weiwei/frontend/src/api/authHeader.js:21
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 — weiwei/frontend/src/stores/miningAgent.js:61
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 hardware Security conf 1.00 Dockerfile runs as root: qwen-weiwei/backend/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: qwen-weiwei/frontend/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: weiwei/backend/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: weiwei/frontend/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in weiwei/backend/app/main.py:73
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
weiwei/backend/app/main.py:73 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'domparser_html_parse' in qwen-weiwei/frontend/src/views/RAGChatView.vue:499
Found a known-risky pattern (domparser_html_parse). Review and replace if possible.
qwen-weiwei/frontend/src/views/RAGChatView.vue:499 Domparser html parse
medium System graph security security conf 1.00 Insecure pattern 'domparser_html_parse' in weiwei/frontend/src/views/RAGChatView.vue:502
Found a known-risky pattern (domparser_html_parse). Review and replace if possible.
weiwei/frontend/src/views/RAGChatView.vue:502 Domparser html parse
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in qwen-weiwei/frontend/src/stores/appStore.js:105
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
qwen-weiwei/frontend/src/stores/appStore.js:105 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in weiwei/frontend/src/stores/appStore.js:125
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
weiwei/frontend/src/stores/appStore.js:125 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'vue_v_html' in qwen-weiwei/frontend/src/views/DisclosureWorkspaceView.vue:220
Found a known-risky pattern (vue_v_html). Review and replace if possible.
qwen-weiwei/frontend/src/views/DisclosureWorkspaceView.vue:220 Vue v html
medium System graph security security conf 1.00 Insecure pattern 'vue_v_html' in qwen-weiwei/frontend/src/views/OaWorkspaceView.vue:424
Found a known-risky pattern (vue_v_html). Review and replace if possible.
qwen-weiwei/frontend/src/views/OaWorkspaceView.vue:424 Vue v html
medium System graph security security conf 1.00 Insecure pattern 'vue_v_html' in qwen-weiwei/frontend/src/views/RAGChatView.vue:679
Found a known-risky pattern (vue_v_html). Review and replace if possible.
qwen-weiwei/frontend/src/views/RAGChatView.vue:679 Vue v html
medium System graph security security conf 1.00 Insecure pattern 'vue_v_html' in weiwei/frontend/src/views/DisclosureWorkspaceView.vue:485
Found a known-risky pattern (vue_v_html). Review and replace if possible.
weiwei/frontend/src/views/DisclosureWorkspaceView.vue:485 Vue v html
medium System graph security security conf 1.00 Insecure pattern 'vue_v_html' in weiwei/frontend/src/views/RAGChatView.vue:682
Found a known-risky pattern (vue_v_html). Review and replace if possible.
weiwei/frontend/src/views/RAGChatView.vue:682 Vue v html
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
medium System graph network Security conf 1.00 Privileged port 29 in use
Port 29 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
qwen-weiwei/docker-compose.qwen.yml Ports
medium System graph network Security conf 1.00 Privileged port 84 in use
Port 84 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
qwen-weiwei/docker-compose.qwen.yml Ports
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
13 test file(s) for 229 source file(s) (ratio 0.06). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 194 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 hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: nginx:stable-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
qwen-weiwei/frontend/Dockerfile:13 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: nginx:stable-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
weiwei/frontend/Dockerfile:13 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: node:18-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
qwen-weiwei/frontend/Dockerfile:2 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: node:18-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
weiwei/frontend/Dockerfile:2 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.10-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
qwen-weiwei/backend/Dockerfile:1 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.10-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
weiwei/backend/Dockerfile:1 containersPinned dependencies
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — qwen-weiwei/frontend/src/views/OaWorkspaceView.vue:56
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — weiwei/frontend/src/views/OaWorkspaceView.vue:56
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph quality Integrity conf 1.00 8 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: qwen-weiwei/misc/debug_rag.py:test_search, weiwei/misc/debug_rag.py:test_search 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.
8 occurrences
repo-level (8 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 12 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: qwen-weiwei/misc/patent_sync.py:log, qwen-weiwei/backend/misc/patent_sync.py:log, weiwei/misc/patent_sync.py:log, weiwei/backend/misc/patent_sync.py:log This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/…
12 occurrences
repo-level (12 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 quality Integrity conf 1.00 Old/deprecated-named symbol `analyze_v2` in qwen-weiwei/backend/app/agents/oa_pipeline/oa_pipeline_v2.py:4
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 `analyze_v2` in weiwei/backend/app/agents/oa_pipeline/oa_pipeline_v2.py:4
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 `oa_pipeline_v2` in qwen-weiwei/backend/app/agents/oa_pipeline/__init__.py:12
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 `oa_pipeline_v2` in qwen-weiwei/backend/app/api/oa_agent.py:500
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 `oa_pipeline_v2` in weiwei/backend/app/agents/oa_pipeline/__init__.py:12
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 `oa_pipeline_v2` in weiwei/backend/app/api/oa_agent.py:490
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: extract_tech_terms
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/disclosure_pipeline/slicing.py:20
low System graph software Dead code conf 1.00 Possibly dead Python function: extract_tech_terms
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/agents/disclosure_pipeline/slicing.py:16
low System graph software Dead code conf 1.00 Possibly dead Python function: format_datetime_iso
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/utils/pipeline_helpers.py:68
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_argument_draft
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/oa_pipeline/block3_5_draft.py:406
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_combined_independent_claim
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:218
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_combined_independent_claim
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:218
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_creativity_strategy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:395
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_creativity_strategy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:395
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_sufficiency_strategy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:462
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_sufficiency_strategy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:452
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_support_clarity_strategy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:500
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_support_clarity_strategy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/agents/oa_pipeline/module3_strategy.py:481
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_uuid
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/models/schema.py:7
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_uuid
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/models/schema.py:7
low System graph software Dead code conf 1.00 Possibly dead Python function: iso_now
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/utils/pipeline_helpers.py:63
low System graph software Dead code conf 1.00 Possibly dead Python function: make_event
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/utils/pipeline_helpers.py:50
low System graph software Dead code conf 1.00 Possibly dead Python function: save_pipeline_state
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/utils/pipeline_helpers.py:10
low System graph software Dead code conf 1.00 Possibly dead Python function: search_epub_keyword_with_page
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/utils/cnipa/cnipa_epub_crawler.py:180
low System graph software Dead code conf 1.00 Possibly dead Python function: slice_contrast_text
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/disclosure_pipeline/slicing.py:43
low System graph software Dead code conf 1.00 Possibly dead Python function: slice_contrast_text
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
weiwei/backend/app/agents/disclosure_pipeline/slicing.py:39
low System graph software Dead code conf 1.00 Possibly dead Python function: v2_answer
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
qwen-weiwei/backend/app/agents/oa_pipeline/sse_events.py:394
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: DELETE /documents/{document_id}
`qwen-weiwei/backend/app/api/rag.py` declares `DELETE /documents/{document_id}` 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: DELETE /{document_id}
`qwen-weiwei/backend/app/api/documents.py` declares `DELETE /{document_id}` 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: DELETE /{kb_id}
`qwen-weiwei/backend/app/api/kb.py` declares `DELETE /{kb_id}` 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: DELETE /{session_id}
`qwen-weiwei/backend/app/api/rag_sessions.py` declares `DELETE /{session_id}` 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: DELETE /{user_id}
`qwen-weiwei/backend/app/api/users.py` declares `DELETE /{user_id}` 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: GET /
`qwen-weiwei/backend/app/api/rag_sessions.py` declares `GET /` 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: GET /agents
`qwen-weiwei/backend/app/api/admin.py` declares `GET /agents` 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: GET /agents/{name}
`qwen-weiwei/backend/app/api/admin.py` declares `GET /agents/{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 api Wiring conf 1.00 Unused endpoint: GET /api/health
`qwen-weiwei/backend/app/main.py` declares `GET /api/health` 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: GET /documents
`qwen-weiwei/backend/app/api/rag.py` declares `GET /documents` 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: GET /documents/{document_id}/chunks
`qwen-weiwei/backend/app/api/rag.py` declares `GET /documents/{document_id}/chunks` 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 consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /documents/{document_id}/info
`qwen-weiwei/backend/app/api/rag.py` declares `GET /documents/{document_id}/info` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /download/{doc_type}/{session_id}
`qwen-weiwei/backend/app/api/oa_agent.py` declares `GET /download/{doc_type}/{session_id}` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /feedback
`qwen-weiwei/backend/app/api/rag.py` declares `GET /feedback` 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: GET /files/preview/{document_id}
`qwen-weiwei/backend/app/api/rag.py` declares `GET /files/preview/{document_id}` 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 i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /images/{document_id}/{filename:path}
`qwen-weiwei/backend/app/api/rag.py` declares `GET /images/{document_id}/{filename:path}` 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 c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /me
`qwen-weiwei/backend/app/api/auth.py` declares `GET /me` 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: GET /models
`qwen-weiwei/backend/app/api/models.py` declares `GET /models` 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: GET /patents/{document_id}/images
`qwen-weiwei/backend/app/api/rag.py` declares `GET /patents/{document_id}/images` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /patents/{document_id}/images/{filename:path}
`qwen-weiwei/backend/app/api/rag.py` declares `GET /patents/{document_id}/images/{filename:path}` 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 documenti…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sessions
`qwen-weiwei/backend/app/api/agent.py` declares `GET /sessions` 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: GET /sessions/{session_id}/download_report
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `GET /sessions/{session_id}/download_report` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sessions/{session_id}/matrix
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `GET /sessions/{session_id}/matrix` 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 documenti…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /skills
`qwen-weiwei/backend/app/api/admin.py` declares `GET /skills` 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: GET /{document_id}
`qwen-weiwei/backend/app/api/documents.py` declares `GET /{document_id}` 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: GET /{session_id}/documents
`qwen-weiwei/backend/app/api/oa_sessions.py` declares `GET /{session_id}/documents` 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 consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{session_id}/messages
`qwen-weiwei/backend/app/api/rag_sessions.py` declares `GET /{session_id}/messages` 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 consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /comparisons/{comparison_id}
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `PATCH /comparisons/{comparison_id}` 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 document…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /sessions/{session_id}/model
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `PATCH /sessions/{session_id}/model` 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 document…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /{session_id}
`qwen-weiwei/backend/app/api/rag_sessions.py` declares `PATCH /{session_id}` 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: PATCH /{user_id}
`qwen-weiwei/backend/app/api/users.py` declares `PATCH /{user_id}` 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: POST /
`qwen-weiwei/backend/app/api/rag_sessions.py` declares `POST /` 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: POST /analyze_v2
`qwen-weiwei/backend/app/api/oa_agent.py` declares `POST /analyze_v2` 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: POST /analyze_v2/stream
`qwen-weiwei/backend/app/api/oa_agent.py` declares `POST /analyze_v2/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: POST /change-password
`qwen-weiwei/backend/app/api/auth.py` declares `POST /change-password` 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: POST /chat
`qwen-weiwei/backend/app/api/rag.py` declares `POST /chat` 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: POST /feedback
`qwen-weiwei/backend/app/api/rag.py` declares `POST /feedback` 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: POST /ingest/{task_id}
`qwen-weiwei/backend/app/api/rag.py` declares `POST /ingest/{task_id}` 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: POST /login
`qwen-weiwei/backend/app/api/auth.py` declares `POST /login` 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: POST /pipeline/start_stage1
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `POST /pipeline/start_stage1` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /pipeline/start_stage2
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `POST /pipeline/start_stage2` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /pipeline/start_stage3
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `POST /pipeline/start_stage3` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /search
`qwen-weiwei/backend/app/api/rag.py` declares `POST /search` 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: POST /sessions
`qwen-weiwei/backend/app/api/agent.py` declares `POST /sessions` 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: POST /sessions/{session_id}/message
`qwen-weiwei/backend/app/api/agent.py` declares `POST /sessions/{session_id}/message` 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 consu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /skills/{name}/reset
`qwen-weiwei/backend/app/api/admin.py` declares `POST /skills/{name}/reset` 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: POST /upload
`qwen-weiwei/backend/app/api/documents.py` declares `POST /upload` 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: PUT /agents/{name}
`qwen-weiwei/backend/app/api/admin.py` declares `PUT /agents/{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 api Wiring conf 1.00 Unused endpoint: PUT /sessions/{session_id}/matrix
`qwen-weiwei/backend/app/api/disclosure_pipeline.py` declares `PUT /sessions/{session_id}/matrix` 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 documenti…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /skills/{name}
`qwen-weiwei/backend/app/api/admin.py` declares `PUT /skills/{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: qwen-weiwei/backend/app/agents/oa_pipeline/block4_documents.py (1960 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: weiwei/backend/app/agents/oa_pipeline/block4_documents.py (2039 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/dcead647-8d91-45ec-92db-80b4f36a8919/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/dcead647-8d91-45ec-92db-80b4f36a8919/

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.