Skip to content

fix(semgrep): include PCP fixture pointers in scans (SEC-3328) - #1473

Open
NnnOooPppEee wants to merge 2 commits into
mainfrom
codex/SEC-3328/include-pcp-fixtures
Open

NnnOooPppEee wants to merge 2 commits into
mainfrom
codex/SEC-3328/include-pcp-fixtures

Conversation

@NnnOooPppEee

Copy link
Copy Markdown

SEC-3328

Semgrep's default tests/ exclusions skip pcp/tests/fixtures/, so the PCP pointer rule in security PR #267 would not receive these files during a normal directory scan.

Add .semgrepignore using Semgrep 1.168.0's default exclusions, then narrowly include pcp/tests/fixtures/**. Other PCP tests and unrelated test/build/vendor paths remain excluded. This requires Semgrepignore v2; managed project/global ignores must also allow the fixture paths. This changes scan selection only and does not download, unpack, or modify fixtures.

Validation: three synthetic directory scans with Semgrep 1.168.0. All five fixture paths were included, including .tar.gz and nested test directories; nine unrelated paths stayed excluded; zero scan errors. Whitespace checks passed. No application code changed.

AI assistance was used to prepare and validate this change.

@NnnOooPppEee
NnnOooPppEee requested a review from a team as a code owner November 5, 2026 23:47
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-05T23:50:45.919236Z 65cd5dc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@NnnOooPppEee
NnnOooPppEee requested a balanced review from Copilot November 5, 2026 23:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

This branch has not been deployed

No deployments
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.

3 participants