How manoj-debug-source/cyberfoxxx works
This repository implements a document-screening and identity-risk review product: an officer submits a document, the backend coordinates screening and risk services, and the frontend presents results for review. Separate subsystems provide OCR/document fraud checks, anomaly detection, identity and watchlist functions, audit, and blockchain-backed records. The excerpts confirm the main routing and some service calls; several listed capabilities are represented at subsystem level because their implementation was not sampled.
Main entry points: main.py Backend API · screener.py Document screening · pipeline.py Screening pipeline · App.jsx Screening UI
Components 22
Officer experience
- Screening UI
frontend/src/App.jsx - API client
frontend/src/api/client.js - Results and review
frontend/src/pages/Results.jsx
Screening backend
- Backend API
frontend/backend/main.py - Screening pipeline
frontend/backend/routes/pipeline.py - Authentication
frontend/backend/routes/auth.py - Token security
frontend/backend/utils/jwt.py
Analysis services
- Document screening
Anomaly_Detection/document_engine/screener.py - Document API
Anomaly_Detection/api/doc_routes.py - OCR extraction
Anomaly_Detection/document_engine/ocr_extractor.py - MRZ validation
Anomaly_Detection/document_engine/mrz_validator.py - Image forensics
Anomaly_Detection/document_engine/image_forensics.py - Face verification
Anomaly_Detection/document_engine/face_verifier.py - Anomaly detection API
Anomaly_Detection/api/routes.py - Anomaly inference
Anomaly_Detection/anomaly_engine/service.py - Anomaly pipeline
Anomaly_Detection/anomaly_engine/pipeline.py - Risk calibration
risk-calibration/services/calibration.py
Identity and records
- Identity validation
idenity-validation/identity_service.py - Watchlist screening
frontend/backend/routes/watchlist.py - Screening database
frontend/backend/database/mongodb.py - Blockchain audit
frontend/backend/services/blockchain.py
Other components
- Officer
Connections 21
- Officer → Screening UI: uses
frontend/src/App.jsx - Screening UI → Results and review: routes to
frontend/src/App.jsx - Results and review → API client: requests data
frontend/src/pages/Results.jsx - API client → Backend API: calls API
- Backend API → Screening pipeline: registers route
frontend/backend/main.py - Backend API → Authentication: registers route
frontend/backend/main.py - Authentication → Token security: uses tokens
frontend/backend/routes/auth.py - Screening pipeline → Document API: requests screening
frontend/backend/routes/pipeline.py - Document API → Document screening: screens fields
Anomaly_Detection/api/doc_routes.py - Document screening → OCR extraction: uses extraction
Anomaly_Detection/document_engine/screener.py - Document screening → MRZ validation: validates MRZ
Anomaly_Detection/document_engine/screener.py - Document screening → Image forensics: checks images
Anomaly_Detection/document_engine/screener.py - Document screening → Face verification: verifies faces
Anomaly_Detection/document_engine/screener.py - Anomaly detection API → Anomaly inference: dispatches inference
Anomaly_Detection/api/routes.py - Anomaly inference → Anomaly pipeline: runs predictions
Anomaly_Detection/anomaly_engine/service.py - Screening pipeline → Risk calibration: requests calibration
frontend/backend/routes/pipeline.py - Screening pipeline → Screening database: updates records
frontend/backend/routes/pipeline.py - Backend API → Screening database: connects
frontend/backend/main.py - Backend API → Identity validation: registers route
frontend/backend/main.py - Backend API → Watchlist screening: registers route
frontend/backend/main.py - Backend API → Blockchain audit: registers route
frontend/backend/main.py