Ghost Layer is a privacy-first system that protects users from unintentionally sharing sensitive personal information while interacting with AI tools like ChatGPT. It works silently in the background, anonymizing data before it reaches the AI—so users get the full power of AI without compromising privacy.
As AI tools become part of everyday workflows, users frequently paste raw text containing personal data such as names, emails, phone numbers, or locations. Once shared, this data is no longer under user control. Ghost Layer was built to solve this gap by adding an invisible privacy layer between users and AI systems.
- Detects personally identifiable information (PII) in real time
- Anonymizes data using redaction or realistic fake replacements
- Sends only privacy-safe text to AI models
- Stores reversible mappings locally for optional de-anonymization
- Ensures no personal data is sent to external servers
- User types a message into an AI chat interface
- Ghost Layer (Chrome extension) intercepts the input
- A local Flask backend analyzes the text using NLP
- Sensitive data is anonymized
- Clean text is sent to the AI model
All processing happens locally on the user’s machine.
- Backend: Python, Flask
- NLP & Privacy: Microsoft Presidio, spaCy
- Anonymization: Faker
- Frontend: Chrome Extension (Manifest V3), JavaScript, HTML, CSS
- Data Storage: Local JSON files
- APIs: REST APIs (Localhost)
The demo showcases:
- Real-time anonymization
- Chrome extension workflow
- Backend processing
- Privacy-safe AI interaction
- All data is processed locally
- No cloud services or third-party servers involved
- No tracking, logging, or external data transmission
- Designed using privacy-by-design principles
Future improvements include encrypted local storage and automatic data expiration.
- Mobile phone integration (app or keyboard-level protection)
- Support for more AI platforms
- Encrypted and time-bound mapping storage
- Enterprise-grade privacy controls
Ghost Layer empowers users to use AI responsibly and safely by protecting their identity without affecting usability.
Ghost Layer doesn’t fight AI — it makes AI safe for humans.
This project is licensed under the terms specified in the LICENSE file.