Open
Description
Per OSE support thread "MerlinBot doesn't read PackageReferences correctly?", they're wondering if the nuget detectors can be improved to only look at packages being consumed instead of looking at csproj files in isolation.
Interesting points from my conversation with Parker:
- NET has assembly binding redirects that can be applied so that even if the app or a dependency asks for a vulnerable version, and Nuget downloads one, only non-vulnerable versions may be packaged or consumed
- .NET Core can also do this, but with different settings and with and assets.jsons rather than packages.config.
Would it be possible to leverage something like this to improve our nuget detectors?