-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syft incorrectly identifies NuGet package "Newtonsoft.Json" as "Json.NET" with incorrect version #3665
Comments
It was mentioned on the livestream this week, but I'll reiterate here so it doesn't get lost: the reason this package is showing up as
then look in the Syft-generated JSON, it shows the properties read from the DLL:
It looks like the |
Thanks for responding! Is there a way to explicitly specify the package name or version when running Syft? That might help ensure the correct name is captured. Also, would it be possible for Syft to scan the NuGet .nuspec file? As far as I know, the .nuspec is the source of truth for the package name, so using it might provide a more accurate result. |
What happened:
When scanning the NuGet package
Newtonsoft.Json
version12.0.3
, Syft incorrectly identifies the package asJson.NET
instead ofNewtonsoft.Json
. Additionally, the version includes build metadata as12.0.3.23909
instead of the correct12.0.3
.What you expected to happen:
Newtonsoft.Json
, notJson.NET
.12.0.3
.Steps to reproduce the issue:
Newtonsoft.Json
NuGet package (version12.0.3
) - https://www.nuget.org/packages/Newtonsoft.Json/12.0.3Anything else we need to know?:
No
Environment:
1.19.0
macOS Sequoia
The text was updated successfully, but these errors were encountered: