Experience macOS just like before
This report summarizes scanner evidence for dortania/OpenCore-Legacy-Patcher, a Python project with 18,570 GitHub stars. SynthScan examined 40,078 lines of code across 198 source files, recording 373 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 14.3 (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? 266 finding(s).
Are imports declared and package/API names verified? 32 finding(s).
Are wrappers, guards, and repeated structures necessary? 239 finding(s).
Which changes need focused human review? 373 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 373 distinct pattern matches across 15 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 |
|---|---|---|---|---|
| LOW | ci_tooling/build_modules/package.py | 32 | def _generate_installer_welcome(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package.py | 54 | def _generate_uninstaller_welcome(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package.py | 70 | def _generate_autopkg_welcome(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 12 | def generate_standard_pkg_parameters(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 31 | def generate_script_remove_file(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 63 | def generate_script_create_parent_directory(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 171 | def generate_fix_settings_file_permission(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 205 | def generate_prewarm_gatekeeper(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 228 | def generate_clean_launch_service(self) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 275 | def generate_postinstall_main(self, is_autopkg: bool = False) -> str: | CODE |
| LOW⚡ | ci_tooling/build_modules/package_scripts.py | 350 | def _generate_preinstall_script(self, is_autopkg: bool = False) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 406 | def _generate_postinstall_script(self, is_autopkg: bool = False) -> str: | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 472 | def _generate_uninstall_script(self) -> str: | CODE |
| LOW | opencore_legacy_patcher/constants.py | 278 | def payload_local_binaries_root_path_dmg(self): | CODE |
| LOW⚡ | opencore_legacy_patcher/constants.py | 305 | def auto_patch_launch_agent_path(self): | CODE |
| LOW⚡ | opencore_legacy_patcher/constants.py | 309 | def rsr_monitor_launch_daemon_path(self): | CODE |
| LOW⚡ | opencore_legacy_patcher/constants.py | 313 | def update_launch_daemon_path(self): | CODE |
| LOW | opencore_legacy_patcher/constants.py | 351 | def nvidia_kepler_gop_driver_path(self): | CODE |
| LOW | opencore_legacy_patcher/constants.py | 532 | def airport_atheros_tahoe_path(self): | CODE |
| LOW | opencore_legacy_patcher/constants.py | 536 | def airport_brcmnic_tahoe_path(self): | CODE |
| LOW | opencore_legacy_patcher/constants.py | 657 | def platform_plugin_plist_path(self): | CODE |
| LOW | opencore_legacy_patcher/constants.py | 722 | def map_contents_folder_tahoe(self): | CODE |
| LOW | opencore_legacy_patcher/constants.py | 848 | def payload_local_binaries_root_path(self): | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_sys_patch_display.py | 53 | def _generate_elements_display_patches(self, frame: wx.Frame = None) -> None: | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_sys_patch_display.py | 295 | def _check_if_new_patches_needed(self, patches: dict) -> bool: | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 929 | def _populate_serial_spoofing_settings(self, panel: wx.Frame) -> None: | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 1095 | def on_generate_serial_number(self, event: wx.Event) -> None: | STRING |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 1109 | def on_custom_serial_number_textbox(self, event: wx.Event) -> None: | STRING |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 1114 | def on_custom_board_serial_number_textbox(self, event: wx.Event) -> None: | STRING |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 1160 | def _populate_graphics_override(self, panel: wx.Panel) -> None: | STRING |
| LOW | opencore_legacy_patcher/wx_gui/gui_cache_os_update.py | 144 | def _validate_kdk_checksum_thread(): | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_sys_patch_start.py | 432 | def _check_if_new_patches_needed(self, patches: dict) -> bool: | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_main_menu.py | 301 | def on_post_install_root_patch(self, event: wx.Event = None): | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_main_menu.py | 310 | def on_create_macos_installer(self, event: wx.Event = None): | CODE |
| LOW | …_legacy_patcher/wx_gui/gui_macos_installer_download.py | 160 | def _display_available_installers(self, event: wx.Event = None, show_full: bool = False) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/misc.py | 80 | def _restrict_events_handling(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/misc.py | 108 | def _re_generate_block_arguments(self) -> list: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/misc.py | 136 | def _re_generate_patch_arguments(self) -> list: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/support.py | 176 | def _validate_malformed_kexts(self, directory: str | Path) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/firmware.py | 69 | def _power_management_handling(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/firmware.py | 147 | def _cpu_compatibility_handling(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/firmware.py | 215 | def _firmware_driver_handling(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/firmware.py | 276 | def _firmware_compatibility_handling(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/bluetooth.py | 48 | def _bluetooth_firmware_incompatibility_workaround(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/graphics_audio.py | 140 | def _backlight_path_detection(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/datasets/os_data.py | 93 | def convert_kernel_to_marketing_name(kernel: int) -> str: | CODE |
| LOW | opencore_legacy_patcher/datasets/os_data.py | 120 | def convert_marketing_name_to_kernel(marketing_name: str) -> int: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 261 | def _create_new_apfs_snapshot(self) -> bool: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 271 | def _rebuild_dyld_shared_cache(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 283 | def _update_preboot_kernel_cache(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 304 | def _delete_nonmetal_enforcement(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 317 | def _delete_nonmetal_defaults(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 477 | def _resolve_metallib_support_pkg(self) -> str: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 508 | def _resolve_dynamic_patchset(self, variant: DynamicPatchset) -> str: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch_helpers.py | 130 | def disable_window_server_caching(self): | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch_helpers.py | 154 | def install_rsr_repair_binary(self): | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch_helpers.py | 183 | def patch_gpu_compiler_libraries(self, mount_point: Union[str, Path]): | CODE |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/detect.py | 151 | def _validation_check_unsupported_host_os(self) -> bool: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/detect.py | 165 | def _validation_check_missing_network_connection(self) -> bool: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/detect.py | 173 | def _validation_check_filevault_is_enabled(self) -> bool: | CODE |
| 103 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | opencore_legacy_patcher/sys_patch/sys_patch.py | 542 | except TypeError: | CODE |
| HIGH | …encore_legacy_patcher/sys_patch/utilities/dmg_mount.py | 131 | except Exception as e: | CODE |
| HIGH | …encore_legacy_patcher/sys_patch/utilities/dmg_mount.py | 147 | except Exception as e: | CODE |
| HIGH | …encore_legacy_patcher/sys_patch/utilities/dmg_mount.py | 161 | except Exception as e: | CODE |
| HIGH | …encore_legacy_patcher/sys_patch/utilities/kdk_merge.py | 41 | except: | CODE |
| HIGH | …her/sys_patch/kernelcache/kernel_collection/support.py | 49 | except PermissionError: | CODE |
| HIGH | …her/sys_patch/kernelcache/kernel_collection/support.py | 162 | except: | CODE |
| HIGH | …core_legacy_patcher/support/macos_installer_handler.py | 265 | except ValueError: | CODE |
| HIGH | opencore_legacy_patcher/support/utilities.py | 426 | except TypeError: | CODE |
| HIGH | opencore_legacy_patcher/support/utilities.py | 471 | except TypeError: | CODE |
| HIGH | opencore_legacy_patcher/support/utilities.py | 439 | except KeyError: | CODE |
| HIGH | opencore_legacy_patcher/support/utilities.py | 476 | except KeyError: | CODE |
| HIGH | opencore_legacy_patcher/support/validation.py | 145 | except TypeError: | CODE |
| HIGH | opencore_legacy_patcher/sucatalog/products.py | 66 | except KeyError: | CODE |
| HIGH | opencore_legacy_patcher/sucatalog/products.py | 105 | except KeyError: | CODE |
| HIGH | opencore_legacy_patcher/sucatalog/products.py | 230 | except packaging.version.InvalidVersion: | CODE |
| HIGH | opencore_legacy_patcher/sucatalog/products.py | 243 | except packaging.version.InvalidVersion: | CODE |
| HIGH | opencore_legacy_patcher/sucatalog/products.py | 408 | except packaging.version.InvalidVersion: | CODE |
| HIGH | opencore_legacy_patcher/sucatalog/products.py | 416 | except ValueError: | CODE |
| HIGH | opencore_legacy_patcher/sucatalog/products.py | 395 | except plistlib.InvalidFileException: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …sys_patch/patchsets/hardware/misc/display_backlight.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …gacy_patcher/sys_patch/patchsets/hardware/misc/gmux.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …ys_patch/patchsets/hardware/graphics/amd_legacy_gcn.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …cher/sys_patch/patchsets/hardware/graphics/amd_vega.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …cher/sys_patch/patchsets/hardware/graphics/amd_navi.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …s_patch/patchsets/hardware/graphics/amd_terascale_2.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …s_patch/patchsets/hardware/graphics/amd_terascale_1.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …/sys_patch/patchsets/hardware/graphics/nvidia_tesla.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …_patch/patchsets/hardware/graphics/nvidia_webdriver.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …r/sys_patch/patchsets/hardware/graphics/amd_polaris.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …s_patch/patchsets/hardware/graphics/intel_iron_lake.py | 0 | apple no longer provides standalone kexts in the base os | STRING |
| HIGH | …sys_patch/patchsets/hardware/graphics/intel_haswell.py | 0 | new compiler format introduced in macos 15, sequoia | STRING |
| HIGH | …sys_patch/patchsets/hardware/graphics/nvidia_kepler.py | 0 | new compiler format introduced in macos 15, sequoia | STRING |
| HIGH | …_patch/patchsets/hardware/graphics/intel_ivy_bridge.py | 0 | new compiler format introduced in macos 15, sequoia | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ore_legacy_patcher/wx_gui/gui_macos_installer_flash.py | 82 | CODE | |
| LOW | opencore_legacy_patcher/wx_gui/gui_sys_patch_display.py | 53 | CODE | |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 57 | CODE | |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 998 | CODE | |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 1180 | CODE | |
| LOW | opencore_legacy_patcher/wx_gui/gui_sys_patch_start.py | 229 | CODE | |
| LOW | opencore_legacy_patcher/wx_gui/gui_main_menu.py | 67 | CODE | |
| LOW | …_legacy_patcher/wx_gui/gui_macos_installer_download.py | 279 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/misc.py | 203 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/support.py | 195 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/smbios.py | 70 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/smbios.py | 89 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/storage.py | 49 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/storage.py | 103 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/bluetooth.py | 58 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/graphics_audio.py | 58 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/graphics_audio.py | 140 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/graphics_audio.py | 318 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/graphics_audio.py | 413 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/graphics_audio.py | 475 | CODE | |
| LOW | …core_legacy_patcher/efi_builder/networking/wireless.py | 45 | CODE | |
| LOW | …core_legacy_patcher/efi_builder/networking/wireless.py | 90 | CODE | |
| LOW | …core_legacy_patcher/efi_builder/networking/wireless.py | 146 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/networking/wired.py | 83 | CODE | |
| LOW | opencore_legacy_patcher/efi_builder/networking/wired.py | 121 | CODE | |
| LOW | opencore_legacy_patcher/datasets/os_data.py | 139 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 390 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 518 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/detect.py | 377 | CODE | |
| LOW | …her/sys_patch/kernelcache/kernel_collection/support.py | 25 | CODE | |
| LOW | …her/sys_patch/kernelcache/kernel_collection/support.py | 110 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/auto_patcher/start.py | 45 | CODE | |
| LOW | opencore_legacy_patcher/support/generate_smbios.py | 16 | CODE | |
| LOW | opencore_legacy_patcher/support/generate_smbios.py | 129 | CODE | |
| LOW | …core_legacy_patcher/support/macos_installer_handler.py | 59 | CODE | |
| LOW | …core_legacy_patcher/support/macos_installer_handler.py | 309 | CODE | |
| LOW | opencore_legacy_patcher/support/arguments.py | 179 | CODE | |
| LOW | opencore_legacy_patcher/support/defaults.py | 263 | CODE | |
| LOW | opencore_legacy_patcher/support/defaults.py | 279 | CODE | |
| LOW | opencore_legacy_patcher/support/kdk_handler.py | 388 | CODE | |
| LOW | opencore_legacy_patcher/support/kdk_handler.py | 482 | CODE | |
| LOW | opencore_legacy_patcher/support/utilities.py | 519 | CODE | |
| LOW | opencore_legacy_patcher/support/network_handler.py | 321 | CODE | |
| LOW | opencore_legacy_patcher/support/reroute_payloads.py | 63 | CODE | |
| LOW | opencore_legacy_patcher/support/validation.py | 118 | CODE | |
| LOW | opencore_legacy_patcher/detections/amfi_detect.py | 101 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 208 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 357 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 407 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 454 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 520 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 916 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 986 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/products.py | 187 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/products.py | 276 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/products_appledb.py | 74 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | ci_tooling/privileged_helper_tool/install.sh | 23 | # Check if path is a directory | COMMENT |
| LOW | ci_tooling/privileged_helper_tool/install.sh | 35 | # Check if destination path exists | COMMENT |
| LOW | ci_tooling/privileged_helper_tool/install.sh | 37 | # Check if destination path is a directory | COMMENT |
| LOW | ci_tooling/build_modules/package_scripts.py | 42 | _script += " # Check if file is a symbolic link\n" | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 52 | _script += " # Check if file is a directory\n" | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 75 | _script += " # Check if parent directory exists\n" | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 97 | _script += " # Check if path is a directory\n" | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 119 | _script += " # Check if alias path exists\n" | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 121 | _script += " # Check if alias path is a symbolic link\n" | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 215 | _script += " # Check if /usr/bin/gktool exists\n" | CODE |
| LOW | ci_tooling/build_modules/package_scripts.py | 240 | _script += " # Check if directory exists\n" | CODE |
| LOW | opencore_legacy_patcher/constants.py | 240 | self.disable_mediaanalysisd: bool = False # Set mediaanalysisd to spawn | CODE |
| LOW | opencore_legacy_patcher/wx_gui/gui_build.py | 114 | # Check if config.plist was built | COMMENT |
| LOW | opencore_legacy_patcher/wx_gui/gui_sys_patch_display.py | 113 | # Check if OCLP has already applied the same patches | COMMENT |
| LOW | opencore_legacy_patcher/wx_gui/gui_cache_os_update.py | 45 | # Check if we need to patch the system volume | COMMENT |
| LOW | opencore_legacy_patcher/efi_builder/firmware.py | 362 | # Set LauncherPath to '/boot.efi' | COMMENT |
| LOW | opencore_legacy_patcher/efi_builder/graphics_audio.py | 521 | # Check if KDKless and KDK GPUs are present | COMMENT |
| LOW | opencore_legacy_patcher/efi_builder/networking/wired.py | 39 | # Check if Ethernet was detected, otherwise fall back to assumptions (mainly for 2011 MacBook Airs and TB Ethern | COMMENT |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 533 | # Check if all files are present | COMMENT |
| LOW | …her/sys_patch/kernelcache/kernel_collection/support.py | 97 | # Check if we need to update the 'OSBundleRequired' entry | COMMENT |
| LOW | opencore_legacy_patcher/sys_patch/auto_patcher/start.py | 223 | # Check if installed version is newer than booted version | STRING |
| LOW | opencore_legacy_patcher/sys_patch/auto_patcher/start.py | 292 | # Check if OpenCore is on a USB drive | STRING |
| LOW | opencore_legacy_patcher/support/metallib_handler.py | 187 | # Check if this metallib is already installed | COMMENT |
| LOW | …core_legacy_patcher/support/macos_installer_handler.py | 283 | # Check if App Version is High Sierra or newer | STRING |
| LOW | opencore_legacy_patcher/support/subprocess_wrapper.py | 50 | # Check if first argument exists | COMMENT |
| LOW | opencore_legacy_patcher/support/defaults.py | 128 | # Check if running in RecoveryOS | COMMENT |
| LOW | opencore_legacy_patcher/support/defaults.py | 151 | # Check if model uses T2 SMBIOS, if so see if it needs root patching (determined earlier on via SIP variable) | COMMENT |
| LOW | opencore_legacy_patcher/support/defaults.py | 325 | # Check if we're running in Rosetta | COMMENT |
| LOW | opencore_legacy_patcher/support/defaults.py | 431 | # Check if type is different | COMMENT |
| LOW | opencore_legacy_patcher/support/kdk_handler.py | 238 | # Check if this KDK is already installed | COMMENT |
| LOW | opencore_legacy_patcher/support/validation.py | 133 | # Check if any unknown PathType is present | COMMENT |
| LOW | opencore_legacy_patcher/volume/copy.py | 28 | # Check if Copy on Write is supported. | COMMENT |
| LOW | opencore_legacy_patcher/sucatalog/products.py | 403 | # Check if version is newer than the max version | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | ci_tooling/privileged_helper_tool/install.sh | 2 | # ------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | ci_tooling/privileged_helper_tool/install.sh | 4 | # ------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | ci_tooling/privileged_helper_tool/install.sh | 6 | # ------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | ci_tooling/privileged_helper_tool/install.sh | 9 | # ------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | ci_tooling/privileged_helper_tool/install.sh | 13 | # --------------------------- | COMMENT |
| MEDIUM⚡ | ci_tooling/privileged_helper_tool/install.sh | 18 | # --------------------------- | COMMENT |
| MEDIUM | ci_tooling/privileged_helper_tool/install.sh | 51 | # --------------------------- | COMMENT |
| MEDIUM⚡ | ci_tooling/build_modules/package_scripts.py | 338 | # ------------------------------------------------------ | STRING |
| MEDIUM⚡ | ci_tooling/build_modules/package_scripts.py | 345 | # ------------------------------ | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opencore_legacy_patcher/__init__.py | 1 | CODE | |
| LOW | opencore_legacy_patcher/wx_gui/gui_settings.py | 22 | CODE | |
| LOW | …_legacy_patcher/wx_gui/gui_macos_installer_download.py | 11 | CODE | |
| LOW | …_legacy_patcher/wx_gui/gui_macos_installer_download.py | 29 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/__init__.py | 5 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/__init__.py | 5 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/__init__.py | 6 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/__init__.py | 6 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/__init__.py | 6 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/utilities/__init__.py | 4 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/utilities/__init__.py | 4 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/utilities/__init__.py | 4 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/utilities/__init__.py | 5 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/utilities/__init__.py | 6 | CODE | |
| LOW | …ncore_legacy_patcher/sys_patch/kernelcache/__init__.py | 10 | CODE | |
| LOW | …ncore_legacy_patcher/sys_patch/kernelcache/__init__.py | 11 | CODE | |
| LOW | …core_legacy_patcher/sys_patch/auto_patcher/__init__.py | 16 | CODE | |
| LOW | …core_legacy_patcher/sys_patch/auto_patcher/__init__.py | 17 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/mount/__init__.py | 15 | CODE | |
| LOW | opencore_legacy_patcher/sys_patch/mount/__init__.py | 16 | CODE | |
| LOW | opencore_legacy_patcher/support/logging_handler.py | 19 | CODE | |
| LOW | opencore_legacy_patcher/support/logging_handler.py | 19 | CODE | |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 13 | CODE | |
| LOW | opencore_legacy_patcher/volume/__init__.py | 45 | CODE | |
| LOW | opencore_legacy_patcher/volume/__init__.py | 46 | CODE | |
| LOW | opencore_legacy_patcher/volume/__init__.py | 46 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/__init__.py | 109 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/__init__.py | 110 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/__init__.py | 110 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/__init__.py | 111 | CODE | |
| LOW | opencore_legacy_patcher/sucatalog/__init__.py | 112 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opencore_legacy_patcher/wx_gui/gui_build.py | 145 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/patchsets/detect.py | 199 | except Exception as e: | CODE |
| LOW⚡ | opencore_legacy_patcher/sys_patch/patchsets/detect.py | 330 | except Exception as e: | CODE |
| LOW⚡ | …encore_legacy_patcher/sys_patch/utilities/dmg_mount.py | 131 | except Exception as e: | STRING |
| LOW⚡ | …encore_legacy_patcher/sys_patch/utilities/dmg_mount.py | 147 | except Exception as e: | STRING |
| LOW⚡ | …encore_legacy_patcher/sys_patch/utilities/dmg_mount.py | 161 | except Exception as e: | STRING |
| LOW | …ncore_legacy_patcher/sys_patch/auto_patcher/install.py | 84 | except Exception as e: | CODE |
| LOW | …ncore_legacy_patcher/sys_patch/auto_patcher/install.py | 89 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/arguments.py | 170 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/logging_handler.py | 81 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/logging_handler.py | 120 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/logging_handler.py | 158 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/logging_handler.py | 215 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/global_settings.py | 38 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/global_settings.py | 54 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/global_settings.py | 74 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/global_settings.py | 107 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/global_settings.py | 121 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/defaults.py | 416 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/kdk_handler.py | 306 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/network_handler.py | 266 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/network_handler.py | 310 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/support/network_handler.py | 368 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/detections/os_probe.py | 82 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/sucatalog/url.py | 173 | except Exception as e: | CODE |
| LOW | opencore_legacy_patcher/sucatalog/products_appledb.py | 41 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | opencore_legacy_patcher/support/network_handler.py | 87 | Wrapper for requests's get method Implement additional error handling Parameters: | STRING |
| HIGH | opencore_legacy_patcher/support/network_handler.py | 116 | Wrapper for requests's post method Implement additional error handling Parameters: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | opencore_legacy_patcher/wx_gui/gui_install_oc.py | 146 | # Create a button for each disk | COMMENT |
| MEDIUM | opencore_legacy_patcher/support/generate_smbios.py | 130 | # This function is mainly for users who are either spoofing or using hackintoshes | COMMENT |
| MEDIUM | …core_legacy_patcher/support/macos_installer_handler.py | 88 | # Create a new tmp directory | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci_tooling/privileged_helper_tool/install.sh | 1 | #!/bin/zsh --no-rcs | COMMENT |
| LOW | ci_tooling/privileged_helper_tool/main.m | 21 | #define OCLP_PHT_ERROR_MISSING_ARGUMENTS 160 | COMMENT |
| LOW | opencore_legacy_patcher/efi_builder/misc.py | 321 | support.BuildSupport(self.model, self.constants, self.config).get_kext_by_bundle_path("USB-Map.kext")["M | COMMENT |
| LOW | opencore_legacy_patcher/efi_builder/firmware.py | 81 | # However re-injecting the AICPUPM kexts is not enough, as Ventura changed how 'intel_cpupm_matching' is set | COMMENT |
| LOW | opencore_legacy_patcher/efi_builder/firmware.py | 261 | # CSM check | COMMENT |
| LOW | opencore_legacy_patcher/detections/device_probe.py | 961 | self.t1_chip = True | COMMENT |
| LOW | opencore_legacy_patcher/sucatalog/products.py | 301 | "Version": None, | COMMENT |
| LOW | .github/workflows/build-app-wxpython.yml | 41 | # - name: Import Application Signing Certificate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | opencore_legacy_patcher/efi_builder/security.py | 59 | # This is however hidden behind kern.development, thus we patch _apfs_filevault_allowed to always return tru | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opencore_legacy_patcher/efi_builder/build.py | 122 | def _set_revision(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/efi_builder/smbios.py | 89 | def set_smbios(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/sys_patch/sys_patch.py | 283 | def _update_preboot_kernel_cache(self) -> None: | CODE |
| LOW | opencore_legacy_patcher/support/network_handler.py | 272 | def _update_checksum(self, chunk: bytes) -> None: | CODE |
| LOW | opencore_legacy_patcher/support/reroute_payloads.py | 28 | def _setup_tmp_disk_image(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …patch/patchsets/hardware/networking/modern_wireless.py | 113 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | opencore_legacy_patcher/support/utilities.py | 507 | CODE |