AI Slop Code Risk Monitor

microsoft/winget-cli

SlopCodeMonitor badge for microsoft/winget-cli Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).

3.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for microsoft/winget-cli, a C++ project with 26,553 GitHub stars. SynthScan examined 354,039 lines of code across 2189 source files, recording 948 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 3.0 (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.

3.0
Adjusted Signal
3.0
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
26.6K
Stars
C++
Language
354.0K
Lines of Code
2.2K
Files
948
Pattern Hits
2026-10-31
Scan Date
0.00
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 12.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 1.0/100 · LOW

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

PR Review Velocity Impact 13.9/100 · LOW

Which changes need focused human review? 948 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 3HIGH 6MEDIUM 27LOW 912

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 948 distinct pattern matches across 9 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 Block903 hits · 903 pts
SeverityFileLineSnippetContext
LOW…tallAndCheckCorrelation/InstallAndCheckCorrelation.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWtools/SampleWinGetUWPCaller/AppInstallerCaller/pch.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWtools/SampleWinGetUWPCaller/AppInstallerCaller/App.cpp101/// <summary>COMMENT
LOWtools/IndexComparisonTool/pch.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWtools/IndexComparisonTool/pch.h21#include <string>COMMENT
LOWtools/IndexComparisonTool/pch.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsamples/ConnectionValidationSample/Program.cs1// Copyright (c) Microsoft Corporation.COMMENT
LOWsamples/WinGetUWPCaller/WinGetUWPCaller/pch.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWsamples/WinGetUWPCaller/WinGetUWPCaller/pch.h21#include <mutex>COMMENT
LOWsamples/WinGetUWPCaller/WinGetUWPCaller/MainPage.cpp841 else if (uninstallResult)COMMENT
LOWsamples/WinGetUWPCaller/WinGetUWPCaller/App.cpp101/// <summary>COMMENT
LOW.github/workflows/duplicate-surfacing.lock.yml1# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"369c0dc7840b1b7153bc9e30f8e49b4853e89dee604895a38891567c547COMMENT
LOW.github/workflows/duplicate-surfacing.lock.yml21# gh aw compileCOMMENT
LOW.github/workflows/duplicate-surfacing.lock.yml41# - actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0COMMENT
LOW.github/workflows/spelling3.yml1# spelling.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2pCOMMENT
LOW.github/workflows/spelling3.yml21#COMMENT
LOW.github/workflows/spelling3.yml41# Access to SARIF reports is generally restricted (by GitHub) to members of the repository.COMMENT
LOW.github/workflows/issue-closure-recommendation.lock.yml1# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"e6ba9bc689f737c53dda78254f68ee89b8b2cff3569a7337302a55c06a0COMMENT
LOW.github/workflows/issue-closure-recommendation.lock.yml21# gh aw compileCOMMENT
LOW.github/workflows/issue-closure-recommendation.lock.yml41# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 (source v9)COMMENT
LOW.github/workflows/issue-closure-recommendation.lock.yml761 id: pre_agent_auditCOMMENT
LOW.github/actions/spelling/patterns.txt81COMMENT
LOWdoc/specs/#888 - Com Api.md441 /// SAMPLE VALUES: For OpenWindowsCatalog "Microsoft.Winget.Source_8wekyb3d8bbwe"COMMENT
LOWdoc/specs/#888 - Com Api.md661 FindPackagesOptions();COMMENT
LOWsrc/binver/binver/version.h1#define STRINGIZE2(s) #sCOMMENT
LOWsrc/binver/binver/version.h21#define VER_COPYRIGHT_STR "Copyright (c) Microsoft Corporation"COMMENT
LOWsrc/binver/binver/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOW…nitTests/ManifestUnitTest/ManifestEqualityUnitTests.cs121 /// Manifest with all properties that provide equality.COMMENT
LOW…terop.UnitTests/ManifestUnitTest/V1ManifestReadTest.cs541#pragma warning disable SA1310 // FieldNamesMustNotContainUnderscoreCOMMENT
LOW…terop.UnitTests/ManifestUnitTest/V1ManifestReadTest.cs561COMMENT
LOWsrc/AppInstallerTestExeInstaller/main.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/ComInprocTestbed/pch.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/ComInprocTestbed/pch.h21#include <string_view>COMMENT
LOWsrc/ComInprocTestbed/Tests.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/ComInprocTestbed/pch.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/Dependencies.cpp1#include "pch.h"COMMENT
LOWsrc/AppInstallerCLITests/PinFlow.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/pch.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/pch.h21#include <catch2/reporters/catch_reporter_registrars.hpp>COMMENT
LOWsrc/AppInstallerCLITests/pch.h41#include <fstream>COMMENT
LOWsrc/AppInstallerCLITests/WorkFlow.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/WorkflowCommon.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/TestCommon.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/CustomHeader.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/PortableInstaller.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/WorkflowGroupPolicy.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/SQLiteIndexDelta.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/PreIndexedPackageSource.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/PreIndexedPackageSource.cpp1081}COMMENT
LOWsrc/AppInstallerCLITests/PreIndexedPackageSource.cpp1241 auto baselineWriteTime = test.StampBaselineWriteTime();COMMENT
LOWsrc/AppInstallerCLITests/ExperimentalFeature.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/UserSettings.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/YamlManifest.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/RestClient.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/TestHooks.h1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/CompositeSource.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/PromptFlow.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/InstallDependenciesFlow.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/ARPChanges.cpp1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/AppInstallerCLITests/RestInterface_1_7.cpp1// Copyright (c) Microsoft Corporation.COMMENT
843 more matches not shown…
Decorative Section Separators22 hits · 70 pts
SeverityFileLineSnippetContext
MEDIUMtools/WinGetLogViewer/media/viewer.js10 // ── State ────────────────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js46 // ── DOM refs ─────────────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js66 // ── Helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js153 // ── Filter logic ─────────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js213 // ── Sidebar builder ──────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js353 // ── Virtual scroll renderer ───────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js452 // ── Scroll handler (virtual scroll repaint) ───────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js474 // ── Error navigation ─────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js497 // ── Option toggles ────────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js513 // ── Search ────────────────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js523 // ── Level / Channel / Subchannel "All / None" buttons ────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js567 // ── Export ────────────────────────────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/media/viewer.js577 // ── Message handler (from extension host) ─────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/src/logViewerProvider.ts21 // ── CustomReadonlyEditorProvider ────────────────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/src/logViewerProvider.ts97 // ── Public: open any log file in a new panel ─────────────────────COMMENT
MEDIUMtools/WinGetLogViewer/src/logViewerProvider.ts166 // ── HTML builder ─────────────────────────────────────────────────COMMENT
MEDIUMsrc/AppInstallerCLICore/Commands/DebugCommand.cpp403// ── LogViewerTestCommand ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/AppInstallerCLICore/Commands/DebugCommand.cpp434 // ── All five levels on CLI ────────────────────────────────────────────COMMENT
MEDIUM⚡src/AppInstallerCLICore/Commands/DebugCommand.cpp441 // ── One Info entry on every channel ──────────────────────────────────COMMENT
MEDIUM⚡src/AppInstallerCLICore/Commands/DebugCommand.cpp451 // ── Subchannel simulation (sub-component logs routed through CLI) ─────COMMENT
MEDIUMsrc/AppInstallerCLICore/Commands/DebugCommand.cpp475 // ── Follow mode: stream log lines every 3 seconds ────────────────────COMMENT
MEDIUMsrc/AppInstallerCLICore/Commands/DebugCommand.cpp716// ── ValidateStorePinningCommand ──────────────────────────────────────────────COMMENT
Synthetic Comment Markers6 hits · 45 pts
SeverityFileLineSnippetContext
HIGH…ryCore/Microsoft/Schema/1_0/SearchResultsTable_1_0.cpp78 // Create an insert statement to select values into the table as requested.COMMENT
HIGH…ryCore/Microsoft/Schema/2_0/SearchResultsTable_2_0.cpp80 // Create an insert statement to select values into the table as requested.COMMENT
HIGHsrc/AppInstallerRepositoryCore/Rest/RestClient.cpp170 // Cache the information value as requestedCOMMENT
HIGH…et.SharedLib/Resources/GroupPolicyResource.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…t.Configuration.Engine/Resources/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH….WinGet.Client.Engine/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL…c/AppInstallerCLIE2ETests/PowerShell/PowerShellHost.cs65 var newModulePath = this.PowerShell.Runspace.SessionStateProxy.PSVariable.GetValue("env:PSModulePath") + $";CODE
CRITICAL…c/AppInstallerCLIE2ETests/PowerShell/PowerShellHost.cs66 this.PowerShell.Runspace.SessionStateProxy.PSVariable.Set("env:PSModulePath", newModulePath);CODE
CRITICAL…nitTests/Tests/ConfigurationProcessorTelemetryTests.cs190 Assert.Equal(testObjects.GetResult.ResultInformation.ResultCode.HResult.ToString(), runEvent.Properties[TeleCODE
Slop Phrases4 hits · 9 pts
SeverityFileLineSnippetContext
LOWsrc/AppInstallerCLITests/RestClient.cpp65 // Update this test to next version so that we don't forget to add to supported versions before rest e2e tests are aCOMMENT
LOWsrc/AppInstallerCLITests/TestHooks.h30 // Don't forget to clear the overrides after use!COMMENT
MEDIUMsrc/AppInstallerCLICore/Argument.cpp338 // Used for demonstration purposesCOMMENT
MEDIUMsrc/AppInstallerCLICore/ExecutionArgs.h197 // Used for demonstration purposesCOMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…oryCore/Microsoft/PredefinedInstalledSourceFactory.cpp320 // TODO: To support servicing, the initial implementation of update will simply leverageCOMMENT
MEDIUM…sitoryCore/Microsoft/ConfigurableTestSourceFactory.cpp30 // TODO: If this becomes more dynamic, refactor the UserSettings code to make it easier to leverage COMMENT
MEDIUM…nstallerCLICore/ConfigurationDynamicRuntimeFactory.cpp44 // have this implementation leverage that one with an event handler for the packaged specifics.COMMENT
Structural Annotation Overuse5 hits · 8 pts
SeverityFileLineSnippetContext
LOWdoc/windows/package-manager/package/repository.md31### Step 1: Validate your manifestCOMMENT
LOWdoc/windows/package-manager/package/repository.md41### Step 2: Clone the repositoryCOMMENT
LOWdoc/windows/package-manager/package/repository.md58### Step 3: Add your manifest to the local repositoryCOMMENT
LOWdoc/windows/package-manager/package/repository.md72### Step 4: Submit your manifest to the remote repositoryCOMMENT
LOWdoc/windows/package-manager/package/repository.md86### Step 5: Create a pull requestCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…stallerRepositoryCore/Public/winget/RepositorySearch.h387 // Example usage:COMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/AppInstallerCLITests/TestRestRequestHandler.h6class TestRestRequestHandler : public web::http::http_pipeline_stageCODE