How akashvedappan/fakenix works
FAKENIX is a web platform for deepfake detection and digital forensics. Investigators submit images, videos, or URLs; the backend analyzes media, assesses risk, records detections and evidence, and supports verification and report generation. The frontend also exposes authentication, dashboards, incident reporting, and awareness resources. The graph follows documented routes and indexed imports; several capabilities are documented in the README but their implementation was not sampled, so those links are identified as documented rather than source-verified.
Main entry points: detection_service.py Detection orchestration · groq_analyzer.py Vision analysis · report_service.py PDF report generation · evidence_service.py Evidence custody
Components 26
Investigator interface
- Application routes
frontend/src/App.jsx - Analysis screens
frontend/src/pages - API client
frontend/src/services/api.js - Detection client
frontend/src/services/detectionService.js
API and access
- Detection endpoints
backend/app/routes/detection_routes.py - Authentication endpoints
backend/app/routes/auth_routes.py - Dashboard endpoints
backend/app/routes/dashboard_routes.py - Evidence endpoints
backend/app/routes/evidence_routes.py - Forensic report endpoints
backend/app/routes/report_routes.py - Incident reporting endpoints
backend/app/routes/cybercrime_routes.py
Media analysis
- Detection orchestration
backend/app/services/detection_service.py - Media processing
backend/app/services/image_service.py - Metadata extraction
backend/app/services/metadata_service.py - Vision analysis
backend/app/ai/groq_analyzer.py - Risk classification
backend/app/ai/risk_classifier.py - Video analysis
backend/app/services/video_service.py
Evidence and reporting
- Evidence custody
backend/app/services/evidence_service.py - Evidence hashing
backend/app/services/hashing_service.py - PDF report generation
backend/app/services/report_service.py - Incident dossier service
backend/app/services/cybercrime_service.py
Identity and records
- Authentication service
backend/app/services/auth_service.py - Dashboard analytics
backend/app/services/dashboard_service.py - Detection records
backend/app/models/detection.py - Application database
backend/app/extensions.py
Other components
- Investigator
- Groq vision service
Connections 26
- Investigator → Application routes: uses
README.md - Application routes → Analysis screens: routes to
frontend/src/App.jsx - Analysis screens → Detection client: submits analysis
frontend/src/pages/CybercrimeReport.jsx - Detection client → API client: sends requests
frontend/src/services/detectionService.js - API client → Detection endpoints: calls API
- Detection endpoints → Detection orchestration: dispatches
backend/app/routes/detection_routes.py - Detection orchestration → Media processing: uses
backend/app/services/detection_service.py - Detection orchestration → Metadata extraction: extracts metadata
backend/app/services/detection_service.py - Detection orchestration → Vision analysis: requests analysis
backend/app/services/detection_service.py - Vision analysis → Groq vision service: analyzes media
README.md - Vision analysis → Risk classification: classifies risk
backend/app/ai/groq_analyzer.py - Vision analysis → Video analysis: uses video analysis
backend/app/ai/groq_analyzer.py - Detection orchestration → Evidence hashing: seals uploads
backend/app/services/detection_service.py - Detection orchestration → Evidence custody: records evidence
backend/app/services/detection_service.py - Evidence endpoints → Evidence custody: dispatches
backend/app/routes/evidence_routes.py - Evidence custody → Evidence hashing: verifies hashes
backend/app/services/evidence_service.py - Forensic report endpoints → PDF report generation: generates reports
backend/app/routes/report_routes.py - PDF report generation → Evidence hashing: checks integrity
backend/app/services/report_service.py - Incident reporting endpoints → Incident dossier service: dispatches
backend/app/routes/cybercrime_routes.py - Authentication endpoints → Authentication service: authenticates
backend/app/routes/auth_routes.py - Dashboard endpoints → Dashboard analytics: requests metrics
backend/app/routes/dashboard_routes.py - Detection orchestration → Detection records: persists results
backend/app/services/detection_service.py - Dashboard analytics → Detection records: queries trends
backend/app/services/dashboard_service.py - Authentication service → Application database: reads and writes
backend/app/services/auth_service.py - Detection records → Application database: uses ORM
backend/app/models/detection.py - PDF report generation → Application database: stores reports
backend/app/services/report_service.py