Skip to content

Add API security headers and dependency monitoring - #36

Merged
shriyahehe merged 5 commits into
security/protect-pdf-ingestionfrom
security/headers-and-dependency-monitoring
Dec 4, 2026
Merged

shriyahehe merged 5 commits into
security/protect-pdf-ingestionfrom
security/headers-and-dependency-monitoring

Conversation

@shriyahehe

Copy link
Copy Markdown
Owner

Additional security hardening

This PR builds on #35 and is intentionally based on its branch so the changes can be reviewed and merged in sequence.

Changes

  • Add defensive HTTP response headers: X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, and HSTS.
  • Add a regression test for the response headers.
  • Enable weekly Dependabot update PRs for npm and Python dependencies, with grouped frontend dependency updates.
  • Add SECURITY.md with private vulnerability reporting guidance and safe-testing boundaries.

Safety

  • No production deployment.
  • No API route or response-body changes.
  • No database schema, RLS, auth-provider, or secret changes.
  • No new runtime dependencies.

Verification

GitHub Actions should run the existing frontend build and backend test suite, including the new response-header test.

@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bio-query Ready Ready Preview Dec 4, 2026 12:38pm UTC

@shriyahehe
shriyahehe merged commit 6158322 into security/protect-pdf-ingestion Dec 4, 2026
2 of 3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 56307d0a Deployed Dec 4, 2026 by vercel[bot]
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