chore(security): add free code scanning and dependency tooling#69
Open
nicolasiscoding wants to merge 1 commit into
Open
chore(security): add free code scanning and dependency tooling#69nicolasiscoding wants to merge 1 commit into
nicolasiscoding wants to merge 1 commit into
Conversation
Add a baseline of free, public-repo security tooling: - Dependabot (npm, Cargo, GitHub Actions) with grouped weekly updates - CodeQL SAST for JavaScript/TypeScript and Rust (build-mode: none) - Dependency Review gate on pull requests - OSV-Scanner lockfile vulnerability scanning (npm + Cargo) - OpenSSF Scorecard supply-chain posture analysis - TruffleHog secret scanning CodeQL, OSV-Scanner, and Scorecard report into the Security > Code scanning tab via SARIF.
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.
Closes #68
Summary
Adds a baseline of free, public-repo security and supply-chain tooling. Every tool that emits SARIF reports into the Security › Code scanning tab.
.github/dependabot.yml.github/workflows/codeql.ymlbuild-mode: none,security-extended).github/workflows/dependency-review.yml.github/workflows/osv-scanner.yml.github/workflows/scorecard.yml.github/workflows/secret-scan.ymlNotes / decisions
build-mode: none, so no FFmpeg/webkit build is needed.publish_results: trueto enable the public score/badge on this repo's default branch.Validation
Validated on my fork (
nicolasiscoding/Clypra#1): CodeQL (JS/TS + Rust), OSV-Scanner, and TruffleHog all pass.Two heads-ups, both pre-existing and unrelated to this PR (this branch only adds files under
.github/):masterfor two reasons: the frontend tests can't resolve the external@clypra/enginepackage, andcargo clippy -- -D warningstrips aneedless_borrowlint atsrc-tauri/src/commands/export.rs:352. Happy to open a separate PR for the clippy one-liner if useful.This PR introduces no application dependencies, only workflow config.