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.
75 of your 99 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 3.68s · analysis 4.93s · 3.5 MB · GitHub API rate-limit (preflight)

lasswellt/govee-homeassistant

https://github.com/lasswellt/govee-homeassistant · scanned 2026-06-05 15:05 UTC (5 days, 1 hour ago) · 10 languages

225 raw signals (93 security + 132 graph) 69th percentile · Python · medium (20-100K LoC) System graph score 80 (lower by 4)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 1 hour ago · v2 · 92 actionable findings from 2 signal sources. 42 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 75.0 0.15 11.25
security_score 55.9 0.25 13.97
testing_score 100.0 0.20 20.00
documentation_score 99.6 0.15 14.94
practices_score 73.0 0.15 10.95
code_quality 49.7 0.10 4.97
Overall 1.00 76.1
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade B+ (76/100). Dimensions: security 56, maintainability 75. 93 findings (25 security). 28,154 lines analyzed.

Showing 43 of 92 actionable findings. 134 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 Security checks security secrets conf 0.95 Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
Gitleaks detected a committed secret or credential pattern.
docs/govee-protocol-reference.md:1057
low Security checks cicd CI/CD security conf 0.35 ✓ Repobility Workflow references repository secrets in a pull_request workflow
Fork pull_request runs do not receive normal repository secrets on GitHub Actions. Review this as a reliability/intent signal, not as direct fork-secret exfiltration. Raise severity only for pull_request_target or another trusted-context path that runs untrusted PR code with secrets.
.github/workflows/tox.yaml:38 CI/CD securityworkflow secretsGitHub Actions
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 2 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `codecov/codecov-action` pinned to mutable ref `@v4` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
lines 35
.github/workflows/tox.yaml:35 (2 hits)
CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 11 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v4` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
5 files, 11 locations
.github/workflows/tox.yaml:18, 21 (3 hits)
.github/workflows/type-check.yaml:14, 17 (3 hits)
.github/workflows/install-stats.yml:23, 29 (2 hits)
.github/workflows/uptime.yml:22, 23 (2 hits)
.github/workflows/rebase_dependencies.yml:28
CI/CD securitySupply chainGitHub Actions
high Security checks cicd CI/CD security conf 0.90 ✓ Repobility GitHub Action is tag-pinned rather than SHA-pinned
Action `home-assistant/actions/hassfest` pinned to mutable ref `@master` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
.github/workflows/hacs-hass.yaml:26 CI/CD securitySupply chainGitHub Actions
high Security checks software dependencies conf 0.90 ✓ Repobility 3 occurrences pre-commit hook `https://github.com/psf/black` pinned to mutable rev `24.10.0`
`.pre-commit-config.yaml` references `https://github.com/psf/black` at `rev: 24.10.0`. If `{rev}` is a branch or version tag, the repo owner can push new code there and `pre-commit install --install-hooks` will fetch it on every developer's machine.
lines 2, 8, 14
.pre-commit-config.yaml:2, 8, 14 (3 hits)
high System graph cicd CI/CD security conf 1.00 GitHub Action tracks a moving branch
hacs/action@main can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/hacs-hass.yaml:17 CI/CD securitySupply chainGithub actions
medium Security checks security auth conf 0.92 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks but does not define .repobility/access.yml or equivalent authorization documentation.
The repository uses web/API frameworks but does not define .repobility/access.yml or equivalent authorization documentation.
low Security checks quality Error handling conf 0.55 ✓ Repobility 3 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
3 files, 3 locations
custom_components/govee/coordinator.py:1208
custom_components/govee/diagnostics.py:84
scripts/status_badges.py:406
Error handlingquality
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/uptime.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/install-stats.yml CI/CD securitySupply chainGithub actions
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/status_badges.py:129
`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.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph network Security conf 1.00 Privileged port 11 in use
Port 11 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
custom_components/govee/services.yaml Ports
medium System graph network Security conf 1.00 Privileged port 6 in use
Port 6 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
.github/workflows/install-stats.yml Ports
low Security checks quality Quality conf 0.60 Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
custom_components/govee/protocols/api.py:27 duplicationquality
low Security checks quality Quality conf 0.60 Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
custom_components/govee/platforms/segment.py:113 duplicationquality
low Security checks quality Quality conf 0.74 robots.txt does not advertise a sitemap
Sitemap directives in robots.txt help crawlers and AI agents find the canonical public URL inventory quickly.
docs/_research/2026-03-30_govee-login-454-error.md
low System graph software Dead code candidate conf 1.00 File has no detected symbols: custom_components/govee/const.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 11 places
Functions with the same first-5-line body hash: custom_components/govee/sensor.py:native_value, custom_components/govee/sensor.py:native_value, custom_components/govee/sensor.py:native_value, custom_components/govee/sensor.py:native_value This is *the* AI-coder failure mode (4× more duplication in…
duplicatesduplication
low System graph quality Integrity conf 1.00 8 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: custom_components/govee/binary_sensor.py:extra_state_attributes, custom_components/govee/binary_sensor.py:extra_state_attributes This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consol…
8 occurrences
repo-level (8 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: custom_components/govee/binary_sensor.py:available, custom_components/govee/binary_sensor.py:available, custom_components/govee/binary_sensor.py:available This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.h…
3 occurrences
repo-level (3 hits)
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: custom_components/govee/binary_sensor.py:async_added_to_hass, custom_components/govee/binary_sensor.py:async_added_to_hass, custom_components/govee/binary_sensor.py:async_added_to_hass, custom_components/govee/event.py:async_added_to_hass This is *th…
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: custom_components/govee/binary_sensor.py:is_on, custom_components/govee/binary_sensor.py:is_on, custom_components/govee/binary_sensor.py:is_on, custom_components/govee/binary_sensor.py:is_on This is *the* AI-coder failure mode (4× more duplication in…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 7 places
Functions with the same first-5-line body hash: custom_components/govee/select.py:current_option, custom_components/govee/select.py:current_option, custom_components/govee/select.py:current_option, custom_components/govee/select.py:current_option This is *the* AI-coder failure mode (4× more duplic…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 8 places
Functions with the same first-5-line body hash: custom_components/govee/sensor.py:device_info, custom_components/govee/sensor.py:device_info, custom_components/govee/sensor.py:device_info, custom_components/govee/sensor.py:device_info This is *the* AI-coder failure mode (4× more duplication in vib…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `ble_device_v1` in tests/test_api_ble.py:393
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_color_legacy` in tests/test_mqtt_control.py:55
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_migrate_v1_to_v2_with_dict_shape_legacy` in tests/test_init.py:109
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: async_create_fix_flow
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/govee/repairs.py:142
low System graph software Dead code conf 1.00 Possibly dead Python function: async_press
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/govee/button.py:68
low System graph software Dead code conf 1.00 Possibly dead Python function: async_refresh_scenes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/govee/services.py:49
low System graph software Dead code conf 1.00 Possibly dead Python function: async_set_segment_color
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/govee/services.py:69
low System graph software Dead code conf 1.00 11 occurrences 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.
11 files, 11 locations
custom_components/govee/__init__.py:125
custom_components/govee/binary_sensor.py:54
custom_components/govee/button.py:28
custom_components/govee/event.py:25
custom_components/govee/fan.py:60
custom_components/govee/humidifier.py:56
custom_components/govee/light.py:60
custom_components/govee/number.py:28
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/govee/config_flow.py:645
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/govee/repairs.py:161
low System graph software Dead code conf 1.00 Possibly dead Python function: async_step_reauth
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/govee/config_flow.py:421
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/govee/config_flow.py:119
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/govee/__init__.py:308
low System graph software Dead code conf 1.00 Possibly dead Python function: mark_unavailable
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
custom_components/govee/models/transport.py:58
low System graph quality Complexity conf 1.00 Very large file: custom_components/govee/coordinator.py (1986 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_auth.py (1677 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_coordinator.py (1882 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/1ad88394-4a6a-41d3-9167-9b887fb4efa2/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/1ad88394-4a6a-41d3-9167-9b887fb4efa2/

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.