Repository navigation
fix: resolve four code-scanning alerts - #148
Merged
Merged
Conversation
- CodeQL js/bad-tag-filter and js/incomplete-multi-character-sanitization
(high) on bench's server smoke test: the regex that strips React's
comment markers missed comments that span lines, and one pass could
leave a `<!--` that removing a comment created. Use [\s\S] and repeat
until nothing changes. It only processes our own server's HTML in a
test, so nothing was exposed.
- Scorecard Token-Permissions: claude.yml had no top-level permissions.
Add `permissions: {}`; the job keeps the permissions it declares.
- Scorecard Security-Policy: add SECURITY.md. It sends reports to
security@vortex.dev and points to the Vortex project's policy.
- Scorecard Vulnerabilities: GHSA-gc25-3vc5-2jf9 and GHSA-fm4j-4xhm-xpwx
cover the npm package `sandbox` before 1.0.0, an unrelated 2011
package whose name Vercel now publishes under. Their OSV records have
no upper bound, so osv-scanner flags Vercel's sandbox 4.11.1 in the
CLI's lockfile. .github/vercel-cli/osv-scanner.toml ignores both, with
that reason; GitHub's advisory database scopes them to < 1.0.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Will Manning <will@willmanning.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🔦 Lighthouse audit
Run |
|
Bench preview for |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes four code-scanning alerts.
<!--behind. It now repeats until nothing changes. The test only reads our own HTML, so nothing was exposed.claude.ymlnow has top-levelpermissions: {}.SECURITY.md, which points to the Vortex project's policy.sandbox. Vercel now publishes under that name, and the OSV records have no upper version bound..github/vercel-cli/osv-scanner.tomlignores both and gives the reason.🤖 Generated with Claude Code