Skip to content

fix(security): close blocking scanner findings and bound CI jobs - #529

Merged
Ivan-VHS merged 26 commits into
mainfrom
fix/reaper-security-ci-20261202
Dec 2, 2026
Merged

Ivan-VHS merged 26 commits into
mainfrom
fix/reaper-security-ci-20261202

Conversation

@Ivan-VHS

@Ivan-VHS Ivan-VHS commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace interpolated SQLite DDL/export queries with a fixed, explicit statement map.
  • Extract lexical scope and builtin types into runtime_scope.py to remove the runtime/VM import cycle.
  • Replace the unbounded strcpy call with a sized copy.
  • Switch the metadata-only same-repository PR updater from pull_request_target to pull_request.
  • Add explicit job timeouts to all 19 workflows identified by the security scan.
  • Normalize the Russian language specification to LF line endings, removing the blocking A-09 finding.

Security boundary

  • No scanner rule or policy threshold is disabled.
  • The updater still skips fork PRs and does not check out or execute contributor-controlled code.
  • SQL statements are static; profile data remains parameter-bound.

Validation

  • Beelzebul security gate.
  • Python unit tests and native C/CTest.
  • Workflow YAML and repository structure checks.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T08:43:21.146188Z f5d775f 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.

@Ivan-VHS
Ivan-VHS merged commit acda2a1 into main Dec 2, 2026
24 of 33 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f5d775f8e1

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


on:
pull_request_target:
pull_request:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep the write-token workflow trusted

When a same-repository PR changes this workflow, pull_request runs the workflow definition from the PR merge commit, so its author can replace the inline script and use the GITHUB_TOKEN granted contents: write and pull-requests: write below before review. The same-repository if guard is part of that PR-controlled YAML and does not protect this case; keep the privileged updater on a base-branch workflow or remove write permissions from the PR run. GitHub documents that pull_request uses the PR merge commit.

Useful? React with 👍 / 👎.

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.

1 participant