feat: add PR security policy - #586
Open
Darkroom4364 wants to merge 2 commits into
Open
Conversation
0review — no findingsReview completed with 0 findings. View report |
Darkroom4364
force-pushed
the
feat/pr-security-policy
branch
from
July 26, 2026 20:26
e2195a9 to
ddedbb0
Compare
0review — no findingsReview completed with 0 findings. View report |
Darkroom4364
force-pushed
the
feat/pr-security-policy
branch
from
July 26, 2026 20:40
ddedbb0 to
db8c757
Compare
0review — no findingsReview completed with 0 findings. View report |
Darkroom4364
force-pushed
the
feat/pr-security-policy
branch
from
July 26, 2026 20:48
db8c757 to
c77bb36
Compare
0review — no findingsReview completed with 0 findings. View report |
0review — reviewing…⏳ In progress — phase This comment updates as the review runs; the final summary replaces it. View run |
Darkroom4364
force-pushed
the
feat/pr-security-policy
branch
from
July 27, 2026 10:49
4a016d4 to
04578d2
Compare
0review — no findingsReview completed with 0 findings. View report |
| )?; | ||
| let full_repository_scan = requested_pr_security_policy.is_some() | ||
| && !change_limited | ||
| && scan_targets_pr_policy_root(Path::new(&scan.path), scan.config.as_deref()); |
There was a problem hiding this comment.
foxguard · MEDIUM · rs/no-path-traversal (CWE-22)
Path::new called with dynamic path — validate input to prevent path traversal
✗ togi mutation report25.0% mutation score — 5/20 killed, 0 survived, 15 timeout, 0 build errors — 722.24s |
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.
Fixes #580\n\n- Resolve one versioned policy across CLI, adapter, and GitHub App paths.\n- Emit policy metadata with machine-readable and check-run results.\n- Cover reporting, blocking, and scope decisions with focused tests.