Morphe Patches
This report summarizes scanner evidence for MorpheApp/morphe-patches, a Java project with 4,470 GitHub stars. SynthScan examined 578,966 lines of code across 2624 source files, recording 55 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.4 (Low 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? 29 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 9 finding(s).
Which changes need focused human review? 55 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 55 distinct pattern matches across 11 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 |
|---|---|---|---|---|
| CRITICAL | …teraction/nativeplaylistqueue/QueueSaveBoundaryTest.kt | 28 | val protobuf = File(GeneratedMessageLite::class.java.protectionDomain.codeSource.location.toURI()) | CODE |
| CRITICAL | …teraction/nativeplaylistqueue/PlaylistQueueApkBuild.kt | 539 | com.android.tools.smali.dexlib2.AccessFlags.PUBLIC.isSet(it.accessFlags) && | CODE |
| CRITICAL | …action/nativeplaylistqueue/QueueRuntimeBoundaryTest.kt | 129 | val protobuf = File(GeneratedMessageLite::class.java.protectionDomain.codeSource.location.toURI()) | CODE |
| CRITICAL | …action/nativeplaylistqueue/QueueRuntimeBoundaryTest.kt | 469 | public static boolean isEnabled() { return app.morphe.extension.youtube.settings.Settings.QUEUE_TYPE | CODE |
| CRITICAL | …action/nativeplaylistqueue/QueueRuntimeBoundaryTest.kt | 549 | app.morphe.extension.youtube.patches.utils.FlyoutUtils.stock.add( | CODE |
| CRITICAL | …action/nativeplaylistqueue/QueueRuntimeBoundaryTest.kt | 807 | && app.morphe.extension.youtube.patches.utils.FlyoutUtils.video.equals("LMNOPQRSTUV"), | CODE |
| CRITICAL | …ion/nativeplaylistqueue/QueueFullscreenBoundaryTest.kt | 102 | app.morphe.extension.shared.Utils.expiration.run(); | CODE |
| CRITICAL | …p/morphe/patches/music/misc/gms/GmsCoreSupportPatch.kt | 34 | app.morphe.patches.shared.misc.gms.gmsCoreSupportResourcePatch( | CODE |
| CRITICAL | …e/extension/music/patches/ForceOriginalAudioPatch.java | 12 | app.morphe.extension.shared.patches.ForceOriginalAudioPatch.setEnabled( | CODE |
| CRITICAL | …ension/music/patches/spoof/SpoofVideoStreamsPatch.java | 25 | app.morphe.extension.shared.spoof.SpoofVideoStreamsPatch.setClientsToUse( | CODE |
| CRITICAL | …ava/app/morphe/extension/youtube/series/HistoryUi.java | 62 | return app.morphe.extension.shared.ui.Dim.dp(n); | CODE |
| CRITICAL | …ava/app/morphe/extension/youtube/series/HistoryUi.java | 66 | return app.morphe.extension.shared.Utils.isDarkModeEnabled(); | CODE |
| CRITICAL | …ava/app/morphe/extension/youtube/series/HistoryUi.java | 405 | String type = app.morphe.extension.youtube.shared.PlayerType.getCurrent().name(); | CODE |
| CRITICAL | …extension/youtube/patches/ForceOriginalAudioPatch.java | 12 | app.morphe.extension.shared.patches.ForceOriginalAudioPatch.setEnabled( | CODE |
| CRITICAL | …sion/youtube/patches/spoof/SpoofVideoStreamsPatch.java | 33 | app.morphe.extension.shared.spoof.SpoofVideoStreamsPatch.setOfflineResponseResolver( | CODE |
| CRITICAL | …sion/youtube/patches/spoof/SpoofVideoStreamsPatch.java | 60 | app.morphe.extension.shared.spoof.SpoofVideoStreamsPatch.setClientsToUse( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/scripts/send_fcm.py | 34 | # ── Read environment ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/send_fcm.py | 78 | # ── Parse Service Account ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/send_fcm.py | 92 | # ── Build and sign JWT ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/send_fcm.py | 125 | # ── Exchange JWT for OAuth2 access token ────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/send_fcm.py | 144 | # ── Build FCM message payload ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/send_fcm.py | 161 | # ── Send FCM request ─────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/crowdin_pull.yml | 46 | # Step 1: Checkout crowdin branch to run checks on it | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 57 | # Step 2: Run string checks on the crowdin branch | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 63 | # Step 3: Checkout dev branch to prepare for merging | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 71 | # Step 4: Fetch the latest crowdin branch (already checked) | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 75 | # Step 5: Squash merge crowdin into dev | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/crowdin_pull.yml | 46 | # Step 1: Checkout crowdin branch to run checks on it | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 57 | # Step 2: Run string checks on the crowdin branch | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 63 | # Step 3: Checkout dev branch to prepare for merging | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 71 | # Step 4: Fetch the latest crowdin branch (already checked) | COMMENT |
| LOW⚡ | .github/workflows/crowdin_pull.yml | 75 | # Step 5: Squash merge crowdin into dev | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/shared/misc/audio/tracks/ForceOriginalAudioPatch.kt | 247 | # Check if the audio track id is null. | STRING |
| LOW | …es/shared/misc/audio/tracks/ForceOriginalAudioPatch.kt | 251 | # Check if the player controller class is null. | STRING |
| LOW | …he/patches/shared/misc/spoof/SpoofVideoStreamsPatch.kt | 303 | # Check if player config contains android media lib config. | COMMENT |
| LOW | …hes/youtube/video/information/VideoInformationPatch.kt | 334 | # Check if the player controller class is null. | STRING |
| LOW⚡ | …youtube/video/speed/custom/CustomPlaybackSpeedPatch.kt | 280 | # Check if the bottom sheet is available. | STRING |
| LOW⚡ | …youtube/video/speed/custom/CustomPlaybackSpeedPatch.kt | 286 | # Check if the bottom sheet is available. | STRING |
| LOW⚡ | …youtube/video/speed/custom/CustomPlaybackSpeedPatch.kt | 291 | # Check if the fragment ID is not null. | STRING |
| LOW | …outube/layout/buttons/navigation/NavigationBarPatch.kt | 980 | # Check if ProtoList is immutable or not. | STRING |
| LOW | …utube/layout/hide/general/HideLayoutComponentsPatch.kt | 826 | # Check if the setting is enabled and if the typed string is empty. | STRING |
| LOW | …be/layout/hide/relatedvideos/HideRelatedVideosPatch.kt | 162 | # Check if ProtoList is immutable or not. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 50 | | [AI channel filter](#ai-channel-filter) | Adds options to hide videos from channels flagged as AI-generated by the AiS | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ches/shared/layout/branding/BaseCustomBrandingPatch.kt | 401 | // such as Android Auto, the app list of the system settings, the push | COMMENT |
| LOW | …outube/layout/hide/shorts/HideShortsComponentsPatch.kt | 261 | // endregion | COMMENT |
| LOW | …/app/morphe/patches/youtube/layout/theme/ThemePatch.kt | 121 | "yt_sys_color_baseline_light_menu_background", | COMMENT |
| LOW | …on/youtube/patches/OpenShortsInRegularPlayerPatch.java | 41 | } | COMMENT |
| LOW | …patches/voiceovertranslation/TranscriptTranslator.java | 81 | // translation is in progress. Remaining batches are skipped immediately. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …utube/layout/hide/general/HideLayoutComponentsPatch.kt | 837 | # Create a new list to hold filtered search suggestions. | STRING |
| MEDIUM | …e/patches/playback/speed/CustomPlaybackSpeedPatch.java | 358 | // # Create main layout. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …p/morphe/patches/shared/misc/settings/SettingsPatch.kt | 136 | // Using two different preference files is the simplest and most robust solution. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/send_fcm.py | 114 | except Exception as e: | CODE |
| LOW | .github/scripts/send_fcm.py | 138 | except Exception as e: | CODE |
| LOW | .github/scripts/send_fcm.py | 186 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/generate_patches_readme.py | 16 | CODE |