Multi-Platform Package Manager for Stable Diffusion
This report summarizes scanner evidence for LykosAI/StabilityMatrix, a C# project with 8,971 GitHub stars. SynthScan examined 218,866 lines of code across 1534 source files, recording 246 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 1.6 (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? 224 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 21 finding(s).
Which changes need focused human review? 246 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 246 distinct pattern matches across 14 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 | StabilityMatrix.Avalonia/ViewModels/ConsoleViewModel.cs | 41 | [ObservableProperty] | COMMENT |
| LOW | …atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs | 301 | [ObservableProperty] | COMMENT |
| LOW | …atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs | 321 | /// </summary> | COMMENT |
| LOW | …atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs | 341 | /// Whether the Qwen settings panel is expanded | COMMENT |
| LOW | …atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs | 361 | [ObservableProperty] | COMMENT |
| LOW | …atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs | 381 | [ObservableProperty] | COMMENT |
| LOW | …atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs | 401 | /// </summary> | COMMENT |
| LOW | …alonia/ViewModels/Settings/AccountSettingsViewModel.cs | 101 | /// <summary> | COMMENT |
| LOW | …Models/CheckpointBrowser/CivArchiveBrowserViewModel.cs | 41 | private CancellationTokenSource? imageBackfillCts; | COMMENT |
| LOW | …x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs | 21 | #pragma warning disable CS0657 // Not a valid attribute location for this declaration | COMMENT |
| LOW | …x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs | 41 | // * Dispose quiesces first: it sets _disposed (checked at render entry) and waits for | COMMENT |
| LOW | …x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs | 61 | /// Bitmaps swapped out of layers on the UI thread while the render thread may still be | COMMENT |
| LOW | …x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs | 181 | #if DEBUG | COMMENT |
| LOW | …x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs | 201 | /// <summary> | COMMENT |
| LOW | …x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs | 261 | /// <summary> | COMMENT |
| LOW | …x.Avalonia/ViewModels/Inference/PromptCardViewModel.cs | 281 | return; | COMMENT |
| LOW | …ix.Avalonia/ViewModels/Inference/ModelCardViewModel.cs | 1341 | /// Flag to prevent auto-adjustment during state loading. | COMMENT |
| LOW | …lonia/ViewModels/Dialogs/LayeredMaskEditorViewModel.cs | 61 | /// </summary> | COMMENT |
| LOW | …a/ViewModels/Dialogs/ImageAnnotationEditorViewModel.cs | 41 | /// <summary> | COMMENT |
| LOW | …a/ViewModels/Dialogs/DownloadableModelItemViewModel.cs | 61 | /// Status message for the download | COMMENT |
| LOW | …a/ViewModels/Dialogs/DownloadableModelItemViewModel.cs | 81 | /// <summary> | COMMENT |
| LOW | …bilityMatrix.Avalonia/ViewModels/Base/ViewModelBase.cs | 61 | /// The view loading will not wait for this to complete. | COMMENT |
| LOW | …a/ViewModels/Base/PausableProgressItemViewModelBase.cs | 21 | private ProgressState state = ProgressState.Inactive; | COMMENT |
| LOW | …tyMatrix.Avalonia/ViewModels/Base/PageViewModelBase.cs | 21 | public abstract IconSource IconSource { get; } | COMMENT |
| LOW | …trix.Avalonia/ViewModels/Base/LoadableViewModelBase.cs | 201 | COMMENT | |
| LOW | …tyMatrix.Avalonia/Converters/WidthLessThanConverter.cs | 1 | using System; | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/ImageSource.cs | 21 | private Hash? contentHashBlake3; | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/AppArgs.cs | 41 | /// <summary> | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/AppArgs.cs | 61 | /// </summary> | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/AppArgs.cs | 81 | /// </summary> | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs | 61 | /// Controls how the conditioning area is applied for regional prompting. | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs | 81 | /// Each layer has its own painted mask, prompt, and compositing settings. | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs | 121 | /// <summary> | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs | 141 | /// <summary> | COMMENT |
| LOW | StabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs | 181 | /// Compositing opacity for editor preview (0.0 - 1.0, default 1.0). | COMMENT |
| LOW | …x.Avalonia/Models/TagCompletion/ICompletionProvider.cs | 21 | /// <summary> | COMMENT |
| LOW | …abilityMatrix.Avalonia/Languages/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | …abilityMatrix.Avalonia/Languages/Resources.Designer.cs | 861 | } | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 201 | } | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 301 | { | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 441 | /// <summary> | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 1941 | /// <summary> | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 1961 | ZoomToRegion(new Rect(x, y, width, height), margin); | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2041 | /// Determines whether the specified point is located within the image view port | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2061 | /// </summary> | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2081 | /// <summary> | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2141 | } | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2321 | COMMENT | |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2381 | /// </summary> | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2421 | COMMENT | |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2441 | } | COMMENT |
| LOW | …lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs | 2541 | COMMENT | |
| LOW | …Avalonia/Controls/VendorLabs/Cache/MemoryImageCache.cs | 121 | { | COMMENT |
| LOW | …Matrix.Avalonia/Controls/VendorLabs/Cache/CacheBase.cs | 281 | COMMENT | |
| LOW | …trix.Avalonia/Controls/VendorLabs/Cache/IImageCache.cs | 21 | /// <param name="uri">Uri of the item.</param> | COMMENT |
| LOW | …lonia/Controls/VendorLabs/Cache/InMemoryStorageItem.cs | 1 | // Licensed to the .NET Foundation under one or more agreements. | COMMENT |
| LOW | …lonia/Controls/VendorLabs/Cache/InMemoryStorageItem.cs | 21 | /// Gets the item created timestamp. | COMMENT |
| LOW | StabilityMatrix.Avalonia/Controls/Models/LiveStroke.cs | 1 | using System; | COMMENT |
| LOW | StabilityMatrix.Avalonia/Controls/Models/LiveStroke.cs | 21 | { | COMMENT |
| LOW | StabilityMatrix.Avalonia/Controls/Models/PenPath.cs | 21 | /// </summary> | COMMENT |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ….Avalonia/ViewModels/Inference/SamplerCardViewModel.cs | 450 | Model = e.Builder.Connections.Base.Model.Unwrap(), | CODE |
| CRITICAL | ….Avalonia/ViewModels/Inference/SamplerCardViewModel.cs | 567 | Model = e.Builder.Connections.Base.Model.Unwrap(), | CODE |
| CRITICAL | …x.Avalonia/ViewModels/Inference/Modules/FreeUModule.cs | 33 | foreach (var modelConnections in e.Builder.Connections.Models.Values.Where(m => m.Model is not null)) | CODE |
| CRITICAL | …rix.Avalonia/ViewModels/Inference/Modules/NRSModule.cs | 32 | foreach (var modelConnections in e.Builder.Connections.Models.Values.Where(m => m.Model is not null)) | CODE |
| CRITICAL | .github/ISSUE_TEMPLATE/2-bug-crash.yml | 36 | at StabilityMatrix.Avalonia.ViewModels.Settings.MainSettingsViewModel.DebugThrowException() in MainSettingsVi | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …abilityMatrix.Avalonia/Languages/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …lyzers/StabilityMatrix.Analyzers/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tyMatrix.Core/Api/LykosAuthApi/Generated/Refitter.g.cs | 2 | // This code was generated by Refitter. | COMMENT |
| HIGH | …ilityMatrix.Core/Api/PromptGen/Generated/Refitter.g.cs | 2 | // This code was generated by Refitter. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 43 | except Exception: | CODE |
| LOW | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 67 | except Exception as e: | CODE |
| LOW | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 81 | except Exception as e: | CODE |
| LOW⚡ | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 93 | except Exception as e: | CODE |
| LOW⚡ | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 102 | except Exception as e: | CODE |
| LOW⚡ | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 105 | except Exception: | CODE |
| MEDIUM | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 55 | def _patch_rich_console(): | CODE |
| MEDIUM | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 85 | def _patch_tqdm(): | CODE |
| MEDIUM | StabilityMatrix.Avalonia/Assets/sitecustomize.py | 99 | def _run_safely(func): | CODE |
| LOW | Tools/add_resx_strings.py | 233 | except Exception as e: | CODE |
| LOW | Tools/add_resx_strings.py | 302 | except Exception as e: | CODE |
| LOW | Tools/add_resx_strings.py | 317 | except Exception as e: | CODE |
| LOW | StabilityMatrix.Core/Models/Packages/Wan2GP.cs | 145 | except Exception as e: | CODE |
| LOW | StabilityMatrix.Core/Models/Packages/Wan2GP.cs | 174 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …onia/ViewModels/Dialogs/SelectModelVersionViewModel.cs | 321 | // However, saving on Import() is more robust as it's the explicit confirmation. | COMMENT |
| MEDIUM | StabilityMatrix.Avalonia/Assets/licenses.json | 1 | [{"PackageName":"AsyncImageLoader.Avalonia","PackageVersion":"3.0.0-avalonia11-preview6","PackageUrl":"https://github.co | CODE |
| MEDIUM | …Analyzers.CodeFixes/MissingViewAttributeFixProvider.cs | 237 | // A more robust search would iterate all INamedTypeSymbols in the compilation | COMMENT |
| MEDIUM | StabilityMatrix.UITests/PaintCanvasRenderTests.cs | 12 | /// (the threading redesign) must not silently change the exported image. Assertions are robust to | COMMENT |
| MEDIUM | StabilityMatrix.Core/Python/PyInstallation.cs | 206 | // A more robust check might be needed. PythonExePath and PythonDllPath depend on OS. | COMMENT |
| MEDIUM | StabilityMatrix.Core/Models/ComfyNodeMap.cs | 7463 | "https://github.com/spinagon/ComfyUI-seamless-tiling": [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/tests/test_wan2gp_logging.py | 72 | def test_error_keeps_class_identity_and_signature(self): | CODE |
| LOW | Tools/tests/test_wan2gp_logging.py | 77 | def test_deepy_mounted_app_builds_and_handles_errors(self): | CODE |
| LOW | Tools/tests/test_wan2gp_logging.py | 110 | def test_error_preserves_arguments_and_logs_to_stderr(self): | CODE |
| LOW⚡ | Tools/tests/test_wan2gp_logging.py | 121 | def test_error_accepts_defaults_and_keywords(self): | CODE |
| LOW⚡ | Tools/tests/test_wan2gp_logging.py | 129 | def test_error_can_be_caught_and_subclassed(self): | CODE |
| LOW⚡ | Tools/tests/test_wan2gp_logging.py | 138 | def test_info_and_warning_still_log_to_stdout(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs | 67 | // Step 1: Sanitize text (strip null bytes, fix braces) | COMMENT |
| LOW⚡ | StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs | 71 | // Step 2: Try direct deserialization of sanitized text | COMMENT |
| LOW | StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs | 89 | // Step 3: Property-level recovery using JsonNode | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs | 67 | // Step 1: Sanitize text (strip null bytes, fix braces) | COMMENT |
| LOW⚡ | StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs | 71 | // Step 2: Try direct deserialization of sanitized text | COMMENT |
| LOW | StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs | 89 | // Step 3: Property-level recovery using JsonNode | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | StabilityMatrix.UITests/PaintCanvasConcurrencyTests.cs | 14 | /// Phase 0 stress scaffold for the races that the threading redesign will fix. These tests are | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/add_resx_strings.py | 20 | CODE | |
| LOW | Tools/add_resx_strings.py | 30 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/add_resx_strings.py | 64 | CODE | |
| LOW | Tools/add_resx_strings.py | 243 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Build/build_macos_app.sh | 55 | # Print output location | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tools/add_resx_strings.py | 60 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | StabilityMatrix.Tests/Core/CivArchiveApiClientTests.cs | 32 | [DataRow("mailto:test@example.org", "mailto:test@example.org")] | CODE |