Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Security Assessment — CollabSpace

**Date:** 2026-08-21
**Date:** 2026-09-06
**Scope:** Auth, XSS, injection, RLS, secrets, CORS, dependency risk
**Context:** Public Vercel deploy is a **frontend-only shell** (no Supabase env). Full multiplayer needs a Supabase project. Schema in `supabase/migrations/0001_init.sql` is **open RLS** (no auth).

Expand Down Expand Up @@ -147,3 +147,11 @@ npm run typecheck
npm run test:e2e
npm audit --omit=dev
```

## Repository visibility

This repository is currently **public** for portfolio review. When the open-source
build story is no longer needed, **the GitHub repo will go private**. Making the
repo private reduces source disclosure; it does **not** replace strong production
secrets, auth allow-lists, webhook signatures, or Vercel/Actions environment
hygiene. Rotate any credential that was pasted into chat, tickets, or screenshots.
40 changes: 39 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,44 @@
"outputDirectory": "client/dist",
"framework": null,
"rewrites": [
{ "source": "/(.*)", "destination": "/index.html" }
{
"source": "/(.*)",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Permissions-Policy",
"value": "camera=(), microphone=(), geolocation=(), payment=(), usb=()"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "X-DNS-Prefetch-Control",
"value": "off"
}
]
}
]
}
Loading