← Back to scan
File as GitHub Issue repo: home-assistant/core

Push this scan report to home-assistant/core

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Missing import: `collections` used but not imported

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 [MINED107] Missing import: `queue` used but not imported: The file uses `queue.something(… tests/components/arcam_fmj/conftest.py:76
CRIT MINED107 [MINED107] Missing import: `platform` used but not imported: The file uses `platform.some… tests/components/unifiprotect/utils.py:116
CRIT MINED107 [MINED107] Missing import: `platform` used but not imported: The file uses `platform.some… pylint/plugins/pylint_home_assistant/he…:71
CRIT MINED107 [MINED107] Missing import: `platform` used but not imported: The file uses `platform.some… tests/common.py:1947
CRIT MINED107 [MINED107] Missing import: `collections` used but not imported: The file uses `collection… tests/syrupy.py:349
CRIT MINED107 [MINED107] Missing import: `platform` used but not imported: The file uses `platform.some… homeassistant/const.py:29
CRIT SEC099 [SEC099] JWT decoded without signature verification: JWT token is parsed without verifyin… homeassistant/components/august/config_…:38
CRIT SEC099 [SEC099] JWT decoded without signature verification: JWT token is parsed without verifyin… homeassistant/components/aladdin_connec…:58
CRIT MINED116 [MINED116] Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger: This workfl… .github/workflows/ci.yaml:1598
CRIT MINED116 [MINED116] Workflow uses `secrets.CODECOV_TOKEN` on a `pull_request` trigger: This workfl… .github/workflows/ci.yaml:1428
CRIT SEC002 [SEC002] Hardcoded API Key: Hardcoded API key found in source code. homeassistant/components/aladdin_connec…:11
HIGH MINED108 [MINED108] `self._async_flow_handler_to_flow_result` used but never assigned in __init__:… homeassistant/data_entry_flow.py:254
HIGH MINED108 [MINED108] `self._async_flow_handler_to_flow_result` used but never assigned in __init__:… homeassistant/data_entry_flow.py:238
HIGH MINED108 [MINED108] `self._async_flow_handler_to_flow_result` used but never assigned in __init__:… homeassistant/data_entry_flow.py:233
HIGH MINED108 [MINED108] `self._loop_factory` used but never assigned in __init__: Method `loop_name` o… homeassistant/runner.py:187
HIGH MINED108 [MINED108] `self._async_dispatch` used but never assigned in __init__: Method `async_stop… homeassistant/bootstrap.py:1052
HIGH MINED108 [MINED108] `self._async_schedule_next` used but never assigned in __init__: Method `async… homeassistant/bootstrap.py:1048
HIGH MINED108 [MINED108] `self._async_watch` used but never assigned in __init__: Method `_async_schedu… homeassistant/bootstrap.py:1043
HIGH MINED108 [MINED108] `self._async_schedule_next` used but never assigned in __init__: Method `_asyn… homeassistant/bootstrap.py:1030
HIGH MINED108 [MINED108] `self._async_dispatch` used but never assigned in __init__: Method `_async_wat… homeassistant/bootstrap.py:1017
HIGH MINED108 [MINED108] `self.type` used but never assigned in __init__: Method `output` of class `Con… homeassistant/exceptions.py:203
HIGH MINED108 [MINED108] `self.type` used but never assigned in __init__: Method `output` of class `Con… homeassistant/exceptions.py:200
HIGH MINED108 [MINED108] `self._indent` used but never assigned in __init__: Method `output` of class `… homeassistant/exceptions.py:203
HIGH MINED108 [MINED108] `self._indent` used but never assigned in __init__: Method `output` of class `… homeassistant/exceptions.py:199
HIGH MINED108 [MINED108] `self.type` used but never assigned in __init__: Method `output` of class `Con… homeassistant/exceptions.py:168
HIGH MINED108 [MINED108] `self._indent` used but never assigned in __init__: Method `output` of class `… homeassistant/exceptions.py:168
HIGH MINED108 [MINED108] `self.output` used but never assigned in __init__: Method `__str__` of class `… homeassistant/exceptions.py:151
HIGH MINED108 [MINED108] `self._async_process_requirements` used but never assigned in __init__: Method… homeassistant/requirements.py:306
HIGH MINED108 [MINED108] `self._find_missing_requirements` used but never assigned in __init__: Method … homeassistant/requirements.py:305
HIGH MINED108 [MINED108] `self._find_missing_requirements` used but never assigned in __init__: Method … homeassistant/requirements.py:299
HIGH MINED108 [MINED108] `self._raise_for_failed_requirements` used but never assigned in __init__: Met… homeassistant/requirements.py:301
HIGH MINED108 [MINED108] `self.async_get_integration_with_requirements` used but never assigned in __in… homeassistant/requirements.py:236
HIGH MINED108 [MINED108] `self.async_process_requirements` used but never assigned in __init__: Method … homeassistant/requirements.py:189
HIGH MINED108 [MINED108] `self._async_process_integration` used but never assigned in __init__: Method … homeassistant/requirements.py:166
HIGH MINED108 [MINED108] `self.total_tests` used but never assigned in __init__: Method `__repr__` of c… script/split_tests.py:134
HIGH MINED108 [MINED108] `self.added_to_bucket` used but never assigned in __init__: Method `add_to_buc… script/split_tests.py:126
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). homeassistant/components/ecovacs/contro…:16
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). homeassistant/components/ecovacs/config…:14
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… homeassistant/components/command_line/n…:55
HIGH MINED014 [MINED014] Disabled Tls Verify: verify=False in requests, rejectUnauthorized:false in nod… homeassistant/components/august/config_…:41
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… homeassistant/components/datadog/__init…:78
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… homeassistant/components/backup/http.py:54
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… homeassistant/components/arcam_fmj/__in…:76
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … homeassistant/components/airzone/binary…:106
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … homeassistant/components/airvisual/sens…:167
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … homeassistant/components/airq/coordinat…:61
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… homeassistant/components/downloader/ser…:77
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… homeassistant/components/acer_projector…:121
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … homeassistant/components/clicksend_tts/…:98
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … homeassistant/components/clicksend/noti…:81
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … homeassistant/components/abode/camera.py:79
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… homeassistant/components/acer_projector…:101
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… homeassistant/components/accuweather/sy…:31
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… homeassistant/components/abode/camera.py:79
HIGH SEC080 [SEC080] Python: tarfile.extractall without filter: tarfile.extract*() without filter='da… homeassistant/backup_restore.py:93
HIGH DKR006 Dockerfile pipes a remote script into a shell Dockerfile.dev:57
HIGH MINED118 [MINED118] Dockerfile FROM `python:3.14.5-alpine` not pinned by digest: `FROM python:3.14… script/hassfest/docker/Dockerfile:5
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/vscode/devcontainers/base:debian` not pinne… Dockerfile.dev:2
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/cdce8p/python-typing-update` pinned to mut… .pre-commit-config.yaml:51
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/rbubley/mirrors-prettier` pinned to mutabl… .pre-commit-config.yaml:43
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/adrienverge/yamllint.git` pinned to mutabl… .pre-commit-config.yaml:39
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/pre-commit/pre-commit-hooks` pinned to mut… .pre-commit-config.yaml:27
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/zizmorcore/zizmor-pre-commit` pinned to mu… .pre-commit-config.yaml:20
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/codespell-project/codespell` pinned to mut… .pre-commit-config.yaml:10
HIGH MINED131 [MINED131] pre-commit hook `https://github.com/astral-sh/ruff-pre-commit` pinned to mutab… .pre-commit-config.yaml:2
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… homeassistant/components/aquacell/coord…:78
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… homeassistant/requirements.py:243
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… homeassistant/components/demo/update.py:36
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… homeassistant/components/bond/entity.py:151
MED SEC014 [SEC014] SSL Verification Disabled: SSL certificate verification is disabled, allowing ma… homeassistant/components/elmax/common.py:20
MED SEC014 [SEC014] SSL Verification Disabled: SSL certificate verification is disabled, allowing ma… homeassistant/components/august/config_…:41
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… homeassistant/backup_restore.py:93
MED COMP001 [COMP001] High cognitive complexity: Function `_merge_policies` has cognitive complexity … homeassistant/auth/permissions/merge.py:24
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR001 Docker final stage has no non-root USER script/hassfest/docker/Dockerfile:5
MED DKR001 Docker final stage has no non-root USER Dockerfile:6
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. homeassistant/components/command_line/n…:55
LOW SEC124 [SEC124] TOCTOU file access (os.access then open): Check-then-use file pattern (access/ex… homeassistant/components/downloader/ser…:133
LOW COMP001 [COMP001] High cognitive complexity: Function `compile_policy` has cognitive complexity 8… homeassistant/auth/permissions/util.py:23
LOW COMP001 [COMP001] High cognitive complexity: Function `ensure_config_path` has cognitive complexi… homeassistant/__main__.py:37
LOW AIC003 Duplicated implementation block across source files homeassistant/components/androidtv_remo…:258
LOW AIC003 Duplicated implementation block across source files homeassistant/components/amberelectric/…:43
LOW AIC003 Duplicated implementation block across source files homeassistant/components/altruist/senso…:5
LOW AIC003 Duplicated implementation block across source files homeassistant/components/airzone_cloud/…:127
LOW AIC003 Duplicated implementation block across source files homeassistant/components/airzone_cloud/…:183
LOW AIC003 Duplicated implementation block across source files homeassistant/components/airzone_cloud/…:36
LOW AIC003 Duplicated implementation block across source files homeassistant/components/airzone_cloud/…:142
LOW AIC003 Duplicated implementation block across source files homeassistant/components/airthings_ble/…:91
LOW AIC003 Duplicated implementation block across source files homeassistant/components/airnow/config_…:74
LOW AIC003 Duplicated implementation block across source files homeassistant/components/airly/config_f…:60
LOW AIC003 Duplicated implementation block across source files homeassistant/components/air_quality/tr…:2
LOW AIC003 Duplicated implementation block across source files homeassistant/components/acmeda/sensor.…:6
LOW AIC003 Duplicated implementation block across source files homeassistant/auth/providers/insecure_e…:45
LOW AIC003 Duplicated implementation block across source files homeassistant/auth/providers/homeassist…:322
LOW DKR012 Dockerfile keeps pip download cache Dockerfile.dev:50
LOW DKR012 Dockerfile keeps pip download cache Dockerfile.dev:46
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:53
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:43
LOW AIC009 Multiple AI-agent scaffold marker files are present .github/copilot-instructions.md:1
LOW AIC005 Duplicate top-level symbol appears in a patch-style file homeassistant/components/zwave_js/trigg…:1
LOW AIC002 Source file name looks like an AI patch artifact homeassistant/components/zwave_js/trigg…:1
INFO MINED079 [MINED079] Off By One Slice: range(len(x)+1), arr[i+1:i+n+1], or while i<=len(arr) — off-… homeassistant/components/axis/config_fl…:152
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. homeassistant/components/aquostv/media_…:154
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… homeassistant/components/agent_dvr/help…:8
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… homeassistant/components/adguard/entity…:57
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… homeassistant/components/accuweather/co…:215
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… homeassistant/components/arest/sensor.py:71
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… homeassistant/components/arest/binary_s…:48
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… homeassistant/components/abode/camera.py:79
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. homeassistant/components/abode/__init__…:58
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. homeassistant/block_async_io.py:59
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. homeassistant/backup_restore.py:29
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… homeassistant/auth/providers/__init__.py:111
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… homeassistant/auth/permissions/__init__…:49
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… homeassistant/auth/mfa_modules/__init__…:70
Reset to top 5 116 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `home-assistant/core`

**Score: 77/100 (A-)**  ·  179 findings  ·  scanned 2026-05-21 18:15 UTC  ·  2,404,715 LOC

| Severity | Count |
|---|---|
| CRITICAL | 11 |
| HIGH | 55 |
| MEDIUM | 11 |
| LOW | 25 |

📊 [Full filterable report](https://repobility.com/scan/ca1385e6-ca8b-4803-a946-80232c7fd7cd/)  ·  ![scorecard](https://repobility.com/scan/ca1385e6-ca8b-4803-a946-80232c7fd7cd/report.png?v=1779387343-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `queue` used but not imported
   `tests/components/arcam_fmj/conftest.py:76` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `platform` used but not imported
   `tests/components/unifiprotect/utils.py:116` · ✓ Repobility
3. **CRITICAL** `MINED107` — Missing import: `platform` used but not imported
   `pylint/plugins/pylint_home_assistant/helpers/module_info.py:71` · ✓ Repobility
4. **CRITICAL** `MINED107` — Missing import: `platform` used but not imported
   `tests/common.py:1947` · ✓ Repobility
5. **CRITICAL** `MINED107` — Missing import: `collections` used but not imported
   `tests/syrupy.py:349` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/ca1385e6-ca8b-4803-a946-80232c7fd7cd/_
Megaproject â high spam risk
Could not determine 'home-assistant/core' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
73/197 findings (37%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.