AI Slop Code Risk Monitor

agalwood/Motrix

SlopCodeMonitor badge for agalwood/Motrix Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A full-featured download manager.

2.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for agalwood/Motrix, a TypeScript project with 57,638 GitHub stars. SynthScan examined 691,262 lines of code across 2735 source files, recording 979 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.4
Adjusted Signal
2.4
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
57.6K
Stars
TypeScript
Language
691.3K
Lines of Code
2.7K
Files
979
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 4.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 542 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.2/100 · LOW

Are imports declared and package/API names verified? 182 finding(s).

Agent Over-Engineering Ratio 8.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 648 finding(s).

PR Review Velocity Impact 11.0/100 · LOW

Which changes need focused human review? 979 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 13HIGH 1MEDIUM 254LOW 711

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 979 distinct pattern matches across 8 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.

Decorative Section Separators254 hits · 794 pts
SeverityFileLineSnippetContext
MEDIUMe2e/task-recovery.spec.ts71 // ─── Run 1: add → downloading → pause → SIGKILL ──────────────COMMENT
MEDIUMe2e/task-recovery.spec.ts116 // ─── Run 2: relaunch → assert restore ────────────────────────COMMENT
MEDIUMsrc/renderer/routes/settings/cards/downloads-form.ts9// ─── Form shape ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/settings/validators.ts14// ─── Zod Schemas ──────────────────────────────────────────────COMMENT
MEDIUMsrc/core/settings/validators.ts54// ─── Speed Limit Settings ─────────────────────────────────────COMMENT
MEDIUMsrc/core/settings/validators.ts62// ─── Tracker Settings ─────────────────────────────────────────COMMENT
MEDIUMsrc/core/settings/validators.ts75// ─── Validation functions ─────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.ts1451 // ── op lifecycle methods ───────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.ts1512 // ── launch methods ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1540 // ── log ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1561 // ── app ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1578 // ── i18n ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1610 // ── hooks ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1630 // ── commands ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1718 // ── lifecycle ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1744 // ── http ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1750 // ── storage ────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/core/plugin/host/quick-js-worker.ts1761 // ── crypto ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/core/plugin/host/quick-js-worker.ts1771 // ── config ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/core/plugin/host/quick-js-worker.ts1776 // ── notify ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/core/plugin/host/quick-js-worker.ts1781 // ── fs.storage ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1794 // ── fs.task ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/quick-js-worker.ts1865 // ── ffmpeg ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/test-helpers.ts35 // ── Plan A ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/test-helpers.ts66 // ── Plan B stubs ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/e2e-capabilities.test.ts68 // ── Plan A ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/e2e-capabilities.test.ts92 // ── Plan B ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/e2e-capabilities.test.ts118 // ── Boot assertions ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/e2e-capabilities.test.ts139 // ── Command invocation assertions ────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts255 // ── 1. Idle phase passes through ────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts273 // ── 2. Disallowed verdict ────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts305 // ── 3. Staged ctx.update beforeCreate ───────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts341 // ── 4. Staged metadata.set beforeCreate ─────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts377 // ── 5. Audit role + ctx.update → fails with AuditRoleCannotMutate ───────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts415 // ── 5b. ctx.update without fs.task.write permission → fails ─────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts445 // ── 6. Staged metadata.delete beforeFinalize ────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts478 // ── 7. clearHookContext resets phase to idle ─────────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts510 // ── 8. afterComplete: metadata.set is disallowed ─────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts538 // ── 9. beforeCreate: fs.task.stat is disallowed ──────────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts566 // ── 10. beforeFinalize: ctx.update filePath staged ───────────────────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts604 // ── 12. FfmpegStaging wiring: beforeFinalize redirects outputPath ────────COMMENT
MEDIUMsrc/core/plugin/host/capability-bridge.phase.test.ts701 // ── 14. FfmpegStaging wiring: beforeCreate does NOT redirect ────────────COMMENT
MEDIUM…core/plugin/host/capability-bridge.ffmpeg-gate.test.ts390 // ── 1. rejects saveDir output in beforeCreate ───────────────────────────COMMENT
MEDIUM…core/plugin/host/capability-bridge.ffmpeg-gate.test.ts424 // ── 2. rejects saveDir output in afterComplete ──────────────────────────COMMENT
MEDIUM…core/plugin/host/capability-bridge.ffmpeg-gate.test.ts457 // ── 3. rejects saveDir output in onError ───────────────────────────────COMMENT
MEDIUM…core/plugin/host/capability-bridge.ffmpeg-gate.test.ts538 // ── 5. allows pluginStorage output in any phase without staging ─────────COMMENT
MEDIUMsrc/core/plugin/capabilities/interface.ts54 // ── Plan A ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/capabilities/interface.ts72 // ── Plan B ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/hook-context.test.ts26// ── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/hook-context.test.ts198// ── makeBeforeCreateHttp ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/hook-context.test.ts287// ── makeBeforeCreateBt ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/hook-context.test.ts311// ── makeBeforeFinalize ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/hook-context.test.ts360// ── makeAfterComplete ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/hook-context.test.ts374// ── makeOnError ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/staged-effects.test.ts34 // ── 1. starts empty ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/staged-effects.test.ts42 // ── 2. HTTP patch merge ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/staged-effects.test.ts95 // ── 3. appendMeta set + commitMetadata writes rows ───────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/staged-effects.test.ts221 // ── 4. appendMeta delete removes rows ────────────────────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/staged-effects.test.ts243 // ── 5. tx callback runs inside the same transaction ──────────────────────────COMMENT
MEDIUMsrc/core/plugin/hooks/staged-effects.test.ts270 // ── 6. tx throw rolls back everything ────────────────────────────────────────COMMENT
194 more matches not shown…
Hyper-Verbose Identifiers393 hits · 398 pts
SeverityFileLineSnippetContext
LOWtests/check-third-party-notices.test.ts421function registryPackagesFromCargoLock(CODE
LOW⚡tests/scripts/test_flatpak_node_generator.py76 async def test_fixture_exceeds_the_unmodified_client_limit(self):CODE
LOW⚡tests/scripts/test_flatpak_node_generator.py80 async def test_larger_redirect_and_payload_headers_preserve_source_bytes(self):CODE
LOW⚡tests/scripts/test_flatpak_node_generator.py86 async def test_headers_above_the_bound_still_fail_after_upstream_retries(self):CODE
LOW⚡tests/scripts/test_flatpak_node_generator.py91 async def test_status_retries_and_source_cache_remain_active(self):CODE
LOWtests/scripts/workflow-snap.test.ts875function runPromotionCredentialGate({CODE
LOWtests/scripts/workflow-snap.test.ts1057function runPromotionSourceValidation(CODE
LOWtests/scripts/release-signing-input.test.ts651async function createGeneratedSigningInput(CODE
LOWtests/scripts/windows-artifact-names.test.ts17async function resolveConfiguredWindowsTargets(CODE
LOWtests/scripts/workflow-release-matrix.test.ts3183function bareUppercaseEnvironmentReferences(command: string): string[] {CODE
LOWscripts/registry-runtime-conformance.ts103export function runRegistryRuntimeConformance(): RegistryRuntimeConformanceResult {CODE
LOWe2e/task-inspector-activity.spec.ts273async function expectStatusPillContained(page: Page): Promise<void> {CODE
LOWe2e/task-inspector-activity.spec.ts297async function expectYAxisSpeedLabelsSingleLine(page: Page): Promise<void> {CODE
LOWe2e/task-inspector-activity.spec.ts377async function expectLiveTransferSummary(CODE
LOWe2e/activity-tile.spec.ts268async function readActivityFixtureProfile(CODE
LOWsrc/renderer/platform/services.tsx71export function useOptionalPlatformServices(): PlatformServices | null {CODE
LOW…features/legacy-import/use-legacy-import-navigation.ts8export function useLegacyImportNavigation() {CODE
LOW…/renderer/features/legacy-import/sidebar-preference.ts18export function createLegacyImportSidebarStore() {CODE
LOW…nderer/features/legacy-import/legacy-import-dialog.tsx122function LegacyImportDialogContent({CODE
LOW…tures/engine-diagnostics/engine-diagnostics-dialog.tsx140export function EngineDiagnosticsDialogHost() {CODE
LOWsrc/renderer/features/engine-diagnostics/controller.ts13export function consumeEngineDiagnosticsRequest(): boolean {CODE
LOWsrc/renderer/features/engine-diagnostics/controller.ts19export function subscribeEngineDiagnostics(listener: Listener): () => void {CODE
LOWsrc/renderer/features/application-menu/task-context.ts41export function registerDownloadsMenuContext(CODE
LOW…enderer/features/application-menu/navigation-focus.tsx5export function requestMenuNavigationFocus(path: string): void {CODE
LOW…directory-preferences/directory-preferences-dialog.tsx29export function DirectoryPreferencesDialog({CODE
LOW…directory-preferences/directory-preferences-dialog.tsx36function OpenDirectoryPreferencesDialog({ onClose }: { onClose: () => void }) {CODE
LOW…irectory-preferences/directory-preferences-section.tsx32export function DirectoryPreferencesStatus({CODE
LOW…irectory-preferences/directory-preferences-section.tsx74export function DirectoryPreferencesSection({CODE
LOW…rectory-preferences/use-directory-preferences-draft.ts315export function useDirectoryPreferencesDraft(options: Options = {}) {CODE
LOWsrc/renderer/components/ui/chart.tsx328function getPayloadConfigFromPayload(CODE
LOWsrc/renderer/components/ui/blur-highlight.test.tsx17function installIntersectionObserver() {CODE
LOWsrc/renderer/components/window-chrome/window-chrome.tsx150export function shouldShowDesktopWindowControls(CODE
LOW…nts/window-chrome/window-controls-overlay-provider.tsx31function LinuxOverlayPopupBoundary({ children }: { children: ReactNode }) {CODE
LOW…nts/window-chrome/window-controls-overlay-provider.tsx42export function WindowControlsOverlayProvider({CODE
LOW…derer/components/task/magnet-file-selection-button.tsx9export function MagnetFileSelectionButton({ task }: { task: DownloadTask }) {CODE
LOW…onents/add-task-dialog/use-pending-magnet-selection.ts12export function usePendingMagnetSelection(CODE
LOW…erer/components/desktop-kit/cubic-glass/webgl-scene.ts195export function createCubicGlassWebGlScene(CODE
LOW…/renderer/components/desktop-kit/cubic-glass/motion.ts21export function resolveHorizontalResponseSeconds(speed: number): number {CODE
LOW…components/desktop-kit/toolbar-glass/toolbar-glass.tsx13function subscribeMaterialPreference(listener: () => void) {CODE
LOWsrc/renderer/hooks/use-task-activity.ts98export function taskActivityRangeSignature(CODE
LOWsrc/renderer/hooks/use-task-inspector-activity.ts41export function createTaskInspectorActivitySnapshotCache(): TaskInspectorActivitySnapshotCache {CODE
LOWsrc/renderer/hooks/use-application-menu.ts18function supportsRendererApplicationMenu(): boolean {CODE
LOWsrc/renderer/hooks/use-engine-restart-required-toast.ts13export function useEngineRestartRequiredToast(): void {CODE
LOWsrc/renderer/lib/renderer-health.ts53export function registerRendererCapability(CODE
LOWsrc/renderer/lib/i18n.ts32export function applyDocumentLocaleMetadata(CODE
LOWsrc/renderer/lib/initial-theme.ts15export function resolveInitialRendererTheme({CODE
LOWsrc/renderer/lib/initial-theme.ts26export function applyInitialRendererTheme(CODE
LOWsrc/renderer/lib/directory-preferences.ts498export function useServerDirectoryLocations(enabled = true) {CODE
LOW…/routes/settings/cards/use-downloads-settings-draft.ts42export function useDownloadsSettingsDraft(CODE
LOW…ngs/cards/integration/appimage-integration-section.tsx31export function AppImageIntegrationSection({CODE
LOW…ngs/cards/integration/appimage-native-host-section.tsx12export function AppImageNativeHostSection() {CODE
LOW…nderer/routes/plugins/plugin-diagnostics-page.test.tsx321function installTooltipCompatibleResizeObserver(): void {CODE
LOW…omponents/call-graph/plugin-call-graph-omni-search.tsx107export function buildPluginCallGraphSuggestions(CODE
LOW…omponents/call-graph/plugin-call-graph-omni-search.tsx142export function PluginCallGraphOmniSearch({CODE
LOW…s/call-graph/plugin-call-graph-error-boundary.test.tsx63 function CanvasThatRecoversOnRemount() {CODE
LOW…tes/plugins/components/call-graph/graph-test-utils.tsx38export function installGraphTestEnvironment({CODE
LOW…tes/plugins/components/call-graph/graph-test-utils.tsx153export function renderInReactFlowProvider(ui: ReactElement): RenderResult {CODE
LOWsrc/renderer/routes/plugins/lib/network-error.ts4export function formatPluginNetworkFailure(CODE
LOWsrc/renderer/routes/plugins/lib/call-graph-model.ts114function toInstalledPluginIdentities(CODE
LOWsrc/renderer/routes/plugins/lib/call-graph-model.ts125function buildModelFromCommandEdges(CODE
333 more matches not shown…
Fake / Example Data169 hits · 172 pts
SeverityFileLineSnippetContext
LOWe2e/settings-speed-limit-units.spec.ts89 await expect(upload).toHaveAttribute('placeholder', 'Unlimited')CODE
LOWe2e/settings-speed-limit-units.spec.ts93 await expect(lowDownload).toHaveAttribute('placeholder', 'Use standard')CODE
LOW…rer/routes/settings/cards/compact-limit-input.test.tsx96 expect(input).toHaveAttribute('placeholder', 'Unlimited')CODE
LOW…rer/routes/settings/cards/compact-limit-input.test.tsx130 'placeholder',CODE
LOW…nderer/routes/settings/cards/downloads-dialog.test.tsx927 expect(baseDown).toHaveAttribute('placeholder', 'Unlimited')CODE
LOW…nderer/routes/settings/cards/downloads-dialog.test.tsx929 expect(altDown).toHaveAttribute('placeholder', 'Use standard')CODE
LOW…nderer/routes/settings/cards/downloads-dialog.test.tsx1027 expect(startTime).toHaveAttribute('placeholder', 'HH:mm')CODE
LOW…ettings/cards/integration/media-tools-section.test.tsx575 expect(input).toHaveAttribute('placeholder', 'Not set')CODE
LOWsrc/core/bridge/extension-identity-resolver.test.ts115 id: 'imported@example.org',CODE
LOW⚡src/core/bridge/extension-identity-resolver.test.ts129 expect(registry.has('imported@example.org', 'firefox')).toBe(true)CODE
LOW⚡src/core/bridge/extension-identity-resolver.test.ts131 expect(resolver.isOfficialId('firefox', 'imported@example.org')).toBe(false)CODE
LOW⚡src/core/bridge/extension-identity-resolver.test.ts141 { browser: 'firefox', id: 'dev@example.org' },CODE
LOWsrc/core/bridge/extension-identity-resolver.test.ts235 const claimedExtensionId = 'recognizable-but-self-reported@example.org'CODE
LOWsrc/core/bridge/extension-identity-resolver.test.ts294 ['other@example.org', 'attested-non-official'],CODE
LOWsrc/core/bridge/mbp1/pair-session.test.ts688 callerId: 'motrix@example.org',CODE
LOWsrc/core/bridge/mbp1/pair-session.test.ts696 claimedExtensionId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/initialize-handler.test.ts138 extensionId: 'motrix@example.org',CODE
LOW⚡src/core/bridge/__tests__/mbp1-transport.test.ts1638 claimedExtensionId: 'motrix@example.org',CODE
LOW⚡src/core/bridge/__tests__/mbp1-transport.test.ts1643 initializeParams('motrix@example.org', 'firefox')CODE
LOW⚡src/core/bridge/__tests__/mbp1-transport.test.ts1649 expect(h.server.getSession('firefox:motrix@example.org')).toBeUndefined()CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts601 claimedExtensionId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts647 ['firefox', 'motrix@example.org'],CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts662 callerId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts668 claimedExtensionId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts681 callerId: 'other@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts687 claimedExtensionId: 'other@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts700 callerId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts706 claimedExtensionId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts738 callerId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts746 claimedExtensionId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts761 callerId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts767 claimedExtensionId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts788 callerId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts794 claimedExtensionId: 'motrix@example.org',CODE
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts2392 const GECKO_ID = 'motrix@example.org'CODE
LOWsrc/core/legacy-import/bt-activation-service.test.ts142 'placeholder',CODE
LOWsrc/core/legacy-import/bt-activation-service.test.ts173 if (state === 'placeholder') {CODE
LOWsrc/core/legacy-import/http-activation-service.test.ts180 'placeholder',CODE
LOWsrc/core/legacy-import/http-activation-service.test.ts211 if (state === 'placeholder') {CODE
LOWsrc/shared/locales/tr.json5 "placeholder": "Operatör belirteci",CODE
LOWsrc/shared/locales/tr.json878 "placeholder": {CODE
LOWsrc/shared/locales/tr.json958 "placeholder": "İndirmelerde ara",CODE
LOWsrc/shared/locales/tr.json2352 "placeholder": "Kaynak seçin",CODE
LOWsrc/shared/locales/tr.json2442 "placeholder": "GitHub adresi veya URL yapıştırın ya da yerel bir .moext dosyası seçin",CODE
LOWsrc/shared/locales/hu.json5 "placeholder": "Üzemeltetői token",CODE
LOWsrc/shared/locales/hu.json878 "placeholder": {CODE
LOWsrc/shared/locales/hu.json958 "placeholder": "Letöltések keresése",CODE
LOWsrc/shared/locales/hu.json2352 "placeholder": "Források kiválasztása",CODE
LOWsrc/shared/locales/hu.json2442 "placeholder": "Illessz be egy GitHub-címet vagy URL-t, vagy válassz egy helyi .moext fájlt",CODE
LOWsrc/shared/locales/nl.json401 "placeholder": "Operatortoken",CODE
LOWsrc/shared/locales/nl.json1111 "placeholder": {CODE
LOWsrc/shared/locales/nl.json1185 "placeholder": "Downloads zoeken",CODE
LOWsrc/shared/locales/nl.json1567 "placeholder": "Plak een GitHub-adres of URL, of kies een lokaal .moext-bestand",CODE
LOWsrc/shared/locales/nl.json3014 "placeholder": "Bronnen selecteren",CODE
LOWsrc/shared/locales/ja.json5 "placeholder": "管理者トークン",CODE
LOWsrc/shared/locales/ja.json866 "placeholder": {CODE
LOWsrc/shared/locales/ja.json946 "placeholder": "ダウンロードを検索",CODE
LOWsrc/shared/locales/ja.json2337 "placeholder": "ソースを選択",CODE
LOWsrc/shared/locales/ja.json2426 "placeholder": "GitHub のアドレスや URL を貼り付けるか、ローカルの .moext ファイルを選択",CODE
LOWsrc/shared/locales/de.json5 "placeholder": "Betreiber-Token",CODE
109 more matches not shown…
Hallucination Indicators13 hits · 130 pts
SeverityFileLineSnippetContext
CRITICALsrc/renderer/hooks/use-task-activity.test.tsx305 hook.result.current.snapshot.days.every(CODE
CRITICALsrc/renderer/lib/directory-preferences.test.ts252 h.bridge.invoke.mock.calls.filter(CODE
CRITICALsrc/renderer/lib/directory-preferences.test.ts257 h.bridge.invoke.mock.calls.filter(CODE
CRITICALsrc/core/engine/aria2/aria2-process-manager.test.ts343 const data = child.stdout.on.mock.calls.find(CODE
CRITICALsrc/core/engine/aria2/aria2-process-manager.test.ts381 const data = child.stdout.on.mock.calls.find(CODE
CRITICALsrc/core/engine/aria2/aria2-process-manager.test.ts384 const end = child.stdout.on.mock.calls.find(CODE
CRITICALsrc/core/engine/aria2/aria2-process-manager.test.ts404 const firstData = first.stderr.on.mock.calls.find(CODE
CRITICALsrc/core/engine/aria2/aria2-process-manager.test.ts412 const secondData = second.stderr.on.mock.calls.find(CODE
CRITICALsrc/shared/schemas/speed-limit.test.ts50 DEFAULT_SPEED_LIMIT_SETTINGS.auto.adaptive.speedTest.providers.map(CODE
CRITICALsrc/shared/schemas/speed-limit.test.ts55 DEFAULT_SPEED_LIMIT_SETTINGS.auto.adaptive.speedTest.providers.find(CODE
CRITICALsrc/main/window/renderer-supervisor.test.ts196 f.wc.send.mock.calls.filter(([c]) => c === Events.RendererIntent)CODE
CRITICALsrc/main/window/renderer-supervisor.test.ts208 f.wc.send.mock.calls.filter(([c]) => c === Events.RendererIntent)CODE
CRITICALsrc/main/window/renderer-supervisor.test.ts317 const probe = f.wc.send.mock.calls.at(-1)?.[1]CODE
Over-Commented Block121 hits · 118 pts
SeverityFileLineSnippetContext
LOWvite.main.config.ts21// 41 bundles Node 22.14+), so merely declaring "type": "module" is noCOMMENT
LOWpnpm-workspace.yaml1packages:COMMENT
LOWtests/integration/community-plugin-install.test.ts1// tests/integration/community-plugin-install.test.tsCOMMENT
LOWflatpak/app.motrix.native.yml201 pnpm_native="$pnpm_root/node_modules/@pnpm/exe.linux-${npm_config_target_arch}"COMMENT
LOWpackages/native-host/src/runtime.rs81// attestation — a future refactor replacing `main.rs` with a call to it wouldCOMMENT
LOWpackages/native-host/src/caller.rs1//! Extracts the browser-supplied caller identity from Native Messaging argvCOMMENT
LOWpackages/native-host/src/ticket.rs1//! MBP1 NM attestation ticket minting (`docs/bridge-pairing-protocol.md` §9.2).COMMENT
LOWpackages/native-host/src/ticket.rs21COMMENT
LOWpackages/native-host/src/canonical.rs1//! MBP1 canonical byte-level encoding primitives (`docs/bridge-pairing-protocol.md` §2).COMMENT
LOWpackages/native-host/src/endpoint.rs41/// The Windows counterpart of the 0600 check, and **deliberately weaker thanCOMMENT
LOWpackages/native-host/src/endpoint.rs61/// this permits an administrator to *read* the file's `localToken`. AnCOMMENT
LOWpackages/native-host/src/endpoint.rs141COMMENT
LOWpackages/finalize-fs/src/sanitize.rs1//! Cross-platform filename sanitization for published artifacts.COMMENT
LOW.github/workflows/release.yml1# Motrix — native multi-platform build and releaseCOMMENT
LOWe2e/bridge/cli-pair-and-download.spec.ts1// E2E acceptance: motrix-cli ↔ Electron app over the MDXP HTTP bridge.COMMENT
LOWsrc/renderer/hooks/use-transport-mirror.ts101 // Generation guard: subscription-driven refreshes and reconnect/focus canCOMMENT
LOW…ettings/cards/integration/use-pair-request-prompts.tsx101 // Allow/Deny mark settled + close the toast optimistically, then awaitCOMMENT
LOW…ettings/cards/integration/use-pair-request-prompts.tsx141 }COMMENT
LOW…ettings/cards/integration/use-pair-request-prompts.tsx221 transport.on(expiredChannel, onExpired)COMMENT
LOWsrc/renderer/routes/plugins/plugin-detail-page.tsx161 <>COMMENT
LOWsrc/renderer/routes/plugins/store.ts21 list: PluginListDTO[]COMMENT
LOW…c/renderer/routes/downloads/inspector/trackers-tab.tsx161 // so an immediate re-query would land before that poll and cache theCOMMENT
LOWsrc/core/bridge/credential-store.ts1181 throw new Error(CREDENTIAL_STORAGE_REJECTED)COMMENT
LOWsrc/core/bridge/web-socket-bridge-server.ts1881 const sessionKey = makeSessionKey(peer.browser, peer.extensionId)COMMENT
LOWsrc/core/bridge/endpoint-file-writer.ts41 })COMMENT
LOWsrc/core/bridge/web-socket-message-stream.ts21// Minimal subset of ws.WebSocket we depend on. Avoids a hard dep onCOMMENT
LOWsrc/core/bridge/mbp1/envelope.ts1// MBP1 AEAD envelope (docs/bridge-pairing-protocol.md §10).COMMENT
LOWsrc/core/bridge/mbp1/spake2-core.ts1// MBP1 group-generic SPAKE2 core (docs/bridge-pairing-protocol.md §3, §6.3–§6.6).COMMENT
LOWsrc/core/bridge/mbp1/spake2-core.ts161 // torsion component `T`, and `h·scalar·d` kills it because `8 | h·scalar`,COMMENT
LOWsrc/core/bridge/mbp1/spake2-core.test.ts281 // sufficient to separate them. Writing `s = 8x mod ℓ`, the two forms differCOMMENT
LOWsrc/core/bridge/mbp1/reconnect-session.ts1// MBP1 reconnect session state machineCOMMENT
LOWsrc/core/bridge/mbp1/reconnect-session.ts21// later expire and strand the client. An already-`committed` credentialCOMMENT
LOWsrc/core/bridge/mbp1/reconnect-session.ts341 await this.deps.credentials.promoteOnReconnect(credential.credentialId)COMMENT
LOWsrc/core/bridge/mbp1/flood-control.ts1// MBP1 pairing flood control (docs/bridge-pairing-protocol.md §7.3).COMMENT
LOWsrc/core/bridge/mbp1/frames.ts1// MBP1 pre-channel wire frames (docs/bridge-pairing-protocol.md §6.1, §6.7,COMMENT
LOWsrc/core/bridge/mbp1/frames.ts21// 2. **`protocolVersion` is NOT a `z.literal(1)`.** §11 gives a wrong versionCOMMENT
LOWsrc/core/bridge/mbp1/pre-auth-table.ts1// MBP1 pre-authentication connection table (docs/bridge-pairing-protocol.mdCOMMENT
LOWsrc/core/bridge/mbp1/nonce-service.ts1// MBP1 pairing nonce issuance (docs/bridge-pairing-protocol.md §4.2).COMMENT
LOWsrc/core/bridge/mbp1/pair-session.ts1// MBP1 first-pair session state machineCOMMENT
LOWsrc/core/bridge/mbp1/pair-session.ts21// 2. **A ticket abort outranks identity.** A presented-but-broken ticketCOMMENT
LOWsrc/core/bridge/mbp1/pair-session.ts621 // caller identity: "the Chromium verified `Origin` host, OR theCOMMENT
LOWsrc/core/bridge/mbp1/reconnect-rate-limit.ts1// MBP1 reconnect rate limiting (docs/bridge-pairing-protocol.md §8).COMMENT
LOWsrc/core/bridge/mbp1/envelope-message-stream.ts1// MBP1 AEAD envelope as a WebSocket adapterCOMMENT
LOWsrc/core/bridge/mbp1/envelope-message-stream.ts21// `isBinary` flag is. §10 makes a post-activation text frame a protocolCOMMENT
LOWsrc/core/bridge/mbp1/ticket-verify.ts1// MBP1 NM attestation-ticket verificationCOMMENT
LOWsrc/core/bridge/mbp1/ticket-verify.ts21// attacker a semantic bypass.COMMENT
LOWsrc/core/bridge/mbp1/reconnect-mac.ts1// MBP1 reconnect transcript, MACs, and traffic keysCOMMENT
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts981 })COMMENT
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts2381 // values instead of `deps.verifiedOrigin`. A client binding some *arbitrary*COMMENT
LOWsrc/core/bridge/__tests__/mbp1-transport.test.ts2441 // "Terminating MITM (own PAKE with each side) cannot produce two confirmedCOMMENT
LOWsrc/core/bridge/__tests__/mbp1-client.ts1// A client-side MBP1 implementation for the transport integration tests.COMMENT
LOWsrc/core/plugin/secret-store-libsodium.ts1// libsodium-backed SecretStore implementation shared by both shells.COMMENT
LOWsrc/core/plugin/queries.ts1// Provider helpers for the Phase 1A plugin read-side queries:COMMENT
LOWsrc/core/plugin/install/moext-reader.ts1// Hardened .moext (zip) extractor.COMMENT
LOWsrc/core/plugin/install/source-resolver.ts1// Normalizes every shape of plugin source into a canonicalCOMMENT
LOWsrc/core/plugin/install/plugin-installer.ts1// Orchestrates the install / upgrade / uninstall lifecycle for a plugin.COMMENT
LOWsrc/core/plugin/install/server-ack.ts1// Phase 1A server-runtime ack rules (I27): unsigned plugins must beCOMMENT
LOWsrc/core/plugin/host/capability-bridge.ts1import type { OperationExecution } from '../operations/operation-files'COMMENT
LOWsrc/core/plugin/host/capability-bridge.ts1341 // -------------------------------------------------------------------------COMMENT
LOWsrc/core/plugin/host/quick-js-worker.ts1// src/core/plugin/host/quick-js-worker.tsCOMMENT
61 more matches not shown…
Verbosity Indicators14 hits · 24 pts
SeverityFileLineSnippetContext
LOWsrc/core/plugin/manifest/parse.ts171 // Step 1: Read engines.motrix BEFORE strict schema validation.COMMENT
LOW⚡src/core/plugin/manifest/parse.ts186 // Step 2: Apply strict schema validation.COMMENT
LOW⚡src/core/plugin/manifest/parse.ts196 // Step 3: Enforce reserved-publisher invariant. Community plugins must notCOMMENT
LOWsrc/core/plugin/manifest/parse.ts213 // Step 4: Enforce command-id namespace invariant — every contributedCOMMENT
LOWsrc/core/plugin/manifest/parse.ts230 // Step 5: Typo detection vs forward-compat passthrough for contributes keys.COMMENT
LOWsrc/core/plugin/manifest/parse.ts263 // Step 6: Hook-driven invariants — both the role-eligibility rulesCOMMENT
LOWsrc/core/plugin/manifest/parse.ts314 // Step 7: Unknown activation events — forward-compat warning, NOT errorCOMMENT
LOWsrc/core/engine/engine-supervisor.ts455 // Step 2: Ensure config and build argsCOMMENT
LOWsrc/core/engine/engine-supervisor.ts510 // Step 3: Port checkCOMMENT
LOW⚡src/core/engine/engine-supervisor.ts540 // Step 4: Spawn process (abort if stop() was called during earlier awaits)COMMENT
LOW⚡src/core/engine/engine-supervisor.ts549 // Step 5: Connect RPCCOMMENT
LOWsrc/core/engine/engine-supervisor.ts605 // Step 6: ReadyCOMMENT
LOWsrc/core/engine/aria2/aria2-adapter.integration.test.ts277 // Step 1: ask aria2 to stop the taskCOMMENT
LOWsrc/core/engine/aria2/aria2-adapter.integration.test.ts293 // Step 2: removeDownloadResult should succeed on a stopped taskCOMMENT
Structural Annotation Overuse14 hits · 24 pts
SeverityFileLineSnippetContext
LOWsrc/core/plugin/manifest/parse.ts171 // Step 1: Read engines.motrix BEFORE strict schema validation.COMMENT
LOW⚡src/core/plugin/manifest/parse.ts186 // Step 2: Apply strict schema validation.COMMENT
LOW⚡src/core/plugin/manifest/parse.ts196 // Step 3: Enforce reserved-publisher invariant. Community plugins must notCOMMENT
LOWsrc/core/plugin/manifest/parse.ts213 // Step 4: Enforce command-id namespace invariant — every contributedCOMMENT
LOWsrc/core/plugin/manifest/parse.ts230 // Step 5: Typo detection vs forward-compat passthrough for contributes keys.COMMENT
LOWsrc/core/plugin/manifest/parse.ts263 // Step 6: Hook-driven invariants — both the role-eligibility rulesCOMMENT
LOWsrc/core/plugin/manifest/parse.ts314 // Step 7: Unknown activation events — forward-compat warning, NOT errorCOMMENT
LOWsrc/core/engine/engine-supervisor.ts455 // Step 2: Ensure config and build argsCOMMENT
LOWsrc/core/engine/engine-supervisor.ts510 // Step 3: Port checkCOMMENT
LOW⚡src/core/engine/engine-supervisor.ts540 // Step 4: Spawn process (abort if stop() was called during earlier awaits)COMMENT
LOW⚡src/core/engine/engine-supervisor.ts549 // Step 5: Connect RPCCOMMENT
LOWsrc/core/engine/engine-supervisor.ts605 // Step 6: ReadyCOMMENT
LOWsrc/core/engine/aria2/aria2-adapter.integration.test.ts277 // Step 1: ask aria2 to stop the taskCOMMENT
LOWsrc/core/engine/aria2/aria2-adapter.integration.test.ts293 // Step 2: removeDownloadResult should succeed on a stopped taskCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtests/scripts/test_flatpak_node_generator.py42except (BrokenPipeError, ConnectionResetError):CODE