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.

xian-technology/xian-contracting-hub-web

https://github.com/xian-technology/xian-contracting-hub-web · scanned 2026-06-16 01:02 UTC (2 months, 1 week ago)

79 raw signals (0 security + 79 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 65 actionable findings from 1 signal source. 14 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 77.6/100 with 77.8% coverage. It contains 2095 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 79 findings — concentrated in quality (42), software (26), cicd (7). Risk profile is high: 2 critical, 0 high, 4 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 63 of 65 actionable findings. 79 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 contracting_hub/services/auth.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
contracting_hub/services/auth.py:62
critical System graph security Secrets conf 1.00 Possible secret in contracting_hub/services/bootstrap.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
contracting_hub/services/bootstrap.py:296
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 cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
astral-sh/setup-uv@v7 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/validate.yml:52 CI/CD securitySupply chainGithub actions
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 Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 44 placeholder/mock markers across 13 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph cicd CI/CD security conf 1.00 6 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v6 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 16, 21, 28, 35, 42, 47
.github/workflows/validate.yml:16, 21, 28, 35, 42, 47 (6 hits)
CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 6 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: contracting_hub/integrations/playground.py:submit_deployment, contracting_hub/integrations/playground.py:submit_deployment This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate …
6 occurrences
repo-level (6 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: contracting_hub/integrations/playground.py:as_payload, contracting_hub/integrations/playground.py:as_payload, contracting_hub/integrations/playground.py:as_payload This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see htt…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: contracting_hub/states/admin_catalog_operations.py:logout_current_user, contracting_hub/states/admin_contract_relations.py:logout_current_user, contracting_hub/states/admin_contract_versions.py:logout_current_user, contracting_hub/states/admin_contrac…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 7 places
Functions with the same first-5-line body hash: contracting_hub/states/profile_settings.py:is_authenticated, contracting_hub/states/admin_catalog_operations.py:is_authenticated, contracting_hub/states/admin_contract_relations.py:is_authenticated, contracting_hub/states/admin_contract_versions.py:is…
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 8 places
Functions with the same first-5-line body hash: contracting_hub/states/profile_settings.py:current_identity_label, contracting_hub/states/admin_catalog_operations.py:current_identity_label, contracting_hub/states/admin_contract_relations.py:current_identity_label, contracting_hub/states/auth.py:cur…
3 occurrences
repo-level (3 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 `_build_empty_history_copy` in contracting_hub/states/deployment_history.py:251
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 `_empty_section_copy` in contracting_hub/pages/home.py:121
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 `con_escrow_v2` in contracting_hub/admin/contract_editor.py:519
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 `con_escrow_v2` in tests/unit/test_admin_contract_editor_state.py:246
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 `con_legacy` in tests/integration/test_admin_contracts_service.py:93
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 `con_market_maker_legacy` in contracting_hub/services/bootstrap.py:475
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 `con_token_v2` in tests/unit/test_contract_metadata.py:22
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 `empty_copy` in contracting_hub/components/contract_related_contracts.py:76
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 `engagement_login_copy` in contracting_hub/pages/contract_detail.py:468
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 `engagement_login_copy` in contracting_hub/states/contract_detail.py:246
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 `escrow_v1` in tests/integration/test_developer_kpi_aggregations.py:100
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 `escrow_v1` in tests/integration/test_homepage_service_queries.py:69
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 `escrow_v1` in tests/integration/test_public_developer_profile_snapshot_service.py:81
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 `lint_summary_copy` in contracting_hub/components/contract_lint_results_panel.py:19
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 `lint_summary_copy` in tests/integration/test_contract_lint_results_panel_component_smoke.py:62
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 `note_empty_copy` in contracting_hub/admin/contract_relations.py:368
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 `preview_lint_summary_copy` in contracting_hub/admin/contract_versions.py:611
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 `preview_lint_summary_copy` in contracting_hub/states/admin_contract_versions.py:247
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 `preview_lint_summary_copy` in tests/unit/test_admin_contract_versions_state.py:242
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 `test_format_admin_contract_relation_type_label_returns_expected_copy` in tests/unit/test_admin_contract_relations_service_helpers.py:36
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 `test_registration_page_renders_form_shell_and_identity_copy` in tests/integration/test_auth_pages_smoke.py:77
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: cancel_edit_relation
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/admin_contract_relations.py:284
low System graph software Dead code conf 1.00 Possibly dead Python function: load_login_page
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/auth.py:92
low System graph software Dead code conf 1.00 Possibly dead Python function: load_registration_page
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/auth.py:97
low System graph software Dead code conf 1.00 Possibly dead Python function: remove_avatar
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:325
low System graph software Dead code conf 1.00 Possibly dead Python function: reset_playground_target_form
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:359
low System graph software Dead code conf 1.00 Possibly dead Python function: set_note_value
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/admin_contract_relations.py:260
low System graph software Dead code conf 1.00 Possibly dead Python function: set_playground_target_default_choice
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:355
low System graph software Dead code conf 1.00 Possibly dead Python function: set_playground_target_label
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:347
low System graph software Dead code conf 1.00 Possibly dead Python function: set_playground_target_playground_id
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:351
low System graph software Dead code conf 1.00 Possibly dead Python function: set_profile_bio
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:244
low System graph software Dead code conf 1.00 Possibly dead Python function: set_profile_display_name
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:240
low System graph software Dead code conf 1.00 Possibly dead Python function: set_profile_github_url
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:252
low System graph software Dead code conf 1.00 Possibly dead Python function: set_profile_username
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:236
low System graph software Dead code conf 1.00 Possibly dead Python function: set_profile_website_url
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:248
low System graph software Dead code conf 1.00 Possibly dead Python function: set_profile_xian_profile_url
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/profile_settings.py:256
low System graph software Dead code conf 1.00 Possibly dead Python function: set_query
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/admin_contracts.py:193
low System graph software Dead code conf 1.00 Possibly dead Python function: set_relation_type_value
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/admin_contract_relations.py:255
low System graph software Dead code conf 1.00 Possibly dead Python function: set_search_query
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/browse.py:141
low System graph software Dead code conf 1.00 Possibly dead Python function: set_selected_category
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/browse.py:145
low System graph software Dead code conf 1.00 Possibly dead Python function: set_selected_featured_filter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/admin_contracts.py:197
low System graph software Dead code conf 1.00 Possibly dead Python function: set_selected_sort
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/browse.py:153
low System graph software Dead code conf 1.00 Possibly dead Python function: set_selected_sort
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/developer_leaderboard.py:124
low System graph software Dead code conf 1.00 Possibly dead Python function: set_selected_tag
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/browse.py:149
low System graph software Dead code conf 1.00 Possibly dead Python function: set_selected_timeframe
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/developer_leaderboard.py:128
low System graph software Dead code conf 1.00 Possibly dead Python function: set_selected_window_days
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/developer_leaderboard.py:132
low System graph software Dead code conf 1.00 Possibly dead Python function: set_target_contract_id_value
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
contracting_hub/states/admin_contract_relations.py:250
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 Complexity conf 1.00 Very large file: contracting_hub/services/bootstrap.py (1586 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: contracting_hub/states/contract_detail.py (1512 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/d6da69a6-0554-4a8f-b57a-ebd6f8d75891/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/d6da69a6-0554-4a8f-b57a-ebd6f8d75891/

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.