AI Slop Code Risk Monitor

LykosAI/StabilityMatrix

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

Multi-Platform Package Manager for Stable Diffusion

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-21
Last Push
9.0K
Stars
C#
Language
218.9K
Lines of Code
1.5K
Files
246
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 6.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.2/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 7.3/100 · LOW

Which changes need focused human review? 246 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 5HIGH 4MEDIUM 10LOW 227

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 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.

Over-Commented Block197 hits · 197 pts
SeverityFileLineSnippetContext
LOWStabilityMatrix.Avalonia/ViewModels/ConsoleViewModel.cs41 [ObservableProperty]COMMENT
LOW…atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs301 [ObservableProperty]COMMENT
LOW…atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs321 /// </summary>COMMENT
LOW…atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs341 /// Whether the Qwen settings panel is expandedCOMMENT
LOW…atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs361 [ObservableProperty]COMMENT
LOW…atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs381 [ObservableProperty]COMMENT
LOW…atrix.Avalonia/ViewModels/BananaVisionPageViewModel.cs401 /// </summary>COMMENT
LOW…alonia/ViewModels/Settings/AccountSettingsViewModel.cs101 /// <summary>COMMENT
LOW…Models/CheckpointBrowser/CivArchiveBrowserViewModel.cs41 private CancellationTokenSource? imageBackfillCts;COMMENT
LOW…x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs21#pragma warning disable CS0657 // Not a valid attribute location for this declarationCOMMENT
LOW…x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs41 // * Dispose quiesces first: it sets _disposed (checked at render entry) and waits forCOMMENT
LOW…x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs61 /// Bitmaps swapped out of layers on the UI thread while the render thread may still beCOMMENT
LOW…x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs181#if DEBUGCOMMENT
LOW…x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs201 /// <summary>COMMENT
LOW…x.Avalonia/ViewModels/Controls/PaintCanvasViewModel.cs261 /// <summary>COMMENT
LOW…x.Avalonia/ViewModels/Inference/PromptCardViewModel.cs281 return;COMMENT
LOW…ix.Avalonia/ViewModels/Inference/ModelCardViewModel.cs1341 /// Flag to prevent auto-adjustment during state loading.COMMENT
LOW…lonia/ViewModels/Dialogs/LayeredMaskEditorViewModel.cs61 /// </summary>COMMENT
LOW…a/ViewModels/Dialogs/ImageAnnotationEditorViewModel.cs41 /// <summary>COMMENT
LOW…a/ViewModels/Dialogs/DownloadableModelItemViewModel.cs61 /// Status message for the downloadCOMMENT
LOW…a/ViewModels/Dialogs/DownloadableModelItemViewModel.cs81 /// <summary>COMMENT
LOW…bilityMatrix.Avalonia/ViewModels/Base/ViewModelBase.cs61 /// The view loading will not wait for this to complete.COMMENT
LOW…a/ViewModels/Base/PausableProgressItemViewModelBase.cs21 private ProgressState state = ProgressState.Inactive;COMMENT
LOW…tyMatrix.Avalonia/ViewModels/Base/PageViewModelBase.cs21 public abstract IconSource IconSource { get; }COMMENT
LOW…trix.Avalonia/ViewModels/Base/LoadableViewModelBase.cs201COMMENT
LOW…tyMatrix.Avalonia/Converters/WidthLessThanConverter.cs1using System;COMMENT
LOWStabilityMatrix.Avalonia/Models/ImageSource.cs21 private Hash? contentHashBlake3;COMMENT
LOWStabilityMatrix.Avalonia/Models/AppArgs.cs41 /// <summary>COMMENT
LOWStabilityMatrix.Avalonia/Models/AppArgs.cs61 /// </summary>COMMENT
LOWStabilityMatrix.Avalonia/Models/AppArgs.cs81 /// </summary>COMMENT
LOWStabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs61/// Controls how the conditioning area is applied for regional prompting.COMMENT
LOWStabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs81/// Each layer has its own painted mask, prompt, and compositing settings.COMMENT
LOWStabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs121 /// <summary>COMMENT
LOWStabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs141 /// <summary>COMMENT
LOWStabilityMatrix.Avalonia/Models/Inference/MaskLayer.cs181 /// Compositing opacity for editor preview (0.0 - 1.0, default 1.0).COMMENT
LOW…x.Avalonia/Models/TagCompletion/ICompletionProvider.cs21 /// <summary>COMMENT
LOW…abilityMatrix.Avalonia/Languages/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW…abilityMatrix.Avalonia/Languages/Resources.Designer.cs861 }COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs201 }COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs301 {COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs441 /// <summary>COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs1941 /// <summary>COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs1961 ZoomToRegion(new Rect(x, y, width, height), margin);COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2041 /// Determines whether the specified point is located within the image view portCOMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2061 /// </summary>COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2081 /// <summary>COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2141 }COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2321COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2381 /// </summary>COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2421COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2441 }COMMENT
LOW…lityMatrix.Avalonia/Controls/AdvancedImageBox.axaml.cs2541COMMENT
LOW…Avalonia/Controls/VendorLabs/Cache/MemoryImageCache.cs121 {COMMENT
LOW…Matrix.Avalonia/Controls/VendorLabs/Cache/CacheBase.cs281COMMENT
LOW…trix.Avalonia/Controls/VendorLabs/Cache/IImageCache.cs21 /// <param name="uri">Uri of the item.</param>COMMENT
LOW…lonia/Controls/VendorLabs/Cache/InMemoryStorageItem.cs1// Licensed to the .NET Foundation under one or more agreements.COMMENT
LOW…lonia/Controls/VendorLabs/Cache/InMemoryStorageItem.cs21 /// Gets the item created timestamp.COMMENT
LOWStabilityMatrix.Avalonia/Controls/Models/LiveStroke.cs1using System;COMMENT
LOWStabilityMatrix.Avalonia/Controls/Models/LiveStroke.cs21{COMMENT
LOWStabilityMatrix.Avalonia/Controls/Models/PenPath.cs21 /// </summary>COMMENT
137 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICAL….Avalonia/ViewModels/Inference/SamplerCardViewModel.cs450 Model = e.Builder.Connections.Base.Model.Unwrap(),CODE
CRITICAL….Avalonia/ViewModels/Inference/SamplerCardViewModel.cs567 Model = e.Builder.Connections.Base.Model.Unwrap(),CODE
CRITICAL…x.Avalonia/ViewModels/Inference/Modules/FreeUModule.cs33 foreach (var modelConnections in e.Builder.Connections.Models.Values.Where(m => m.Model is not null))CODE
CRITICAL…rix.Avalonia/ViewModels/Inference/Modules/NRSModule.cs32 foreach (var modelConnections in e.Builder.Connections.Models.Values.Where(m => m.Model is not null))CODE
CRITICAL.github/ISSUE_TEMPLATE/2-bug-crash.yml36 at StabilityMatrix.Avalonia.ViewModels.Settings.MainSettingsViewModel.DebugThrowException() in MainSettingsViCODE
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGH…abilityMatrix.Avalonia/Languages/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…lyzers/StabilityMatrix.Analyzers/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…tyMatrix.Core/Api/LykosAuthApi/Generated/Refitter.g.cs2// This code was generated by Refitter.COMMENT
HIGH…ilityMatrix.Core/Api/PromptGen/Generated/Refitter.g.cs2// This code was generated by Refitter.COMMENT
Excessive Try-Catch Wrapping14 hits · 18 pts
SeverityFileLineSnippetContext
LOWStabilityMatrix.Avalonia/Assets/sitecustomize.py43 except Exception:CODE
LOWStabilityMatrix.Avalonia/Assets/sitecustomize.py67 except Exception as e:CODE
LOWStabilityMatrix.Avalonia/Assets/sitecustomize.py81 except Exception as e:CODE
LOW⚡StabilityMatrix.Avalonia/Assets/sitecustomize.py93 except Exception as e:CODE
LOW⚡StabilityMatrix.Avalonia/Assets/sitecustomize.py102 except Exception as e:CODE
LOW⚡StabilityMatrix.Avalonia/Assets/sitecustomize.py105 except Exception:CODE
MEDIUMStabilityMatrix.Avalonia/Assets/sitecustomize.py55def _patch_rich_console():CODE
MEDIUMStabilityMatrix.Avalonia/Assets/sitecustomize.py85def _patch_tqdm():CODE
MEDIUMStabilityMatrix.Avalonia/Assets/sitecustomize.py99def _run_safely(func):CODE
LOWTools/add_resx_strings.py233 except Exception as e:CODE
LOWTools/add_resx_strings.py302 except Exception as e:CODE
LOWTools/add_resx_strings.py317 except Exception as e:CODE
LOWStabilityMatrix.Core/Models/Packages/Wan2GP.cs145 except Exception as e:CODE
LOWStabilityMatrix.Core/Models/Packages/Wan2GP.cs174 except Exception as e:CODE
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM…onia/ViewModels/Dialogs/SelectModelVersionViewModel.cs321 // However, saving on Import() is more robust as it's the explicit confirmation.COMMENT
MEDIUMStabilityMatrix.Avalonia/Assets/licenses.json1[{"PackageName":"AsyncImageLoader.Avalonia","PackageVersion":"3.0.0-avalonia11-preview6","PackageUrl":"https://github.coCODE
MEDIUM…Analyzers.CodeFixes/MissingViewAttributeFixProvider.cs237 // A more robust search would iterate all INamedTypeSymbols in the compilationCOMMENT
MEDIUMStabilityMatrix.UITests/PaintCanvasRenderTests.cs12/// (the threading redesign) must not silently change the exported image. Assertions are robust toCOMMENT
MEDIUMStabilityMatrix.Core/Python/PyInstallation.cs206 // A more robust check might be needed. PythonExePath and PythonDllPath depend on OS.COMMENT
MEDIUMStabilityMatrix.Core/Models/ComfyNodeMap.cs7463 "https://github.com/spinagon/ComfyUI-seamless-tiling": [CODE
Hyper-Verbose Identifiers6 hits · 8 pts
SeverityFileLineSnippetContext
LOWTools/tests/test_wan2gp_logging.py72 def test_error_keeps_class_identity_and_signature(self):CODE
LOWTools/tests/test_wan2gp_logging.py77 def test_deepy_mounted_app_builds_and_handles_errors(self):CODE
LOWTools/tests/test_wan2gp_logging.py110 def test_error_preserves_arguments_and_logs_to_stderr(self):CODE
LOW⚡Tools/tests/test_wan2gp_logging.py121 def test_error_accepts_defaults_and_keywords(self):CODE
LOW⚡Tools/tests/test_wan2gp_logging.py129 def test_error_can_be_caught_and_subclassed(self):CODE
LOW⚡Tools/tests/test_wan2gp_logging.py138 def test_info_and_warning_still_log_to_stdout(self):CODE
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs67 // Step 1: Sanitize text (strip null bytes, fix braces)COMMENT
LOW⚡StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs71 // Step 2: Try direct deserialization of sanitized textCOMMENT
LOWStabilityMatrix.Core/Services/SettingsJsonSanitizer.cs89 // Step 3: Property-level recovery using JsonNodeCOMMENT
Structural Annotation Overuse3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs67 // Step 1: Sanitize text (strip null bytes, fix braces)COMMENT
LOW⚡StabilityMatrix.Core/Services/SettingsJsonSanitizer.cs71 // Step 2: Try direct deserialization of sanitized textCOMMENT
LOWStabilityMatrix.Core/Services/SettingsJsonSanitizer.cs89 // Step 3: Property-level recovery using JsonNodeCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMStabilityMatrix.UITests/PaintCanvasConcurrencyTests.cs14/// Phase 0 stress scaffold for the races that the threading redesign will fix. These tests areCOMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWTools/add_resx_strings.py20CODE
LOWTools/add_resx_strings.py30CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWTools/add_resx_strings.py64CODE
LOWTools/add_resx_strings.py243CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWBuild/build_macos_app.sh55# Print output locationCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWTools/add_resx_strings.py60CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWStabilityMatrix.Tests/Core/CivArchiveApiClientTests.cs32 [DataRow("mailto:test@example.org", "mailto:test@example.org")]CODE