EdgeShield
BackendWorking on
Overview
EdgeShield is a privacy-first security gateway that runs at the edge on Cloudflare Workers. It sits in front of a website or API and adds security headers, rate-limits abusive clients, and redacts personal data such as emails, phone numbers, IBANs, and IP addresses before it reaches the origin server or the logs.
It is built as a TypeScript Cloudflare Worker deployed with Wrangler. The plan uses Durable Objects for per-client rate limiting, D1 for a PII-free event log, and a small dashboard of blocked requests and redacted fields. It is designed around privacy by design and data minimisation (GDPR Art. 25).
What I did
I am designing and building the project from scratch. The first working version is a reverse proxy with a health check. It forwards method, headers, query string, and body to the origin, adds CSP, HSTS, X-Content-Type-Options, X-Frame-Options, and Referrer-Policy, removes headers that leak information like Server and X-Powered-By, and returns a 502 when the origin is down. Next come tests, the PII redaction module, rate limiting, and the dashboard.