How devansh7006/dikoryx works
Dikoryx is an insider-threat monitoring and CIS-compliance platform. Its endpoint agent gathers behavioral and host-security telemetry, sends it to a FastAPI service for ingestion and risk scoring, and exposes endpoint status and analysis through a React dashboard. The graph preserves the documented collection, enforcement, scoring, and analyst-visibility stages. Some agent wiring and frontend details are unsampled; those links rely on README statements where noted.
Main entry points: main.py Service routes · telemetry.py Telemetry API · Dashboard.jsx Dashboard shell · agent.py Agent orchestrator
Components 22
Endpoint agent
- Agent orchestrator
agent/agent.py - Behavior collectors
agent/collectors/windows - USB monitoring
agent/usb_monitor.py - USB device intelligence
agent/collectors/usb/device_intel.py - CIS audit and enforcement
agent/collectors/windows/compliance.py - Agent HTTP client
agent/http_client.py - Retry handling
agent/retry.py
Ingestion and analysis
- Telemetry API
backend/api/telemetry.py - Agent authentication
backend/agent_auth.py - Risk scoring
backend/risk_engine.py - Service routes
backend/main.py - User authentication
backend/api/auth.py
SOC dashboard
- Application and login
frontend/src/App.jsx - Dashboard shell
frontend/src/Pages/Dashboard.jsx - Frontend API client
frontend/src/api.js - Endpoint selection
frontend/src/components/SystemList.jsx - Endpoint details
frontend/src/components/SystemDetails.jsx - Telemetry charts
frontend/src/components/AgentCharts.jsx
Persistence
- Database
backend/database.py - Live agent state
backend/state.py
Other components
- Security analyst
- Web browser
Connections 28
- Security analyst → Web browser: uses
- Web browser → Application and login: opens
- Application and login → Dashboard shell: renders
frontend/src/App.jsx - Application and login → Frontend API client: requests agents
frontend/src/App.jsx - Dashboard shell → Frontend API client: loads data
frontend/src/Pages/Dashboard.jsx - Dashboard shell → Endpoint selection: renders
frontend/src/Pages/Dashboard.jsx - Dashboard shell → Endpoint details: renders
frontend/src/Pages/Dashboard.jsx - Endpoint details → Frontend API client: fetches details
frontend/src/components/SystemDetails.jsx - Frontend API client → Service routes: calls REST APIs
frontend/src/api.js - Service routes → User authentication: routes login
backend/main.py - Service routes → Telemetry API: routes telemetry
backend/main.py - Service routes → Risk scoring: computes risk
backend/main.py - Service routes → Database: rehydrates records
backend/main.py - Service routes → Live agent state: reads live state
backend/main.py - User authentication → Database: reads and writes users
backend/api/auth.py - Telemetry API → Agent authentication: authenticates agent
backend/api/telemetry.py - Telemetry API → Database: persists events
backend/api/telemetry.py - Telemetry API → Live agent state: updates state
backend/api/telemetry.py - Risk scoring → Database: saves risk records
- Agent orchestrator → Behavior collectors: collects telemetry
- Agent orchestrator → USB monitoring: starts monitor
agent/agent.py - USB monitoring → USB device intelligence: analyzes devices
- USB monitoring → Telemetry API: posts USB events
- CIS audit and enforcement → Agent orchestrator: reports enforcement
- Agent orchestrator → Agent HTTP client: sends telemetry
- Agent HTTP client → Retry handling: retries requests
agent/http_client.py - Agent HTTP client → Telemetry API: posts batches
- Endpoint details → Telemetry charts: displays telemetry