Sherlock is a state-of-the-art cybersecurity platform designed to detect synthetic media manipulation. By combining Visual Artifact Analysis (EfficientNet) with Audio Spectral Analysis (MFCC/CNN), Sherlock provides a robust defense against deepfakes.
The system is built with a Security-First architecture, featuring an Edge Gateway that sanitizes and validates requests before they reach the core inference engine.
| Feature | Description |
|---|---|
| ๐๏ธ Multi-Modal Detection | Analyzes both Video (visual artifacts) and Audio (voice synthesis) concurrently. |
| ๐ก๏ธ Edge Security | Protected by a Cloudflare Worker gateway that handles Auth, Rate Limiting, and Validation. |
| โก Real-Time Inference | Optimized PyTorch pipeline delivering sub-second frame analysis. |
| ๐ Cyber Dashboard | Modern, dark-mode React/Next.js interface for visualization and reporting. |
| ๐ Explainable AI | Provides confidence scores for both visual and audio components. |
cd backend
pip install -r requirements.txt
python app/main_api.py
Server will start on
http://localhost:8000
cd edge
npm install
npx wrangler dev
Gateway will start on
http://localhost:8787
cd frontend
npm install
npm run dev
UI will be available at
http://localhost:3000
You can test the full pipeline using the included integration script or the Web UI.
Option A: Web UI
http://localhost:3000.Option B: CLI Test
# Generates a dummy video and sends it through the pipeline
python integration_test.py
Sherlock/
โโโ ๐ backend/ # Python ML Engine
โ โโโ ๐ app/ # Application Code
โ โ โโโ ๐ core/ # Detection Logic
โ โ โโโ ๐ services/ # Model & Processor Services
โ โ โโโ ๐ api/ # FastAPI Endpoints
โ โโโ main_api.py # Entry Point
โ
โโโ ๐ edge/ # Cloudflare Worker
โ โโโ ๐ src/ # Worker Logic (Auth/Proxy)
โ โโโ wrangler.toml # Edge Config
โ
โโโ ๐ frontend/ # Next.js Dashboard
โโโ ๐ components/ # React UI Components
โโโ ๐ app/ # Pages & Layouts
Distributed under the MIT License. See LICENSE for more information.