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.

rfkih/data-ingestion

https://github.com/rfkih/data-ingestion · scanned 2026-06-15 23:50 UTC (2 months, 3 weeks ago)

62 raw signals (0 security + 62 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

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

Showing 39 of 62 actionable findings. 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 Agent instructions conf 1.00 Agent instruction/config may expose a secret: .claude/agents/quant-curator.md
Agent-facing files are routinely pasted into LLM/tool contexts. Move literal tokens, keys, and passwords into a secret manager or document them as placeholders only.
.claude/agents/quant-curator.md:370 SecretsClaude instruction
high System graph security Agent instructions conf 1.00 Agent instruction/config may expose a secret: .claude/agents/quant-researcher.md
Agent-facing files are routinely pasted into LLM/tool contexts. Move literal tokens, keys, and passwords into a secret manager or document them as placeholders only.
.claude/agents/quant-researcher.md:220 SecretsClaude instruction
high System graph security auth conf 1.00 FastAPI POST `batch_predict` without auth dependency — blackheart-inference/src/blackheart_inference/api/batch.py:72
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
blackheart-inference/src/blackheart_inference/api/batch.py:72 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reset_metrics` without auth dependency — blackheart-inference/src/blackheart_inference/api/metrics.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.
blackheart-inference/src/blackheart_inference/api/metrics.py:77 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `run_backfill` without auth dependency — blackheart-inference/src/blackheart_inference/api/inference.py:338
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
blackheart-inference/src/blackheart_inference/api/inference.py:338 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `run_inference` without auth dependency — blackheart-inference/src/blackheart_inference/api/inference.py:243
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
blackheart-inference/src/blackheart_inference/api/inference.py:243 securityAuth fastapi unauth mutation
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
medium System graph hardware Security conf 1.00 Dockerfile runs as root: blackheart-inference/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: blackheart-ingest/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/blackheart-ingest-ci.yml CI/CD securitySupply chainGithub actions
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/blackheart-inference-ci.yml CI/CD securitySupply chainGithub actions
medium System graph network Security conf 1.00 Privileged port 126 in use
Port 126 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
docker-compose.yml Ports
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 55 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.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.
blackheart-inference/Dockerfile:1 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 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.
blackheart-ingest/Dockerfile:1 containersPinned dependencies
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: blackheart-inference/src/blackheart_inference/repo/features.py:fetch_per_bar_values_at_ts, blackheart-inference/src/blackheart_inference/repo/features.py:fetch_per_bar_values_range This is *the* AI-coder failure mode (4× more duplication in vibe-code…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: db-analysis/build_excel_3.py:parse_explain_blocks, db-analysis/build_excel_5.py:parse_explain_blocks, db-analysis/build_excel_2.py:parse_explain_blocks, db-analysis/build_excel_4.py:parse_explain_blocks This is *the* AI-coder failure mode (4× more du…
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 `model_copy` in blackheart-inference/tests/test_readyz.py:50
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 `regime_btc_v2` in blackheart-ingest/src/blackheart_ingest/features/definitions.py:739
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 `regime_btc_v2` in blackheart-ingest/tests/test_train_ingest_equivalence.py:4
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 `regime_eth_v2` in blackheart-inference/tests/test_streaming.py:35
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: binance_should_retry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
blackheart-ingest/src/blackheart_ingest/shared/binance_http.py:27
low System graph software Dead code conf 1.00 Possibly dead Python function: require_token
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
blackheart-ingest/src/blackheart_ingest/workers/server.py:102
low System graph software Dead code conf 1.00 Possibly dead Python function: run_feature_stream
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
blackheart-ingest/src/blackheart_ingest/workers/feature_stream.py:211
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 /features
`blackheart-ingest/src/blackheart_ingest/workers/server.py` declares `GET /features` 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: GET /latency
`blackheart-inference/src/blackheart_inference/api/metrics.py` declares `GET /latency` 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 cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /liquidation/status
`blackheart-ingest/src/blackheart_ingest/workers/server.py` declares `GET /liquidation/status` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources
`blackheart-ingest/src/blackheart_ingest/workers/server.py` declares `GET /sources` 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 consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /backfill
`blackheart-inference/src/blackheart_inference/api/inference.py` declares `POST /backfill` 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: POST /batch-predict
`blackheart-inference/src/blackheart_inference/api/batch.py` declares `POST /batch-predict` 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: POST /compute/incremental
`blackheart-ingest/src/blackheart_ingest/workers/server.py` declares `POST /compute/incremental` 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 documentin…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /compute/{feature_name}/v/{version}
`blackheart-ingest/src/blackheart_ingest/workers/server.py` declares `POST /compute/{feature_name}/v/{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 removin…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /pull/{source}
`blackheart-ingest/src/blackheart_ingest/workers/server.py` declares `POST /pull/{source}` 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: POST /reset
`blackheart-inference/src/blackheart_inference/api/metrics.py` declares `POST /reset` 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 consu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /run
`blackheart-inference/src/blackheart_inference/api/inference.py` declares `POST /run` 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 consu…
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: blackheart-ingest/src/blackheart_ingest/features/definitions.py (2183 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/dc8441cc-8587-451d-a2ae-c445672dcd09/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/dc8441cc-8587-451d-a2ae-c445672dcd09/

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.