You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some images, if there are vscode extensions presents, these extensions leave a package.json that is shaped somewhat like NPM's package.json on the file system. Syft finds these package.jsons and reports them as NPM packages. However, they are not NPM packages; they are VS Code extensions.
What you expected to happen:
Syft should emit VS Code extension packages, or at least not emit NPM packages, for things that are clearly VS Code extensions.
Steps to reproduce the issue:
Note: this image is 1.3 GB and these repro steps are slowwww.
This was reported because it causes false positives in Grype because the handlebars VS Code extension has a lower version than the NPM handlebars package.
What happened:
For some images, if there are vscode extensions presents, these extensions leave a
package.json
that is shaped somewhat like NPM'spackage.json
on the file system. Syft finds thesepackage.json
s and reports them as NPM packages. However, they are not NPM packages; they are VS Code extensions.What you expected to happen:
Syft should emit VS Code extension packages, or at least not emit NPM packages, for things that are clearly VS Code extensions.
Steps to reproduce the issue:
Note: this image is 1.3 GB and these repro steps are slowwww.
So Syft is claiming that https://www.npmjs.com/package/handlebars is present at version 1.0.0 (which has a critical vuln), but really VS Code's builtin Handlebars Extension is present.
Anything else we need to know?:
Environment:
syft version
:cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: