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).
847 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …tallAndCheckCorrelation/InstallAndCheckCorrelation.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | tools/SampleWinGetUWPCaller/AppInstallerCaller/pch.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | tools/SampleWinGetUWPCaller/AppInstallerCaller/App.cpp | 101 | /// <summary> |
| LOW | tools/IndexComparisonTool/pch.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | tools/IndexComparisonTool/pch.h | 21 | #include <string> |
| LOW | tools/IndexComparisonTool/pch.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | samples/ConnectionValidationSample/Program.cs | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | samples/WinGetUWPCaller/WinGetUWPCaller/pch.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | samples/WinGetUWPCaller/WinGetUWPCaller/pch.h | 21 | #include <mutex> |
| LOW | samples/WinGetUWPCaller/WinGetUWPCaller/MainPage.cpp | 841 | else if (uninstallResult) |
| LOW | samples/WinGetUWPCaller/WinGetUWPCaller/App.cpp | 101 | /// <summary> |
| LOW | .github/workflows/spelling3.yml | 1 | # spelling.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p |
| LOW | .github/workflows/spelling3.yml | 21 | # |
| LOW | .github/workflows/spelling3.yml | 41 | # Access to SARIF reports is generally restricted (by GitHub) to members of the repository. |
| LOW | .github/actions/spelling/patterns.txt | 81 | |
| LOW | doc/specs/#888 - Com Api.md | 441 | /// SAMPLE VALUES: For OpenWindowsCatalog "Microsoft.Winget.Source_8wekyb3d8bbwe" |
| LOW | doc/specs/#888 - Com Api.md | 661 | FindPackagesOptions(); |
| LOW | src/binver/binver/version.h | 1 | #define STRINGIZE2(s) #s |
| LOW | src/binver/binver/version.h | 21 | #define VER_COPYRIGHT_STR "Copyright (c) Microsoft Corporation" |
| LOW | src/binver/binver/resource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | …nitTests/ManifestUnitTest/ManifestEqualityUnitTests.cs | 121 | /// Manifest with all properties that provide equality. |
| LOW | …terop.UnitTests/ManifestUnitTest/V1ManifestReadTest.cs | 541 | #pragma warning disable SA1310 // FieldNamesMustNotContainUnderscore |
| LOW | …terop.UnitTests/ManifestUnitTest/V1ManifestReadTest.cs | 561 | |
| LOW | src/AppInstallerTestExeInstaller/main.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/ComInprocTestbed/pch.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/ComInprocTestbed/pch.h | 21 | #include <string_view> |
| LOW | src/ComInprocTestbed/Tests.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/ComInprocTestbed/pch.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/Dependencies.cpp | 1 | #include "pch.h" |
| LOW | src/AppInstallerCLITests/PinFlow.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/pch.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/pch.h | 21 | #include <catch2/reporters/catch_reporter_registrars.hpp> |
| LOW | src/AppInstallerCLITests/pch.h | 41 | #include <fstream> |
| LOW | src/AppInstallerCLITests/WorkFlow.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/WorkflowCommon.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/TestCommon.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/CustomHeader.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/PortableInstaller.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/Command.cpp | 181 | |
| LOW | src/AppInstallerCLITests/WorkflowGroupPolicy.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/PreIndexedPackageSource.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/UserSettings.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/RestClient.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/TestHooks.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/CompositeSource.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/InstallDependenciesFlow.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/ARPChanges.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/RestInterface_1_7.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/HttpClientHelper.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/InstallFlow.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/RestInterface_1_0.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/main.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/WorkflowCommon.h | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/Sources.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/ResumeFlow.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/AppInstallerCLITests/SQLiteIndex.cpp | 1 | // Copyright (c) Microsoft Corporation. |
| LOW | src/WinGetUtilInterop/Manifest/ManifestVersion.cs | 1 | // ----------------------------------------------------------------------------- |
| LOW | src/WinGetUtilInterop/Manifest/ManifestVersion.cs | 21 | /// <summary> |
| LOW | src/WinGetUtilInterop/Manifest/ManifestVersion.cs | 41 | /// <summary> |
| LOW | src/WinGetUtilInterop/Manifest/V1/MinManifestInfo.cs | 41 | public string ManifestType { get; set; } |
| 748 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 10 | // ── State ──────────────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 46 | // ── DOM refs ───────────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 66 | // ── Helpers ────────────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 153 | // ── Filter logic ───────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 213 | // ── Sidebar builder ────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 353 | // ── Virtual scroll renderer ─────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 452 | // ── Scroll handler (virtual scroll repaint) ─────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 474 | // ── Error navigation ───────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 497 | // ── Option toggles ──────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 513 | // ── Search ──────────────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 523 | // ── Level / Channel / Subchannel "All / None" buttons ──────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 567 | // ── Export ──────────────────────────────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/media/viewer.js | 577 | // ── Message handler (from extension host) ───────────────────────── |
| MEDIUM | tools/WinGetLogViewer/src/logViewerProvider.ts | 21 | // ── CustomReadonlyEditorProvider ──────────────────────────────── |
| MEDIUM | tools/WinGetLogViewer/src/logViewerProvider.ts | 97 | // ── Public: open any log file in a new panel ───────────────────── |
| MEDIUM | tools/WinGetLogViewer/src/logViewerProvider.ts | 166 | // ── HTML builder ───────────────────────────────────────────────── |
| MEDIUM | src/AppInstallerCLICore/Commands/DebugCommand.cpp | 399 | // ── LogViewerTestCommand ───────────────────────────────────────────────────── |
| MEDIUM | src/AppInstallerCLICore/Commands/DebugCommand.cpp | 430 | // ── All five levels on CLI ──────────────────────────────────────────── |
| MEDIUM | src/AppInstallerCLICore/Commands/DebugCommand.cpp | 437 | // ── One Info entry on every channel ────────────────────────────────── |
| MEDIUM | src/AppInstallerCLICore/Commands/DebugCommand.cpp | 447 | // ── Subchannel simulation (sub-component logs routed through CLI) ───── |
| MEDIUM | src/AppInstallerCLICore/Commands/DebugCommand.cpp | 471 | // ── Follow mode: stream log lines every 3 seconds ──────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ryCore/Microsoft/Schema/1_0/SearchResultsTable_1_0.cpp | 78 | // Create an insert statement to select values into the table as requested. |
| HIGH | …ryCore/Microsoft/Schema/2_0/SearchResultsTable_2_0.cpp | 80 | // Create an insert statement to select values into the table as requested. |
| HIGH | src/AppInstallerRepositoryCore/Rest/RestClient.cpp | 170 | // Cache the information value as requested |
| HIGH | …et.SharedLib/Resources/GroupPolicyResource.Designer.cs | 3 | // This code was generated by a tool. |
| HIGH | …t.Configuration.Engine/Resources/Resources.Designer.cs | 3 | // This code was generated by a tool. |
| HIGH | ….WinGet.Client.Engine/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …c/AppInstallerCLIE2ETests/PowerShell/PowerShellHost.cs | 65 | var newModulePath = this.PowerShell.Runspace.SessionStateProxy.PSVariable.GetValue("env:PSModulePath") + $"; |
| CRITICAL | …c/AppInstallerCLIE2ETests/PowerShell/PowerShellHost.cs | 66 | this.PowerShell.Runspace.SessionStateProxy.PSVariable.Set("env:PSModulePath", newModulePath); |
| CRITICAL | …nitTests/Tests/ConfigurationProcessorTelemetryTests.cs | 189 | Assert.Equal(testObjects.GetResult.ResultInformation.ResultCode.HResult.ToString(), runEvent.Properties[Tele |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/AppInstallerCLITests/RestClient.cpp | 65 | // Update this test to next version so that we don't forget to add to supported versions before rest e2e tests are a |
| LOW | src/AppInstallerCLITests/TestHooks.h | 29 | // Don't forget to clear the overrides after use! |
| MEDIUM | src/AppInstallerCLICore/Argument.cpp | 336 | // Used for demonstration purposes |
| MEDIUM | src/AppInstallerCLICore/ExecutionArgs.h | 196 | // Used for demonstration purposes |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …oryCore/Microsoft/PredefinedInstalledSourceFactory.cpp | 320 | // TODO: To support servicing, the initial implementation of update will simply leverage |
| MEDIUM | …sitoryCore/Microsoft/ConfigurableTestSourceFactory.cpp | 30 | // TODO: If this becomes more dynamic, refactor the UserSettings code to make it easier to leverage |
| MEDIUM | …nstallerCLICore/ConfigurationDynamicRuntimeFactory.cpp | 44 | // have this implementation leverage that one with an event handler for the packaged specifics. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …stallerRepositoryCore/Public/winget/RepositorySearch.h | 376 | // Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/AppInstallerCLITests/TestRestRequestHandler.h | 6 | class TestRestRequestHandler : public web::http::http_pipeline_stage |