Add vulnerability reporting policy and local secret-file protection

RN
11d ago
+30-0

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 #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.