Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 9428620

Browse files
[nuget.config] remove public nuget.org feed (#13)
Context: https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610 Context: https://azure.microsoft.com/en-us/resources/3-ways-to-mitigate-risk-using-private-package-feeds/ Context: https://devdiv.visualstudio.com/DevDiv/_wiki/wikis/DevDiv.wiki/12676/ncident-help-for-Substitution-attack-risk-from-multiple-package-feeds There is a Package Substitution Attack inherent in NuGet, whereby if multiple package sources provide packages with the same name, it is indeterminate which package source will provide the package. To fix this repo, we don't actually need `nuget.org` at all.
1 parent 25b0189 commit 9428620

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

samples/nuget.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<add key="release" value="../bin/Release/" />
77
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
88
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
9-
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
109
</packageSources>
1110
<config>
1211
<add key="globalPackagesFolder" value="../packages" />

0 commit comments

Comments
 (0)