Security: harden application boundaries and form protection

Open
#551 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
firebase, typescript
Domain
security

Research direction

Start by reading the parent tracker #555 and coordinate with #515 and #532. Review the Firebase Auth, Firestore and Storage rules, app boundaries, forms, headers, dependencies and CI; use local or emulator tests and existing services. Record dated findings, deployment status and rollback steps, and report sensitive findings privately. The scope is broad security review and coordination, so completion requires evidence for the listed checks.

Written by the indexing model from the issue text.

Description

  • Review Firebase Auth, Firestore/Storage rules, public/private boundaries and role checks using defensive source review and local/emulator tests. Cover input sizes and validation, rate limits, cookies/sessions, CORS and CSRF.
  • Check existing security headers and report-only CSP. Stage any enforcement against sign-in, analytics consent and embeds. Review production dependencies and CI/secret scanning; coordinate with existing dependency PRs and report sensitive findings privately.
  • Verify backups and a restore/rollback path using existing services. Coordinate App Check with #515 and reporting behavior with #532.
  • Review abuse on registration or support before adding Turnstile. If justified, use server-side validation and verify the normal forms still work. Evaluate Bot Fight Mode and AI Labyrinth against permitted machine clients and DNS/proxy behavior; keep disabled absent a clear benefit. Do not blanket-block search, webhooks, health checks or approved agents.

Scope: w3develops.org only. Use existing infrastructure with zero added spend. Record dated evidence, deployment status and rollback. Do not publish secrets, private data or sensitive security findings here.

Parent tracker: #555.

Dominant language
TypeScript
Stars
123
Forks
43
Avg merge
1h 4m
Merged PRs (30d)
7

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from w3develops/w3Develops

All issues in w3develops/w3Develops

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.