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.
70 of your 94 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 2.53s · analysis 2.14s · 12.2 MB · GitHub API rate-limit (preflight)

hexo-ai/sia

https://github.com/hexo-ai/sia · scanned 2026-06-05 22:20 UTC (4 days, 8 hours ago) · 10 languages

177 raw signals (87 security + 90 graph) 91st percentile · Python · small (2-20K LoC) System graph score 73 (higher by 12)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 days, 8 hours ago · v2 · 70 actionable findings from 2 signal sources. 62 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 75.0 0.15 11.25
security_score 83.1 0.25 20.77
testing_score 100.0 0.20 20.00
documentation_score 100.0 0.15 15.00
practices_score 75.0 0.15 11.25
code_quality 68.4 0.10 6.84
Overall 1.00 85.1
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade A- (85/100). Dimensions: security 83, maintainability 75. 87 findings (22 security). 7,764 lines analyzed.

Showing 42 of 70 actionable findings. 132 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 Security checks security auth conf 0.70 [AUC003] Object-level route lacks visible authorization: A route with an object id-like parameter does not show nearby authentication or authorization evidence. This is a BOLA/IDOR review target. Endpoint: GET /api/runs/{run_name}/gens/{gen_name}/trajectory/{qid}.
A route with an object id-like parameter does not show nearby authentication or authorization evidence. This is a BOLA/IDOR review target. Endpoint: GET /api/runs/{run_name}/gens/{gen_name}/trajectory/{qid}.
sia/web/server.py:59
high Security checks quality Quality conf 1.00 ✓ Repobility 3 occurrences [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command injection.
Review and fix per the pattern semantics. See CWE-78 / for context.
3 files, 3 locations
sia/backends/pydantic_ai.py:78
sia/tasks/_shared/reference_target_agent.py:73
sia/tasks/spaceship-titanic/reference/reference_target_agent.py:73
high Security checks quality Quality conf 1.00 ✓ Repobility 14 occurrences `self._format_metrics_comparison` used but never assigned in __init__
Method `_generate_llm_summary` of class `ContextManager` reads `self._format_metrics_comparison`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
2 files, 14 locations
sia/context_manager.py:111, 226, 238, 243, 246, 249, 375 (7 hits)
sia/layout.py:119, 126, 129, 132, 135, 138, 154 (7 hits)
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 12 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `astral-sh/setup-uv` pinned to mutable ref `@v4` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
2 files, 12 locations
.github/workflows/ci.yml:25, 67, 88 (6 hits)
.github/workflows/publish.yml:23, 48, 66 (6 hits)
CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 15 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v4` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
2 files, 15 locations
.github/workflows/ci.yml:17, 20, 59, 62, 80, 83 (9 hits)
.github/workflows/publish.yml:15, 18, 40, 43 (6 hits)
CI/CD securitySupply chainGitHub Actions
medium Security checks security auth conf 0.92 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks but does not define .repobility/access.yml or equivalent authorization documentation.
The repository uses web/API frameworks but does not define .repobility/access.yml or equivalent authorization documentation.
high Security checks security auth conf 0.74 [AUC002] Low visible authorization coverage in route inventory: Only 37.5% of discovered routes show nearby authentication, authorization, middleware, or public-route evidence.
Only 37.5% of discovered routes show nearby authentication, authorization, middleware, or public-route evidence.
medium Security checks security auth conf 0.72 [AUC012] FastAPI interactive docs may be exposed by framework defaults: FastAPI exposes /docs, /redoc, and /openapi.json by default. Public production APIs should explicitly disable those defaults, protect them behind admin authentication, or publish a reviewed OpenAPI spec with declared security requirements.
FastAPI exposes /docs, /redoc, and /openapi.json by default. Public production APIs should explicitly disable those defaults, protect them behind admin authentication, or publish a reviewed OpenAPI spec with declared security requirements.
low Security checks security Injection conf 0.50 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input.
Use subprocess with shell=False and a list of args. Never eval user input.
sia/tasks/_shared/reference_target_agent.py:73
low Security checks security Injection conf 0.50 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input.
Use subprocess with shell=False and a list of args. Never eval user input.
sia/backends/pydantic_ai.py:78
medium Security checks quality Quality conf 1.00 [SEC125] AI placeholder credential left in source (your-api-key-here style): AI coding assistants frequently emit placeholder credentials shaped like `API_KEY = "your-api-key-here"` instead of pulling from env. These get committed verbatim — production code with a literal placeholder string is a near-certain bug, and the value also leaks what credential type the system expects to authentication crawlers. CWE-1188. Distinctive AI footprint: the exact phrase shape `your-X-here` is uncommon in hand
Replace with env lookup: `API_KEY = os.environ['SERVICE_API_KEY']`. Move actual key to a secret manager. Add a startup check that the env var is non-empty so missing config fails loudly instead of shipping the placeholder.
sia/tasks/longcot-chess/reference/reference_target_agent.py:285
low Security checks quality Error handling conf 0.55 ✓ Repobility 13 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
6 files, 13 locations
sia/tasks/_shared/reference_target_agent.py:57, 67, 86, 155 (4 hits)
sia/tasks/spaceship-titanic/reference/reference_target_agent.py:57, 67, 86 (3 hits)
sia/tasks/gpqa/reference/reference_target_agent.py:142, 162 (2 hits)
sia/tasks/longcot-chess/reference/reference_target_agent.py:78, 139 (2 hits)
sia/prepare_mlebench_dataset.py:170
sia/tasks/lawbench/data/public/evaluate.py:130
Error handlingquality
high Security checks quality Quality conf 0.74 2 occurrences Frontend API reference is not matched by discovered backend routes
A frontend string references a same-origin API path that Repobility could not match to backend route inventory. This often causes live 404s in user journeys.
lines 429, 449
sia/web/static/index.html:429, 449 (2 hits)
medium Security checks quality Quality conf 0.78 Public web service has no security.txt
security.txt gives researchers and customers a safe disclosure channel. Public web apps and APIs should publish it under /.well-known/security.txt.
.well-known/security.txt
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/publish.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in sia/backends/pydantic_ai.py:80
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
sia/backends/pydantic_ai.py:80 Subprocess shell true
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in sia/tasks/_shared/reference_target_agent.py:75
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
sia/tasks/_shared/reference_target_agent.py:75 Subprocess shell true
medium System graph security security conf 1.00 Insecure pattern 'subprocess_shell_true' in sia/tasks/spaceship-titanic/reference/reference_target_agent.py:75
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
sia/tasks/spaceship-titanic/reference/reference_target_agent.py:75 Subprocess shell true
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — sia/orchestrator.py:297
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — sia/run_setup.py:75
`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.). Either auth lives in custom code, in a separate service, or is missing.
auth
low Security checks security auth conf 0.76 [AUC005] No authorization-focused tests detected: No test files with common authorization, ownership, 403, admin, or super_admin assertions were found.
No test files with common authorization, ownership, 403, admin, or super_admin assertions were found.
low Security checks quality Quality conf 0.60 Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
sia/tasks/spaceship-titanic/reference/reference_target_agent.py:1 duplicationquality
low System graph software Dead code candidate conf 1.00 File has no detected symbols: sia/__main__.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: sia/util.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/conftest.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
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: sia/results.py:as_tuple, sia/results.py:as_tuple 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 software Dead code conf 1.00 Possibly dead Python function: gen_dir_rel
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sia/layout.py:110
low System graph software Dead code conf 1.00 Possibly dead Python function: log_trajectory
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sia/tasks/_shared/reference_target_agent.py:139
low System graph software Dead code conf 1.00 Possibly dead Python function: run_agent_claude
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sia/backends/claude.py:13
low System graph software Dead code conf 1.00 Possibly dead Python function: run_agent_openhands
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sia/backends/openhands.py:32
low System graph software Dead code conf 1.00 Possibly dead Python function: safe_load_json
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sia/io_utils.py:47
low System graph software Dead code conf 1.00 Possibly dead Python function: safe_read_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sia/io_utils.py:34
low System graph software Dead code conf 1.00 Possibly dead Python function: save_results_json
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sia/tasks/gpqa/reference/reference_target_agent.py:230
low System graph api Wiring conf 1.00 Unused endpoint: GET /
`sia/web/server.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 /api/runs
`sia/web/server.py` declares `GET /api/runs` 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/runs/{run_name}
`sia/web/server.py` declares `GET /api/runs/{run_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/runs/{run_name}/gens/{gen_name}/artifact/{label}
`sia/web/server.py` declares `GET /api/runs/{run_name}/gens/{gen_name}/artifact/{label}` 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 co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/runs/{run_name}/gens/{gen_name}/eval
`sia/web/server.py` declares `GET /api/runs/{run_name}/gens/{gen_name}/eval` 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/runs/{run_name}/gens/{gen_name}/openhands
`sia/web/server.py` declares `GET /api/runs/{run_name}/gens/{gen_name}/openhands` 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 /api/runs/{run_name}/gens/{gen_name}/openhands/{session}
`sia/web/server.py` declares `GET /api/runs/{run_name}/gens/{gen_name}/openhands/{session}` 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 /api/runs/{run_name}/gens/{gen_name}/trajectory/{qid}
`sia/web/server.py` declares `GET /api/runs/{run_name}/gens/{gen_name}/trajectory/{qid}` 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 co…
Unused endpoint
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/99e8c792-75c5-4581-9d42-d279f50144da/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/99e8c792-75c5-4581-9d42-d279f50144da/

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.