A plugin loader for the Steam Deck.
This report summarizes scanner evidence for SteamDeckHomebrew/decky-loader, a TypeScript project with 7,342 GitHub stars. SynthScan examined 23,889 lines of code across 142 source files, recording 88 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 46 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 59 finding(s).
Which changes need focused human review? 88 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
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 88 distinct pattern matches across 10 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 | backend/decky_loader/wsrouter.py | 92 | except: | CODE |
| HIGH | backend/decky_loader/wsrouter.py | 121 | except: | CODE |
| HIGH | backend/decky_loader/updater.py | 137 | except: | CODE |
| HIGH | backend/decky_loader/main.py | 157 | except CancelledError: | CODE |
| HIGH | backend/decky_loader/plugin/sandboxed_plugin.py | 139 | except SystemExit: | CODE |
| HIGH | backend/decky_loader/plugin/plugin.py | 111 | except: | CODE |
| HIGH | backend/decky_loader/localplatform/localplatform.py | 57 | except FileNotFoundError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/decky_loader/wsrouter.py | 74 | except Exception as err: | CODE |
| LOW | backend/decky_loader/injector.py | 326 | except Exception as e: | STRING |
| LOW | backend/decky_loader/injector.py | 355 | except Exception as e: | STRING |
| LOW | backend/decky_loader/updater.py | 225 | except Exception as e: | CODE |
| LOW | backend/decky_loader/browser.py | 102 | except Exception as e: | CODE |
| LOW | backend/decky_loader/browser.py | 166 | except Exception as e: | CODE |
| LOW | backend/decky_loader/browser.py | 254 | except Exception as e: | CODE |
| LOW | backend/decky_loader/loader.py | 186 | except Exception as e: | CODE |
| LOW⚡ | backend/decky_loader/loader.py | 214 | except Exception as e: | CODE |
| LOW⚡ | backend/decky_loader/loader.py | 225 | except Exception as e: | CODE |
| LOW | backend/decky_loader/settings.py | 47 | except Exception as e: | CODE |
| MEDIUM | backend/decky_loader/settings.py | 43 | def read(self): | CODE |
| LOW | backend/decky_loader/utilities.py | 106 | except Exception as e: | CODE |
| LOW | backend/decky_loader/utilities.py | 118 | except Exception as e: | CODE |
| LOW | backend/decky_loader/utilities.py | 245 | except Exception as e: | CODE |
| LOW | backend/decky_loader/utilities.py | 460 | except Exception: | STRING |
| LOW | backend/decky_loader/main.py | 228 | except Exception: | CODE |
| LOW | backend/decky_loader/helpers.py | 87 | except Exception as e: | CODE |
| LOW | backend/decky_loader/helpers.py | 105 | except Exception as e: | CODE |
| LOW | backend/decky_loader/helpers.py | 128 | except Exception as e: | CODE |
| MEDIUM | backend/decky_loader/helpers.py | 70 | def get_loader_version() -> str: | CODE |
| MEDIUM | backend/decky_loader/helpers.py | 94 | def get_system_pythonpaths() -> list[str]: | CODE |
| LOW | backend/decky_loader/plugin/sandboxed_plugin.py | 211 | except Exception as e: | CODE |
| MEDIUM | backend/decky_loader/plugin/sandboxed_plugin.py | 146 | def _unload(self): | CODE |
| LOW | backend/decky_loader/plugin/plugin.py | 173 | except Exception as e: | CODE |
| LOW | backend/decky_loader/plugin/imports/decky.py | 202 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/store.tsx | 104 | export async function requestMultiplePluginInstalls(requests: PluginInstallRequest[]) { | CODE |
| LOW | frontend/src/fallback.ts | 63 | function getGamepadNavigationTrees(): any { | CODE |
| LOW | frontend/src/developer.tsx | 40 | export async function setShouldConnectToReactDevTools(enable: boolean) { | CODE |
| LOW | frontend/src/utils/errors.ts | 20 | export function getLikelyErrorSourceFromValveError(error: ValveError): ErrorSource { | CODE |
| LOW | frontend/src/utils/errors.ts | 24 | export function getLikelyErrorSourceFromValveReactError(error: ValveReactErrorInfo): ErrorSource { | CODE |
| LOW | backend/decky_loader/wsrouter.py | 149 | def handle_received_response_message(self, call_id: int): | CODE |
| LOW | backend/decky_loader/injector.py | 203 | async def add_script_to_evaluate_on_new_document(self, js: str, add_dom_wrapper: bool = True, manage_socket: bool = | CODE |
| LOW | backend/decky_loader/injector.py | 266 | async def remove_script_to_evaluate_on_new_document(self, script_id: str, manage_socket: bool = True): | STRING |
| LOW | backend/decky_loader/browser.py | 66 | async def _download_remote_binaries_for_plugin_with_name(self, pluginBasePath: str): | CODE |
| LOW | backend/decky_loader/browser.py | 120 | def set_plugin_dir_permissions(self, plugin_dir: str) -> bool: | CODE |
| LOW | backend/decky_loader/browser.py | 313 | async def request_multiple_plugin_installs(self, requests: List[PluginInstallRequest]): | CODE |
| LOW | backend/decky_loader/loader.py | 142 | async def handle_plugin_frontend_assets(self, request: web.Request): | CODE |
| LOW | backend/decky_loader/loader.py | 148 | async def handle_plugin_frontend_assets_from_data(self, request: web.Request): | CODE |
| LOW⚡ | backend/decky_loader/loader.py | 206 | async def handle_plugin_method_call_legacy(self, plugin_name: str, method_name: str, kwargs: Dict[Any, Any]): | CODE |
| LOW⚡ | backend/decky_loader/loader.py | 219 | async def handle_plugin_method_call(self, plugin_name: str, method_name: str, *args: List[Any]): | CODE |
| LOW⚡ | backend/decky_loader/loader.py | 230 | async def handle_plugin_backend_reload(self, plugin_name: str): | CODE |
| LOW | backend/decky_loader/utilities.py | 95 | async def _handle_legacy_server_method_call(self, request: Request) -> Response: | CODE |
| LOW | backend/decky_loader/utilities.py | 296 | async def disallow_remote_debugging(self): | STRING |
| LOW | backend/decky_loader/helpers.py | 110 | async def download_remote_binary_to_path(url: str, binHash: str, path: str) -> bool: | CODE |
| LOW | backend/decky_loader/helpers.py | 163 | def get_effective_user_group_id() -> int: | CODE |
| LOW | …ckend/decky_loader/localplatform/localplatformlinux.py | 55 | def _get_effective_user_group_id() -> int: | CODE |
| LOW | …ckend/decky_loader/localplatform/localplatformlinux.py | 59 | def _get_effective_user_group() -> str: | CODE |
| LOW | backend/decky_loader/localplatform/localplatform.py | 44 | def get_use_cef_close_workaround() -> bool: | CODE |
| LOW | backend/decky_loader/localplatform/localsocket.py | 33 | async def _open_socket_if_not_exists(self): | CODE |
| LOW | backend/decky_loader/localplatform/localsocket.py | 147 | async def _open_socket_if_not_exists(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/main.py | 1 | # This file is needed to make the relative imports in decky_loader/ work properly. | COMMENT |
| MEDIUM | backend/decky_loader/settings.py | 18 | #Create the folder with the correct permission | COMMENT |
| MEDIUM | scripts/collect-debug-info.sh | 3 | # Define the directory to scan | COMMENT |
| MEDIUM | scripts/plugin-info.sh | 4 | # Define the directory to scan | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/decky_loader/injector.py | 84 | res = await self.evaluate_js(f"window['{var_name}'] !== null && window['{var_name}'] !== undefined", False, mana | CODE |
| HIGH | backend/decky_loader/utilities.py | 445 | return (GamepadNavTree?.m_context?.m_controller || FocusNavController)?.m_ActiveContext? | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/decky_loader/browser.py | 179 | # Check if plugin was already installed before this | COMMENT |
| LOW | backend/decky_loader/browser.py | 194 | # Check if the file is a local file or a URL | COMMENT |
| LOW | scripts/deckdebug.sh | 28 | # Check if the dependencies are installed | COMMENT |
| LOW | scripts/tasks.sh | 25 | # Check if the dependencies are installed | COMMENT |
| LOW | scripts/tasks.sh | 84 | # Check if the task has either a command or script. | COMMENT |
| LOW | scripts/plugin-info.sh | 9 | # Check if package.json exists in the subdirectory | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/decky_loader/updater.py | 1 | CODE | |
| LOW | backend/decky_loader/loader.py | 1 | CODE | |
| LOW | backend/decky_loader/utilities.py | 1 | CODE | |
| LOW | backend/decky_loader/plugin/sandboxed_plugin.py | 17 | CODE | |
| LOW | backend/decky_loader/localplatform/localplatform.py | 8 | CODE | |
| LOW | backend/decky_loader/localplatform/localplatform.py | 11 | CODE | |
| LOW | backend/decky_loader/localplatform/localplatform.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/decky_loader/browser.py | 66 | CODE | |
| LOW | backend/decky_loader/browser.py | 173 | CODE | |
| LOW | backend/decky_loader/utilities.py | 315 | CODE | |
| LOW | backend/decky_loader/main.py | 185 | CODE | |
| LOW | backend/decky_loader/helpers.py | 110 | CODE | |
| LOW | backend/decky_loader/plugin/plugin.py | 91 | CODE | |
| LOW | …ckend/decky_loader/localplatform/localplatformlinux.py | 87 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/router-hook.tsx | 161 | // Object.setPrototypeOf(stateNodeClone, Object.getPrototypeOf(routerNode.stateNode)); | COMMENT |
| LOW | backend/decky_loader/utilities.py | 181 | del headers[header] | COMMENT |
| LOW | scripts/tasks.sh | 1 | #!/usr/bin/env bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/decky_loader/utilities.py | 315 | CODE |