pnpm devDependencies are included in SBOM by default
Open
bug
- Dominant language
- Go
- Stars
- 9.6k
- Forks
- 954
- Avg merge
- 23h 27m
- Merged PRs (30d)
- 48
Description
If I understand correctly from https://github.com/anchore/syft/issues/2348 and https://github.com/anchore/syft/pull/3371 , depDeps are excluded when using package-lock.json . However for pnpm lock files,, I am seeing dev deps output in the SBOM by default.
Contributor guide
Research direction
Start by reproducing the reported pnpm lock-file case and compare its SBOM output with the package-lock.json behavior described in the issue. Trace the dependency classification used during pnpm package discovery; done means pnpm devDependencies are excluded from the default SBOM consistently with package-lock.json.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100