[PR #5437] [MERGED] test(security): enforce focused regression gate #6764

Closed
opened 2026-10-23 04:13:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5437
Author: @SpicyMarinara
Created: 8/23/2026
Status: ✅ Merged
Merged: 8/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/security-regression-gate-5436


📝 Commits (2)

  • 13499c8 test(security): enforce focused regression gate
  • 98d15a5 docs(security): clarify supported versions

📊 Changes

5 files changed (+40 additions, -2 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+2 -2)
📝 .github/workflows/security-audit.yml (+12 -0)
📝 CHANGELOG.md (+1 -0)
➕ SECURITY.md (+24 -0)
📝 package.json (+1 -0)

📄 Description

Linked issue

Closes #5436

Why this change

Marinara already has strong focused regressions for its RCE-adjacent boundaries, but they were not part of the mandatory pull-request gate. A regression in sandboxing, imported active content, archive handling, host authentication, or runtime integrity could therefore rely on CodeQL alone. The repository also lacked a clear private vulnerability-reporting policy.

What changed

  • Aggregated the existing focused security regressions and required them in pull-request validation.
  • Added the same lane to the scheduled dependency security audit.
  • Added a concise SECURITY.md without restricting local-first imports, exports, local models, prompt content, or explicitly authorized execution.
  • Enabled GitHub private vulnerability reporting for the repository.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Automated verification performed

  • pnpm check
  • pnpm regression:security (17 import, archive, sandbox, IPC, host-authentication, and runtime-integrity proofs; live macOS Seatbelt proof included)
  • pnpm audit --audit-level low (no known vulnerabilities)
  • GitHub CodeQL and dependency security audit
  • Repository security API review: no open CodeQL, Dependabot, or secret-scanning alerts; no draft advisories

Manual verification needed

  • Confirm the container build check passes on GitHub-hosted Ubuntu.
  • Confirm GitHub recognizes SECURITY.md after the change reaches the default branch.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] <paths> follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

SECURITY.md and CHANGELOG.md were updated. No translated user documentation or release metadata changed.

UI evidence

No UI changes.

Summary by CodeRabbit

  • Security

    • Added focused security regression checks covering runtime integrity, sandboxing, authentication, extension communication, and proxy access.
    • Pull request and scheduled security audits now run these checks alongside dependency scanning.
    • Added guidance for privately reporting vulnerabilities and validating security boundaries.
  • Documentation

    • Documented supported versions, threat-model details, execution safeguards, and security expectations.
    • Updated the unreleased changelog with the new security checks.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/5437 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/23/2026 **Status:** ✅ Merged **Merged:** 8/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/security-regression-gate-5436` --- ### 📝 Commits (2) - [`13499c8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/13499c85eb537a2b59baff51533671926452643c) test(security): enforce focused regression gate - [`98d15a5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/98d15a515702d8af5d482227e7482d1269d89799) docs(security): clarify supported versions ### 📊 Changes **5 files changed** (+40 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+2 -2) 📝 `.github/workflows/security-audit.yml` (+12 -0) 📝 `CHANGELOG.md` (+1 -0) ➕ `SECURITY.md` (+24 -0) 📝 `package.json` (+1 -0) </details> ### 📄 Description ## Linked issue Closes #5436 ## Why this change Marinara already has strong focused regressions for its RCE-adjacent boundaries, but they were not part of the mandatory pull-request gate. A regression in sandboxing, imported active content, archive handling, host authentication, or runtime integrity could therefore rely on CodeQL alone. The repository also lacked a clear private vulnerability-reporting policy. ## What changed - Aggregated the existing focused security regressions and required them in pull-request validation. - Added the same lane to the scheduled dependency security audit. - Added a concise `SECURITY.md` without restricting local-first imports, exports, local models, prompt content, or explicitly authorized execution. - Enabled GitHub private vulnerability reporting for the repository. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Automated verification performed - `pnpm check` - `pnpm regression:security` (17 import, archive, sandbox, IPC, host-authentication, and runtime-integrity proofs; live macOS Seatbelt proof included) - `pnpm audit --audit-level low` (no known vulnerabilities) - GitHub CodeQL and dependency security audit - Repository security API review: no open CodeQL, Dependabot, or secret-scanning alerts; no draft advisories ### Manual verification needed - Confirm the container build check passes on GitHub-hosted Ubuntu. - Confirm GitHub recognizes `SECURITY.md` after the change reaches the default branch. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) `SECURITY.md` and `CHANGELOG.md` were updated. No translated user documentation or release metadata changed. ## UI evidence No UI changes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Security** * Added focused security regression checks covering runtime integrity, sandboxing, authentication, extension communication, and proxy access. * Pull request and scheduled security audits now run these checks alongside dependency scanning. * Added guidance for privately reporting vulnerabilities and validating security boundaries. * **Documentation** * Documented supported versions, threat-model details, execution safeguards, and security expectations. * Updated the unreleased changelog with the new security checks. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:13:30 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6764
No description provided.