[codex] Clarify CSReview scope and add GitHub security validation#1
Merged
Conversation
Contributor
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
09463a0 to
2339a66
Compare
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.
Summary
src/score.jsand keeps report/CLI score behavior aligned.0.0.1with Node>=18and Semgrep documented as a required external tool for agent-assisted analysis.GitHub Security & Quality
This PR adds repository files that feed the GitHub Security and quality area after workflows run or after the PR is merged:
CI:.github/workflows/ci.ymlruns tests on Node 20 and 24, npm audit, and package dry-run validation.Code scanning:.github/workflows/semgrep.ymlruns Semgrep and uploads SARIF.Code scanning: CodeQL should remain on GitHub default setup in repository settings. The advanced CodeQL workflow was removed because this repository already has CodeQL default setup active; GitHub rejects CodeQL API/workflow uploads while default setup is enabled.Dependabot:.github/dependabot.ymlenables weekly npm and GitHub Actions update checks.Security policy:SECURITY.mddefines a local-workspace, white-hat reporting policy.Native GitHub Secret scanning is controlled in repository settings and cannot be enabled only by adding a file in this PR.
Validation
npm test- 27/27 passingnpx -y node@20 --test test/analysis.test.js- 27/27 passingnpm audit --audit-level=low- 0 vulnerabilitiesnpm pack --dry-run- OK, package version0.0.1node --checkon primary source and test files - OKsemgrep scan --config auto --quiet --error --exclude node_modules --exclude csreview-reports .- OKrg -n -F "automated pentest level" csreview README.md- zero matchesNotes
ghis not authenticated in the local environment, so this PR was opened and updated through the GitHub connector after pushing the branch with git.