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.

RobLe3/iicp-client-python

https://github.com/RobLe3/iicp-client-python · scanned 2026-06-15 23:53 UTC (2 months, 3 weeks ago)

69 raw signals (0 security + 69 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 3 weeks ago · v1 · 56 actionable findings from 1 signal source. 13 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 64.3/100 with 100.0% coverage. It contains 2030 nodes across 9 cross-layer flows, written primarily in mixed languages. Engine surfaced 69 findings — concentrated in quality (36), software (14), api (7). Risk profile is high: 0 critical, 5 high, 5 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 41 of 56 actionable findings. 69 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 quality Integrity conf 1.00 Blocking `urllib.request.urlopen(...)` inside `async def _auto_elect_relay` — src/iicp_client/cli.py:1356
Sync I/O inside an async function blocks the event loop. While `urllib.request.urlopen(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asy…
src/iicp_client/cli.py:1356 Sync io in asyncPerformance
high System graph security auth conf 1.00 FastAPI POST `api_chat` without auth dependency — src/iicp_client/proxy/ollama_compat/server.py:140
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/iicp_client/proxy/ollama_compat/server.py:140 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_generate` without auth dependency — src/iicp_client/proxy/ollama_compat/server.py:167
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/iicp_client/proxy/ollama_compat/server.py:167 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `chat_completions` without auth dependency — src/iicp_client/proxy/openai_compat/server.py:77
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/iicp_client/proxy/openai_compat/server.py:77 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `messages` without auth dependency — src/iicp_client/proxy/anthropic_compat/server.py:165
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/iicp_client/proxy/anthropic_compat/server.py:165 securityAuth fastapi unauth mutation
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 hardware Security conf 1.00 Dockerfile runs as root: 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 src/iicp_client/node.py:912
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
src/iicp_client/node.py:912 Cors wildcard
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
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 50 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 2 occurrences Docker base image is tag-pinned but not digest-pinned: python:3.12-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
lines 23, 29
Dockerfile:23, 29 (2 hits)
containersPinned dependencies
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: src/iicp_client/trust_auditor.py:as_dict, src/iicp_client/trust_auditor.py:as_dict 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 Integrity conf 1.00 Old/deprecated-named symbol `r_old` in tests/proxy/test_trust_resolver.py:29
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: attempt
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/proxy/routing/router.py:90
low System graph software Dead code conf 1.00 Possibly dead Python function: do_GET
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/cli.py:1847
low System graph software Dead code conf 1.00 Possibly dead Python function: do_GET
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/node.py:862
low System graph software Dead code conf 1.00 Possibly dead Python function: do_OPTIONS
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/node.py:900
low System graph software Dead code conf 1.00 Possibly dead Python function: do_POST
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/cli.py:1859
low System graph software Dead code conf 1.00 Possibly dead Python function: do_POST
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/node.py:878
low System graph software Dead code conf 1.00 Possibly dead Python function: is_retriable
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/proxy/routing/retry.py:95
low System graph software Dead code conf 1.00 Possibly dead Python function: log_message
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/cli.py:1836
low System graph software Dead code conf 1.00 Possibly dead Python function: log_message
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/node.py:859
low System graph software Dead code conf 1.00 Possibly dead Python function: perform_self_update
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/updater.py:80
low System graph software Dead code conf 1.00 Possibly dead Python function: record_exception
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/otel_tracer.py:71
low System graph software Dead code conf 1.00 Possibly dead Python function: record_exception
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/proxy/otel_tracer.py:77
low System graph software Dead code conf 1.00 Possibly dead Python function: record_routing
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/proxy/metrics.py:21
low System graph software Dead code conf 1.00 Possibly dead Python function: reexec_cli
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/iicp_client/updater.py:93
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 quality Integrity conf 1.00 Stub function `set_attribute` (body is just `pass`/`return`) — src/iicp_client/otel_tracer.py:68
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `set_attribute` (body is just `pass`/`return`) — src/iicp_client/proxy/otel_tracer.py:74
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/tags
`src/iicp_client/proxy/ollama_compat/server.py` declares `GET /api/tags` 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/version
`src/iicp_client/proxy/ollama_compat/server.py` declares `GET /api/version` 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 /v1/models
`src/iicp_client/proxy/anthropic_compat/server.py` declares `GET /v1/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: POST /api/chat
`src/iicp_client/proxy/ollama_compat/server.py` declares `POST /api/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 /api/generate
`src/iicp_client/proxy/ollama_compat/server.py` declares `POST /api/generate` 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 /v1/chat/completions
`src/iicp_client/proxy/openai_compat/server.py` declares `POST /v1/chat/completions` 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 consum…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /v1/messages
`src/iicp_client/proxy/anthropic_compat/server.py` declares `POST /v1/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 consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: src/iicp_client/cli.py (2031 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/iicp_client/nat_detection.py (1493 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/iicp_client/node.py (1749 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/56022714-19ba-477f-be32-3d62b43f4be8/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/56022714-19ba-477f-be32-3d62b43f4be8/

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.