Secure Communication & Redaction Platform with Generative AI, OCR, and PII Intelligence
Obscurix is a next-generation data redaction and content moderation platform designed to help teams and enterprises securely communicate and collaborate without risking sensitive data exposure. The chatbot interface, Redactify, enables users to interact naturally while ensuring compliance, privacy, and safety—powered by Generative AI and real-time monitoring. Optical Character Recognition (OCR), and advanced PII detection techniques, Obscurix ensures sensitive data is automatically detected, redacted, or rewritten before exposure.
Feature | Description |
---|---|
PII Redaction Engine | Real-time masking of sensitive data such as emails, phone numbers, passwords, API keys, card numbers, and bank account details using regex and NLP. |
Generative AI Rewriting | Uses Google Gemini to rewrite redacted content while preserving the original context and softening tone, especially in sensitive or negative sentiment messages. |
Admin Monitoring Dashboard | Displays analytics for flagged content, user behavior trends, and PII redaction frequency in real time. |
Multilingual Redaction Support | Redaction and rewriting supported for English, Hindi, and Spanish using spaCy’s NER and GenAI’s language-agnostic capabilities. |
Dual-Mode Redaction (Strict & Creative) | Strict mode performs full redaction; Creative mode redacts and then rephrases the content while maintaining meaning. |
Leak Prevention Browser Extension | Chrome/Edge extension that uses OCR and NLP to detect and block screenshots or copied code/text containing sensitive info before it is posted to social media. |
Code Sanitization & Pseudocode Conversion | Automatically converts code to anonymized pseudocode to ensure safe collaboration without exposing internal logic or credentials. |
Sentiment-Aware Moderation | Detects and softens toxic or harmful language, ensuring that content is emotionally neutral or constructive. |
Cognitive Code Obfuscation via GenAI | Converts flagged code into obfuscated pseudocode while explaining the logic, allowing safe public sharing (e.g., StackOverflow). |
Sensitivity Scoring System | Assigns a numeric risk score (0–100) to messages based on redacted content and sentiment, enabling proactive flagging. |
Audit Trail & Reporting Dashboard | Tracks redaction activity, sentiment trends, and high-risk users or teams; helps enterprises monitor compliance. |
Technology | Purpose | Version |
---|---|---|
Next.js | React Framework | Latest |
React | UI Library | 18+ |
Tailwind CSS | Styling Framework | 3+ |
Framer Motion | Animations | Latest |
Lucide React | Icon Set | Latest |
Axios | HTTP Client | Latest |
Technology | Purpose |
---|---|
Django REST Framework | API Layer |
Python 3.11+ | Backend Logic |
spaCy | Named Entity Recognition |
Google Gemini API | Generative AI Engine |
EasyOCR | OCR for Image Text Extraction |
CI/CD | GitHub Actions + AWS EC2 |
Technology | Purpose |
---|---|
MongoDB Atlas | Authentication, Session & Logs |
Local Storage | Client-side State Management |
Extensions | Custom Chrome/Edge extension using OCR |
frontend/
├── components/ # Reusable React components
├── pages/ # Route-based structure
│ ├── index.js
│ ├── login.js
│ ├── signup.js
│ ├── redactify.js
│ ├── profile.js
│ ├── dashboard.js
│ └── ocr.js
├── public/ # Static assets
├── styles/ # Tailwind and global styles
└── utils/ # API clients and helpers
Endpoint | Method | Description |
---|---|---|
/api/signup |
POST | User registration with roles |
/api/login |
POST | Authenticates user, returns JWT |
Endpoint | Method | Description |
---|---|---|
/api/redact |
POST | Handles PII detection and rewriting |
/api/metrics |
GET | Dashboard metrics for admin view |
/api/updateUser |
PUT | Update user credentials and profile |
Endpoint | Method | Description |
---|---|---|
/api/ocr |
POST | OCR-based text extraction from images |
Navbar
Hero
Redactify
Dashboard
Animated Backgrounds
News Ticker
Footer
Signup
Login
Session Handling
Access Control
Role | Permissions |
---|---|
User | Redactify, OCR, Profile |
Admin | Full access including Dashboard views |
Frontend → Backend All secure requests carry JWTs in headers for validation.
Redaction Request
Input sent to /api/redact
, processed via spaCy, Gemini, and EasyOCR.
Dashboard Metrics
Admin panels fetch data from /api/metrics
and visualize user risk.
Extension Hooks OCR triggers NLP pipeline before permitting screen-based actions.
main
# .github/workflows/deploy-backend.yml
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: SSH & Deploy
uses: appleboy/ssh-action@v0.1.6
with:
host: $
username: ec2-user
key: $
script: |
cd /home/ec2-user/obscurix/backend
git pull origin main
pip install -r requirements.txt
sudo systemctl restart gunicorn
sudo systemctl reload nginx
Authentication Security
Data Protection
Privacy Features
API Security
# Frontend
cd frontend
npm install
npm run dev
# Backend
cd backend
venv/Scripts/activate
pip install -r requirements.txt
python manage.py runserver