:beginner: Home Assistant Operating System
This report summarizes scanner evidence for home-assistant/operating-system, a Python project with 7,611 GitHub stars. SynthScan examined 12,197 lines of code across 124 source files, recording 121 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 22.3 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 70 finding(s).
Are imports declared and package/API names verified? 41 finding(s).
Are wrappers, guards, and repeated structures necessary? 18 finding(s).
Which changes need focused human review? 121 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 121 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 4170 | example, 'default A && B if C || D' is represented as | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 4170 | example, 'default A && B if C || D' is represented as | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 4179 | example, 'select A if B && C' is represented as (A, (AND, B, C)). If no | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6191 | split_expr( A && B , OR ) -> [A && B] | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6192 | split_expr( A || B , OR ) -> [A, B] | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6193 | split_expr( A || B , AND ) -> [A || B] | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6194 | split_expr( A || B || (C && D) , OR ) -> [A, B, C && D] | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6194 | split_expr( A || B || (C && D) , OR ) -> [A, B, C && D] | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6197 | split_expr( A || (B && (C || D)) , OR ) -> [A, B && (C || D)] | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6201 | split_expr( (A || B) || C , OR ) -> [A, B, C] | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 6202 | split_expr( A || (B || C) , OR ) -> [A, B, C] | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 1551 | /dev/null). | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 1967 | which has the value y, then eval_string("y && (FOO || BAR)") returns | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 1976 | the C implementation. m is rewritten to 'm && MODULES', so | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 4060 | (A, !A, A && B, A || B). | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 4060 | (A, !A, A && B, A || B). | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 4157 | If the symbol is undefined, the location is given as "(undefined)". | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 4196 | Gotcha: 1 and 2 above will be represented as (undefined) Symbols rather | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 5163 | example, 'default A if B && C' is represented as (A, (AND, B, C)). If | CODE |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 188 | tristate "foo" if A && B && C && D | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 189 | default y if A && B && C | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 193 | In this example, A && B && C && D (the prompt condition) needs to be non-n for | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 306 | A && B (AND, A, B) | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 307 | A && B && C (AND, A, (AND, B, C)) | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 308 | A || B (OR, A, B) | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 309 | A || (B && C && D) (OR, A, (AND, B, (AND, C, D))) | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 312 | A && B = C && D (AND, A, (AND, (EQUAL, B, C), D)) | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 329 | - The value of A && B is min(A.tri_value, B.tri_value) | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 331 | - The value of A || B is max(A.tri_value, B.tri_value) | STRING |
| HIGH⚡ | buildroot-external/scripts/kconfiglib.py | 338 | For constant (as well as undefined) symbols, str_value matches the name of | STRING |
| HIGH | buildroot-external/scripts/kconfiglib.py | 6474 | return "(undefined)" | STRING |
| HIGH | tests/smoke_test/test_basic.py | 36 | output = "\n".join(shell.run_check("ha os info || true")) | CODE |
| HIGH⚡ | tests/smoke_test/test_basic.py | 92 | output = shell.run_check("systemctl --no-pager -l status -a || true") | CODE |
| HIGH | tests/smoke_test/test_os_update.py | 28 | supervisor_info = "\n".join(shell.run_check("ha supervisor info --no-progress --raw-json || true")) | CODE |
| HIGH | tests/smoke_test/test_os_update.py | 34 | output = "\n".join(shell.run_check("ha os info || true")) | CODE |
| HIGH | tests/smoke_test/test_os_update.py | 68 | raw_info = "\n".join(shell.run_check("ha os info --no-progress --raw-json || true")) | CODE |
| HIGH | tests/smoke_test/test_os_update.py | 80 | shell.console.sendline("ha host reboot --no-progress || true") | CODE |
| HIGH | tests/smoke_test/test_os_update.py | 96 | output = "\n".join(shell.run_check("ha os info || true")) | CODE |
| HIGH | tests/smoke_test/test_os_update.py | 117 | shell.console.sendline(f"ha os boot-slot other --no-progress || true") | CODE |
| HIGH | tests/smoke_test/test_os_update.py | 127 | output = "\n".join(shell.run_check("ha os info || true")) | CODE |
| HIGH | tests/supervisor_test/test_supervisor.py | 240 | output = shell.run_check("journalctl -t audit | grep DENIED || true") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | buildroot-external/scripts/kconfiglib.py | 6457 | except Exception: | CODE |
| HIGH | buildroot-external/scripts/kconfiglib.py | 1037 | except ImportError: | CODE |
| HIGH | tests/supervisor_test/test_supervisor.py | 47 | except ExecutionError: | CODE |
| HIGH | tests/supervisor_test/test_supervisor.py | 75 | except ExecutionError: | CODE |
| HIGH | tests/supervisor_test/test_supervisor.py | 212 | except ExecutionError: | CODE |
| HIGH | tests/supervisor_test/test_supervisor.py | 130 | except ExecutionError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | buildroot-external/board/khadas/vim3/boot-env.txt | 1 | # Uncomment this to enable GPIO support for RPI-RF-MOD/HM-MOD-RPI-PCB | COMMENT |
| LOW | …droot-external/board/hardkernel/odroid-c2/boot-env.txt | 1 | # Uncomment this to enable GPIO support for RPI-RF-MOD/HM-MOD-RPI-PCB | COMMENT |
| LOW | …droot-external/board/hardkernel/odroid-c4/boot-env.txt | 1 | # Uncomment this to enable GPIO support for RPI-RF-MOD/HM-MOD-RPI-PCB | COMMENT |
| LOW | …droot-external/board/hardkernel/odroid-n2/boot-env.txt | 1 | # Uncomment this to enable GPIO support for RPI-RF-MOD/HM-MOD-RPI-PCB | COMMENT |
| LOW | buildroot-external/board/raspberrypi/config.txt | 1 | # For more options and information see | COMMENT |
| LOW | buildroot-external/board/raspberrypi/config.txt | 21 | COMMENT | |
| LOW | buildroot-external/board/raspberrypi/config.txt | 41 | # uncomment to force a HDMI mode rather than DVI. This can make audio work in | COMMENT |
| LOW | buildroot-external/board/raspberrypi/rpi5-64/config.txt | 1 | # For more options and information see | COMMENT |
| LOW | buildroot-external/board/raspberrypi/yellow/config.txt | 1 | # For more options and information see | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 1821 | COMMENT | |
| LOW | buildroot-external/scripts/kconfiglib.py | 2141 | # position and file object. | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 2161 | # | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 2261 | COMMENT | |
| LOW | buildroot-external/scripts/kconfiglib.py | 2901 | # parent: | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3121 | COMMENT | |
| LOW | buildroot-external/scripts/kconfiglib.py | 3421 | # True if m should be rewritten to m && MODULES. See the | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3441 | # expression evaluation and other code that works on expressions (more | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3501 | # | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3541 | COMMENT | |
| LOW | buildroot-external/scripts/kconfiglib.py | 3581 | # Undefined symbols never change value and don't need to be | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3601 | # - Propagates dependencies from parent to child nodes | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3721 | # Propagate dependencies to the prompt. 'visible if' is only | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3921 | self._line.strip(), msg)) | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 3941 | # | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 4921 | # values on other items that depend on 'item', because if there | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 6601 | # Detects dependency loops using depth-first search on the dependency graph | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 6621 | # | COMMENT |
| LOW | buildroot-external/scripts/kconfiglib.py | 7161 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | buildroot-external/scripts/kconfiglib.py | 6517 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 6675 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 1136 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 1249 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 1462 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 1585 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 1843 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 1909 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 2337 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 2711 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 2744 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 2806 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 2893 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 3127 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 3351 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 3765 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 3855 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 3963 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 4327 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 4468 | CODE | |
| LOW | buildroot-external/scripts/kconfiglib.py | 4959 | CODE | |
| LOW | buildroot-external/scripts/check-dotconfig.py | 20 | CODE | |
| LOW | buildroot-external/scripts/check-dotconfig.py | 59 | CODE | |
| LOW | tests/qemu_shell_strategy.py | 50 | CODE | |
| LOW | tests/smoke_test/test_offline.py | 25 | CODE | |
| LOW | tests/supervisor_test/test_supervisor.py | 20 | CODE | |
| LOW | tests/supervisor_test/test_supervisor.py | 96 | CODE | |
| LOW | tests/supervisor_test/test_supervisor.py | 199 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | buildroot-external/scripts/kconfiglib.py | 2059 | def disable_override_warnings(self): | STRING |
| LOW | buildroot-external/scripts/kconfiglib.py | 4937 | def _rec_invalidate_if_has_prompt(self): | STRING |
| LOW | buildroot-external/scripts/kconfiglib.py | 4994 | def _warn_select_unsatisfied_deps(self): | STRING |
| LOW⚡ | tests/smoke_test/test_basic.py | 83 | def test_landing_page_legacy_port_redirect(shell): | CODE |
| LOW⚡ | tests/smoke_test/test_basic.py | 96 | def test_systemctl_check_no_failed(shell): | CODE |
| LOW | tests/smoke_test/test_basic.py | 116 | def test_supervisor_connectivity(shell): | CODE |
| LOW | tests/supervisor_test/test_supervisor.py | 137 | def test_supervisor_is_updated(shell_json): | CODE |
| LOW | tests/supervisor_test/test_supervisor.py | 231 | def test_restore_ssl_directory(shell_json, stash): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/supervisor_test/test_supervisor.py | 8 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | buildroot-external/scripts/kconfiglib.py | 6394 | def _is_base_n(s, n): | CODE |
| LOW | buildroot-external/scripts/kconfiglib.py | 6457 | except Exception: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | buildroot-external/scripts/kconfiglib.py | 2943 | # Check if we are in a transitional context | STRING |
| LOW | buildroot-external/scripts/kconfiglib.py | 4361 | # Check if a range is in effect | STRING |
| LOW | buildroot-external/scripts/kconfiglib.py | 4652 | # Check if the value is valid for our type | STRING |
| LOW | buildroot-external/scripts/kconfiglib.py | 5482 | # Check if we have a default | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | buildroot-external/scripts/kconfiglib.py | 3485 | # EQUAL, UNEQUAL, etc., so we can just use the token directly | STRING |
| LOW | buildroot-external/scripts/kconfiglib.py | 6623 | # to _check_dep_loop_sym(). We just return immediately. | STRING |