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.

svenhuisman/solarpredict

https://github.com/svenhuisman/solarpredict · scanned 2026-06-16 00:26 UTC (2 months, 2 weeks ago)

24 raw signals (0 security + 24 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 24 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 81.4/100 with 88.9% coverage. It contains 129 nodes across 5 cross-layer flows, written primarily in mixed languages. Engine surfaced 24 findings — concentrated in software (8), quality (5), api (4). Risk profile is low: 0 critical, 0 high, 4 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 22 of 24 actionable findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

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 security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/index.html:106
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/index.html:106 Direct innerhtml assignment
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 cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. 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 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.
Dockerfile:1 containersPinned dependencies
low System graph quality Tests conf 1.00 Low test-to-source ratio
2 tests / 12 src (ratio 0.17).
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: async_get_solar_forecast
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/solarpredict/energy.py:11
low System graph software Dead code conf 1.00 Possibly dead Python function: async_setup_entry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/solarpredict/__init__.py:15
low System graph software Dead code conf 1.00 Possibly dead Python function: async_setup_entry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/solarpredict/sensor.py:87
low System graph software Dead code conf 1.00 Possibly dead Python function: async_step_init
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/solarpredict/config_flow.py:129
low System graph software Dead code conf 1.00 Possibly dead Python function: async_step_reconfigure
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/solarpredict/config_flow.py:67
low System graph software Dead code conf 1.00 Possibly dead Python function: async_step_user
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/solarpredict/config_flow.py:36
low System graph software Dead code conf 1.00 Possibly dead Python function: async_unload_entry
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/solarpredict/__init__.py:25
low System graph software Dead code conf 1.00 Possibly dead Python function: verify_token
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/main.py:52
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 /
`app/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 /api/forecast
`app/main.py` declares `GET /api/forecast` 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/ha
`app/main.py` declares `GET /api/ha` 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 /estimate/{lat}/{lon}/{dec}/{az}/{kwp}
`app/main.py` declares `GET /estimate/{lat}/{lon}/{dec}/{az}/{kwp}` 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/c7a66d17-6022-4e96-89f1-a3cd4464b870/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/c7a66d17-6022-4e96-89f1-a3cd4464b870/

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.