-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
Area:NuGetAuditCategory:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFound:ManualTestsFunctionality:VSOptionsFunctionality:VisualStudioUIPackage Manager UI et alPackage Manager UI et alPriority:2Issues for the current backlog.Issues for the current backlog.Type:Bug
Description
NuGet Product Used
Visual Studio Package Management UI
Product Version
VS Main/11421.133 + NuGet Client Dev/7.4.0.14
Worked before?
It is a regression since it doesn’t repro on D18.0\11304.174 since ‘audit source’ is a new feature.
Impact
It bothers me. A fix would be nice
Repro Steps & Context
Note:
- Repro rate: 100%.
Repro Steps:
- Create a C# Console App (.NET 10.0) in VS and open the project-level PM UI.
- Click the menu ‘Tools->Options->NuGet Package Manager->Sources’ and add a package source ‘https://api.nuget.org/v3/index.json’ in the ‘Package sources’ section.
- Check the checkbox ‘Use separate sources for vulnerability audit’ and add a local package source with the package name ‘Local’ in the ‘Audit sources’ section.
- Go back to the ‘Browse’ tab of PM UI, select the source added in step 2 from the ‘Package source’ dropdown list and select a vulnerable package from the ‘Version’ dropdown list (for example, Newtonsoft.Json 12.0.1 in this instance).
- Install the package, click the ‘Installed’ tab and observe.
Expected Result:
No vulnerability icon shows on the right side of the ‘Installed’ tab because the configured audit source doesn’t have vulnerability data.
Actual Result:
A vulnerability icon shows on the right side of the ‘Installed’ tab as the screenshot below.
Verbose Logs
Metadata
Metadata
Assignees
Labels
Area:NuGetAuditCategory:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFound:ManualTestsFunctionality:VSOptionsFunctionality:VisualStudioUIPackage Manager UI et alPackage Manager UI et alPriority:2Issues for the current backlog.Issues for the current backlog.Type:Bug