Skip to content

feat: add PR security policy - #586

Open
Darkroom4364 wants to merge 2 commits into
mainfrom
feat/pr-security-policy
Open

feat: add PR security policy#586
Darkroom4364 wants to merge 2 commits into
mainfrom
feat/pr-security-policy

Conversation

@Darkroom4364

Copy link
Copy Markdown
Collaborator

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.

@0cloud-app

0cloud-app Bot commented Jul 26, 2026

Copy link
Copy Markdown

0review — no findings

Review completed with 0 findings. View report

@Darkroom4364
Darkroom4364 force-pushed the feat/pr-security-policy branch from e2195a9 to ddedbb0 Compare July 26, 2026 20:26
@0cloud-app

0cloud-app Bot commented Jul 26, 2026

Copy link
Copy Markdown

0review — no findings

Review completed with 0 findings. View report

@Darkroom4364
Darkroom4364 force-pushed the feat/pr-security-policy branch from ddedbb0 to db8c757 Compare July 26, 2026 20:40
@0cloud-app

0cloud-app Bot commented Jul 26, 2026

Copy link
Copy Markdown

0review — no findings

Review completed with 0 findings. View report

@Darkroom4364
Darkroom4364 force-pushed the feat/pr-security-policy branch from db8c757 to c77bb36 Compare July 26, 2026 20:48
@0cloud-app

0cloud-app Bot commented Jul 26, 2026

Copy link
Copy Markdown

0review — no findings

Review completed with 0 findings. View report

@0cloud-app

0cloud-app Bot commented Jul 27, 2026

Copy link
Copy Markdown

0review — reviewing…

In progress — phase prepare · findings so far: 0 · turns: 0

This comment updates as the review runs; the final summary replaces it. View run

@Darkroom4364
Darkroom4364 force-pushed the feat/pr-security-policy branch from 4a016d4 to 04578d2 Compare July 27, 2026 10:49
@0cloud-app

0cloud-app Bot commented Jul 27, 2026

Copy link
Copy Markdown

0review — no findings

Review completed with 0 findings. View report

Comment thread src/app.rs
)?;
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());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

foxguard · MEDIUM · rs/no-path-traversal (CWE-22)

Path::new called with dynamic path — validate input to prevent path traversal

@github-actions

Copy link
Copy Markdown

✗ togi mutation report

25.0% mutation score — 5/20 killed, 0 survived, 15 timeout, 0 build errors — 722.24s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(pr-policy): version one PR security policy for CLI, Action, and App

1 participant