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.

zenopie/earth-network-backend

https://github.com/zenopie/earth-network-backend · scanned 2026-06-16 01:11 UTC (2 months, 1 week ago)

48 raw signals (0 security + 48 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

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

Showing 45 of 47 actionable findings. 48 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 services/monero_wallet.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
services/monero_wallet.py:37
high System graph security auth conf 1.00 FastAPI POST `contract_query` without auth dependency — routers/secret_query.py:25
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
routers/secret_query.py:25 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `generate_deposit_address` without auth dependency — routers/monero_bridge.py:168
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
routers/monero_bridge.py:168 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `request_withdrawal` without auth dependency — routers/monero_bridge.py:284
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
routers/monero_bridge.py:284 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `retry_mint` without auth dependency — routers/monero_bridge.py:395
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
routers/monero_bridge.py:395 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `test_verify` without auth dependency — routers/verify.py:96
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
routers/verify.py:96 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `verify` without auth dependency — routers/verify.py:131
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
routers/verify.py:131 securityAuth fastapi unauth mutation
medium System graph quality Tests conf 1.00 CI is configured but no tests are detected
A CI pipeline exists, but the scan found no test files to gate. Opus labeled this generated-code pattern as config theater: release machinery exists, but it has little behavioral signal.
CI/CDConfig theaterRepo hardening
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 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/docker-build-secretvm.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in tools/epassport_verifier.py:418
Found a known-risky pattern (weak_hash). Review and replace if possible.
tools/epassport_verifier.py:418 Weak hash
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 22 source file(s) (ratio 0.00). 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, tests. 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 118 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:4 containersPinned dependencies
low System graph cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v3 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/docker-build-secretvm.yml:18 CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: scheduled_tasks/monero_bridge.py:save_deposit_address, scheduled_tasks/monero_bridge.py:save_deposit 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'r…
2 occurrences
repo-level (2 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 software Dead code conf 1.00 Possibly dead Python function: create_subaddress_sync
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduled_tasks/monero_bridge.py:523
low System graph software Dead code conf 1.00 Possibly dead Python function: create_withdrawal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduled_tasks/monero_bridge.py:324
low System graph software Dead code conf 1.00 Possibly dead Python function: download_and_extract_csca
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/extract_csca.py:229
low System graph software Dead code conf 1.00 Possibly dead Python function: poll_deposits
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduled_tasks/monero_bridge.py:560
low System graph software Dead code conf 1.00 Possibly dead Python function: refresh_wallet_sync
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduled_tasks/monero_bridge.py:543
low System graph software Dead code conf 1.00 Possibly dead Python function: send_transfer_sync
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduled_tasks/monero_bridge.py:548
low System graph software Dead code conf 1.00 Possibly dead Python function: set_metadata
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scheduled_tasks/monero_bridge.py:498
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: GET /
`main.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 /ads-callback
`routers/faucet.py` declares `GET /ads-callback` 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 /analytics
`routers/analytics.py` declares `GET /analytics` 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 /anml-price
`routers/analytics.py` declares `GET /anml-price` 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 /balance
`routers/monero_bridge.py` declares `GET /balance` 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 /current/meta
`routers/airdrop.py` declares `GET /current/meta` 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 /current/{address}
`routers/airdrop.py` declares `GET /current/{address}` 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 /deposit-status/{secret_address}
`routers/monero_bridge.py` declares `GET /deposit-status/{secret_address}` 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 /erth-price
`routers/analytics.py` declares `GET /erth-price` 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 /supply/anml
`routers/analytics.py` declares `GET /supply/anml` 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 /supply/erth
`routers/analytics.py` declares `GET /supply/erth` 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 /tickers
`routers/analytics.py` declares `GET /tickers` 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 /contract_query
`routers/secret_query.py` declares `POST /contract_query` 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 /deposit-address
`routers/monero_bridge.py` declares `POST /deposit-address` 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 /retry-mint
`routers/monero_bridge.py` declares `POST /retry-mint` 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 /test-verify
`routers/verify.py` declares `POST /test-verify` 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 /verify
`routers/verify.py` declares `POST /verify` 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 /withdraw
`routers/monero_bridge.py` declares `POST /withdraw` 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
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/0a0fa593-f809-48c5-bc34-bd5dd79b5808/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/0a0fa593-f809-48c5-bc34-bd5dd79b5808/

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.