osv-scanner version v2.0.2 (but applies to v1 as well)
Scanning this lockfile reports https://osv.dev/vulnerability/MAL-2024-7846
"dagster-docs@workspace:.":
version: 0.0.0-use.local
resolution: "dagster-docs@workspace:."
osv-scanner -L docs/yarn.lock
Scanned /tmp/dagster/docs/yarn.lock file and found 1812 packages
╭─────────────────────────────────────┬──────┬───────────┬──────────────┬─────────────────┬────────────────╮
│ OSV URL │ CVSS │ ECOSYSTEM │ PACKAGE │ VERSION │ SOURCE │
├─────────────────────────────────────┼──────┼───────────┼──────────────┼─────────────────┼────────────────┤
│ https://osv.dev/MAL-2024-7846 │ │ npm │ dagster-docs │ 0.0.0-use.local │ docs/yarn.lock │
│ https://osv.dev/GHSA-m5qc-5hw7-8vg7 │ 7.5 │ npm │ image-size │ 1.2.0 │ docs/yarn.lock │
│ https://osv.dev/GHSA-859w-5945-r5v3 │ 6.0 │ npm │ vite │ 6.3.3 │ docs/yarn.lock │
╰─────────────────────────────────────┴──────┴───────────┴──────────────┴─────────────────┴────────────────╯
Yet this is a local dependency, not the one from NPM. How should osv-scanner handle this scenario?
This was initially reported in Scorecard, but appears to be an issue here or osv-scalibr (feel free to move the issue if more applicable there).
ossf/scorecard#4604 (comment)
osv-scanner version v2.0.2 (but applies to v1 as well)
Scanning this lockfile reports https://osv.dev/vulnerability/MAL-2024-7846
Yet this is a local dependency, not the one from NPM. How should osv-scanner handle this scenario?
This was initially reported in Scorecard, but appears to be an issue here or osv-scalibr (feel free to move the issue if more applicable there).
ossf/scorecard#4604 (comment)