The Data Security Chrome Extension is designed to help users avoid accidentally sharing sensitive information such as personal data governed by GDPR/KVKK regulations. When a user pastes sensitive data into any input field on a webpage, the extension will display a warning message.
- Detects GDPR/KVKK sensitive data.
- Alerts the user when sensitive data is detected.
- Integrates with FastAPI for backend processing.
- Utilizes the OpenAI API for data analysis.
- Python 3.10 or higher
- Node.js and npm
- Google Chrome
-
Clone the repository:
git clone https://github.com/merveealpay/data-security-chrome-extension.git cd data-security-chrome-extension/backend
-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate
-
Install the required Python packages:
pip install -r requirements.txt
-
Set your OpenAI API key in the
.env
file:OPENAI_API_KEY=your-openai-api-key
-
Navigate to the
extension
directory:cd ../extension
-
No additional installation steps are required for the Chrome extension.
-
Navigate to the backend directory:
cd ../backend/app
-
Start the FastAPI server:
uvicorn main:app --reload
- Open Google Chrome and go to
chrome://extensions/
. - Enable "Developer mode" by toggling the switch in the top right corner.
- Click "Load unpacked" and select the
extension
directory from this repository.
- Open any webpage in Google Chrome.
- Paste the following example of sensitive data into any input field:
John Doe, [email protected], +1-555-123-4567, 1234 Main St, Anytown, AT 12345, USA, Credit Card Number: 4111 1111 1111 1111, Social Security Number: 123-45-6789
- The extension should display an alert warning you about sharing sensitive data.