DeepSafe is a modular, high-performance, and containerized platform designed for the robust detection of deepfakes in digital media. By aggregating state-of-the-art detection models into a unified ensemble, DeepSafe provides enterprise-grade accuracy and reliability.
DeepSafe adopts a microservices architecture where each detection model runs in its own isolated Docker container. This design choice is deliberate and critical:
- No Dependency Hell: Each model can have its own specific version of PyTorch, CUDA, or other libraries without conflicting with others.
- Platform Independent: Whether you are on Linux, macOS, or Windows, if you have Docker, DeepSafe works.
- Scalable: Scale individual models based on load.
- Enterprise-Grade Authentication: Secure Login and Registration system to protect access.
- Multi-Modal Detection: Analyzes both Images and Videos for manipulation.
- Ensemble Intelligence: Combines multiple state-of-the-art models (NPR, UniversalFakeDetect, CrossEfficientViT) for superior accuracy.
- Meta-Learning Engine: Dynamically stacks model outputs using advanced meta-learners to reduce false positives.
- Premium UI/UX: A modern, dark-themed React dashboard with interactive charts and real-time feedback.
- Dockerized Architecture: Fully containerized services for easy deployment and isolation.
- RESTful API: Robust FastAPI backend with health checks, batch processing, and detailed logging.
DeepSafe orchestrates a fleet of specialized detectors via a central API gateway:
graph TD
Client[Web Client / User] --> Nginx[Nginx / Frontend]
Nginx --> API[DeepSafe API FastAPI]
API --> Meta[Meta-Learner Ensemble]
subgraph "Image Detectors"
Meta --> NPR[NPR Deepfake]
Meta --> UFD[Universal Fake Detect]
end
subgraph "Video Detectors"
Meta --> CEV[Cross Efficient ViT]
end
- Docker & Docker Compose
- Git
-
Clone the repository:
git clone https://github.com/siddharthksah/DeepSafe.git cd DeepSafe -
Launch the Platform:
make start
This will build all containers and start the services. Initial build may take a few minutes.
-
Access the Dashboard: Open
http://localhost:8888in your browser. -
API Documentation: Visit
http://localhost:8000/docsfor the interactive Swagger UI.
| Model | Type | Status | Description |
|---|---|---|---|
| NPR Deepfake | Image | β Active | Neural Pattern Recognition for subtle artifact detection. |
| Universal Fake Detect | Image | β Active | Generalizable detection for unseen deepfake types. |
| Cross Efficient ViT | Video | β Active | High-efficiency video analysis using Vision Transformers. |
| FakeSTormer | Video | β Active | Vulnerability-Aware Spatio-Temporal Learning for Generalizable Deepfake Video Detection. |
DeepSafe includes a comprehensive test suite to ensure system integrity.
# Run health checks and basic functionality tests
make testWe welcome contributions! Please see our Contributing Guidelines and Code of Conduct.
Distributed under the MIT License. See LICENSE for more information.
If you find DeepSafe useful in your research or work, please consider citing it:
@misc{deepsafe,
author = {Siddharth Kumar},
title = {DeepSafe: Enterprise-Grade Deepfake Detection Platform},
year = {2025},
publisher = {GitHub},
url = {https://github.com/siddharthksah/DeepSafe}
}DeepSafe integrates and builds upon the following excellent open-source research:
We thank the original authors for their contributions to the community.



