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.

Scottcjn/Rustchain

https://github.com/Scottcjn/Rustchain · scanned 2026-06-16 04:38 UTC (1 month, 3 weeks ago)

84 raw signals (0 security + 84 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 3 weeks ago · v1 · 68 actionable findings from 1 signal source. 16 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 94.0/100 with 77.8% coverage. It contains 1091 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 84 findings — concentrated in quality (37), security (26), software (20). Risk profile is high: 0 critical, 22 high, 10 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 62 of 68 actionable findings. 84 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 security auth conf 1.00 Flask mutation route `admin_intervene` without `@login_required` — agent_relationships.py:1183
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
agent_relationships.py:1183 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `agent_accept_delivery` without `@login_required` — rip302_agent_economy.py:586
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
rip302_agent_economy.py:586 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `agent_cancel_job` without `@login_required` — rip302_agent_economy.py:765
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
rip302_agent_economy.py:765 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `agent_claim_job` without `@login_required` — rip302_agent_economy.py:437
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
rip302_agent_economy.py:437 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `agent_deliver_job` without `@login_required` — rip302_agent_economy.py:511
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
rip302_agent_economy.py:511 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `agent_dispute_job` without `@login_required` — rip302_agent_economy.py:703
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
rip302_agent_economy.py:703 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `agent_post_job` without `@login_required` — rip302_agent_economy.py:327
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
rip302_agent_economy.py:327 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_ledger_create` without `@login_required` — payout_ledger.py:284
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
payout_ledger.py:284 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_ledger_update` without `@login_required` — payout_ledger.py:311
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
payout_ledger.py:311 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `approve_contributor` without `@login_required` — contributor_registry.py:313
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
contributor_registry.py:313 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `collaborate` without `@login_required` — agent_relationships.py:1133
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
agent_relationships.py:1133 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `create_badge` without `@login_required` — profile_badge_generator.py:170
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
profile_badge_generator.py:170 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `disagree` without `@login_required` — agent_relationships.py:1108
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
agent_relationships.py:1108 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `drip` without `@login_required` — faucet.py:383
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
faucet.py:383 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `faucet_drip` without `@login_required` — keeper_explorer.py:120
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
keeper_explorer.py:120 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `inspect_fingerprint` without `@login_required` — sophia_api.py:80
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
sophia_api.py:80 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `reconcile` without `@login_required` — agent_relationships.py:1160
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
agent_relationships.py:1160 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `register` without `@login_required` — contributor_registry.py:266
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
contributor_registry.py:266 securityAuth flask unauth route
high System graph security security conf 1.00 Insecure pattern 'tls_verify_false' in install-miner.sh:215
Found a known-risky pattern (tls_verify_false). Review and replace if possible.
install-miner.sh:215 Tls verify false
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 security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in faucet.py:316
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
faucet.py:316 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in mining-simulator.html:268
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
mining-simulator.html:268 Direct innerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — setup_miner.py:88
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — test_ppa_compliance.py:55
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — test_ppa_visualizer.py:101
`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 quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — validate_bounty_2303.py:176
`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.). 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 17 placeholder/mock markers across 10 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 quality Integrity conf 1.00 27 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `BCOS_DIRECTORY_DEBUG`, `BCOS_DIRECTORY_HOST`, `BCOS_DIRECTORY_PORT`, `BCOS_DIRECTORY_SECRET_KEY`, `CONTRIBUTOR_ADMIN_KEY`, `CONTRIBUTOR_REGISTRATION_KEY`, `CONTRIBUTOR_REGISTRY_DEBUG`, `CONTRIBUTOR_SECRET_KEY` + 19 more. Add them (with a placehold…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 566 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: python:3.11-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:2 containersPinned dependencies
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: test_rpc_malformed_json.py:post, test_rpc_cors_csrf.py:post 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.
16 occurrences
repo-level (16 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: agent_relationships.py:disagree, agent_relationships.py:collaborate, agent_relationships.py:reconcile 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'…
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: test_agent_relationships.py:setUp, test_agent_relationships.py:setUp, test_agent_relationships.py:setUp, test_agent_relationships.py:setUp This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygien…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `IBM_5150_v1` in keeper_explorer.py:361
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 `rustchain_mac_miner_v2` in setup_miner.py:26
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 `rustchain_v2_integrated_v2` in integrated_node.py:10
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 `rustchain_v2_integrated_v2` in payout_ledger.py:5
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 `rustchain_v2_integrated_v2` in replay_attack_poc.py:174
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 `rustchain_v2_integrated_v2` in replay_defense.py:18
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 `rustchain_v2` in docker-entrypoint.py:24
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: broadcast_job
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_economy_sdk.py:114
low System graph software Dead code conf 1.00 Possibly dead Python function: can_drip
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
faucet.py:87
low System graph software Dead code conf 1.00 Possibly dead Python function: cancel_job
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_economy_sdk.py:98
low System graph software Dead code conf 1.00 Possibly dead Python function: cancel_job
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_sdk_demo.py:138
low System graph software Dead code conf 1.00 Possibly dead Python function: check_anomalies
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
replay_defense.py:292
low System graph software Dead code conf 1.00 Possibly dead Python function: check_rate_limit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
keeper_explorer.py:61
low System graph software Dead code conf 1.00 Possibly dead Python function: check_replay_attack
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
replay_defense.py:134
low System graph software Dead code conf 1.00 Possibly dead Python function: check_server
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
validate_web_explorer.py:12
low System graph software Dead code conf 1.00 Possibly dead Python function: create_relationship_blueprint
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_relationships.py:1032
low System graph software Dead code conf 1.00 Possibly dead Python function: dispute_job
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_economy_sdk.py:94
low System graph software Dead code conf 1.00 Possibly dead Python function: dispute_job
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_sdk_demo.py:126
low System graph software Dead code conf 1.00 Possibly dead Python function: init_mood_routes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
bottube_mood_engine.py:1117
low System graph software Dead code conf 1.00 Possibly dead Python function: invalidate
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_reputation.py:300
low System graph software Dead code conf 1.00 Possibly dead Python function: mark_reviewed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
sophia_db.py:182
low System graph software Dead code conf 1.00 Possibly dead Python function: record_drip
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
faucet.py:115
low System graph software Dead code conf 1.00 Possibly dead Python function: record_submission
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
replay_defense.py:218
low System graph software Dead code conf 1.00 Possibly dead Python function: register_ledger_routes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
payout_ledger.py:248
low System graph software Dead code conf 1.00 Possibly dead Python function: reject_delivery
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_economy_sdk.py:77
low System graph software Dead code conf 1.00 Possibly dead Python function: scrape_metrics
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
prometheus_exporter.py:141
low System graph software Dead code conf 1.00 Possibly dead Python function: start_cache_refresh
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
agent_reputation.py:325
low System graph quality Complexity conf 1.00 Very large file: agent_relationships.py (1313 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/652b2a8f-05d7-41ad-bb34-77c2266755ef/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/652b2a8f-05d7-41ad-bb34-77c2266755ef/

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.