| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The VS Code build process sets the bundled lib/vscode/package.json name to "code-server" (from product.json nameShort), causing vulnerability scanners to misidentify it and flag non-applicable CVEs. Override the name to "code-oss-dev" in build-release.sh after merging package.json. Fixes coder#7071 Signed-off-by: ka-ishimoto <ka-ishimoto@kddi.com>
There was a problem hiding this comment.
Fantastic thank you!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #7071
The VS Code build process (gulpfile.reh.ts) writes product.json's
nameShort ("code-server") into the bundled lib/vscode/package.json
name field. Vulnerability scanners (e.g. Anchore Grype) then match
this against CVE databases using the combination of name: "code-server"
and version: "1.x.x" (the VS Code version), producing false positives
like GHSA-frjg-g767-7363.
This overrides the name to "code-oss-dev" in build-release.sh
after merging the package.json, so scanners can no longer match it
against known CVE entries for code-server.