Skip to content

Add vulnerability reporting policy and local secret-file protection - #6

Open
rntschlr wants to merge 2 commits into
mainfrom
chore/security-policy-and-secret-hygiene-2026-11-20
Open

rntschlr wants to merge 2 commits into
mainfrom
chore/security-policy-and-secret-hygiene-2026-11-20

Conversation

@rntschlr

@rntschlr rntschlr commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a concise SECURITY.md for private reporting and production security boundaries.
  • Ignore .env, .env.*, and .dev.vars.* while retaining the documented .dev.vars.example template.

Why

The public portfolio has a contact endpoint and deploy credentials. These changes reduce the chance of accidentally committing local configuration files and give researchers a private reporting channel. .gitignore does not protect secrets already committed, and cannot replace secret scanning or credential rotation.

Validation

  • Reviewed existing .gitignore, public template, current contact handler, CI, and open PR Harden the contact API and add tested failure recovery #4.
  • Changes are documentation and ignore rules only; no application behavior or deployment changes.
  • No local install/build was performed (GitHub connector read/write review only).

Follow-up

Review PR #4 before merging; it contains the substantive contact-endpoint hardening. Verify Cloudflare edge rate limits and Resend settings separately. This PR can be merged independently after review.


Summary by cubic

Adds a private vulnerability reporting policy and stops local secret files from being committed to the repository.

  • SECURITY.md defines a private email channel for reporting vulnerabilities and sets the supported version and security scope for the portfolio and its Cloudflare Pages contact endpoint.
  • .gitignore now blocks .env, .env.*, and .dev.vars.* while keeping the .env.example and .dev.vars.example templates.
  • .gitignore cannot protect secrets already in history; use secret scanning and rotate any exposed credentials.

Written for commit b0ced9a. Summary will update on new commits.

View guided diff Turn on auto-fix

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 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-11-20T02:00:17.214540Z b0ced9a 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.

@cubic-dev-ai cubic-dev-ai 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.

1 issue found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="SECURITY.md">

<violation number="1" location="SECURITY.md:13">
P3: This policy gives no expected acknowledgment or response time, so researchers cannot tell whether their report was received. State a concrete acknowledgment window (for example, within 5 business days) and a target for triage.</violation>
</file>

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread SECURITY.md
steps, and potential impact. Do not open a public issue containing exploit
details, credentials, or personal information.

Please allow time for a private investigation before public disclosure.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P3: This policy gives no expected acknowledgment or response time, so researchers cannot tell whether their report was received. State a concrete acknowledgment window (for example, within 5 business days) and a target for triage.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At SECURITY.md, line 13:

<comment>This policy gives no expected acknowledgment or response time, so researchers cannot tell whether their report was received. State a concrete acknowledgment window (for example, within 5 business days) and a target for triage.</comment>

<file context>
@@ -0,0 +1,25 @@
+steps, and potential impact. Do not open a public issue containing exploit
+details, credentials, or personal information.
+
+Please allow time for a private investigation before public disclosure.
+
+## Scope
</file context>
Suggested change
Please allow time for a private investigation before public disclosure.
We aim to acknowledge reports within 5 business days and to share a triage outcome within 14 days. Please allow time for a private investigation before public disclosure.

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