microsoft / winget-cli

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).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.21k stars 1.45k forks source link

Integrate the WinGet client with SmartScreen #4902

Open denelon opened 1 week ago

denelon commented 1 week ago

Description of the new feature / enhancement

I'd like WinGet to be able to warn users when they encounter potentially dangerous URLs.

Proposed technical implementation details

Integrate the WinGet client with SmartScreen.

stephengillie commented 1 week ago

Handling this within the package manager would allow for a better user experience. instead of getting the package downloaded, then having to click on a prompt, the package manager could add this prompt earlier in the process. Possibly even having a switch, config file entry, or other means to automate clearing the prompt. Right now, having to click this prompt might be a blocker for large instuttions trying to use software that isn't approved by SmartScreen, and this feature might remove that blocker.