Implement SelfErase: Zero-trust privacy toolkit with local encryption and stateless edge layer #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements a privacy-first data broker management system where all PII remains encrypted on-device, with public metadata served via stateless Workers.
Architecture
Local Flutter App
Cloudflare Workers
Data Layer
Key Files
Security Model
Guarantees:
CI/CD
Documentation
Original prompt
This section details on the original issue you should resolve
<issue_title>Project Brief</issue_title>
<issue_description>Below is an updated, unified project concept that incorporates:
✅ Cloudflare Workers for automation, scanning, and re-checks
✅ A local Flutter app for all sensitive personal data handling
❌ No reliance on GitHub Pages for storing or processing personal data
➡️ GitHub will host code only, never user data
⬇️ Optional “portable mode” via downloadable ZIP the user can run locally
Everything is now designed around a security-first, zero-data-retention model.
SelfErase (Updated Architecture Concept)
An open-source, hybrid local+edge privacy toolkit for managing and deleting personal data online.
Design Goal
Provide users with a complete data-removal system that:
Why This Architecture Works
1. Cloudflare Workers Handle Automation
Cloudflare Workers perform tasks that don’t require user PII, such as:
Workers compute and serve only public metadata, like:
brokers.json, opt-out instructions, form templates, availability tests.2. Flutter App Handles All Personal Data
The Flutter app (runs on iOS, Android, macOS, Windows, Linux) will:
No personal data ever leaves the device
except when the user manually sends deletion/opt-out requests to brokers.
3. Optional ZIP Download / Portable Mode
For users who want:
We will offer a portable ZIP download containing a self-contained Flutter desktop app.
Users can:
4. GitHub Pages Cannot Store Data — So It Stores Only Static Files
GitHub will host:
No dynamic data. No PII. No user uploads.
That keeps GitHub simple, safe, and fully open-source.
Security Model Overview
A. Zero PII Transmission
B. Encrypted Local Storage
Flutter app uses:
C. Verification & Reproducibility
D. No Third-Party Tracking
Updated Project Description for the Repository
SelfErase
SelfErase is an open-source privacy toolkit that helps individuals identify, manage, and remove their personal data from data brokers—without ever sharing personal information with any external service.
SelfErase uses a hybrid model:
Local Flutter App (User-Controlled)
Cloudflare Workers (Stateless Automation)
This ensures a secure, privacy-first system where all personal data remains fully owned and controlled by the user.
High-Level Architecture