How yosrisecops/cyberscore-tn-platform works
CyberScore TN is a sovereign cybersecurity scoring and threat-monitoring platform for Tunisian public and strategic-sector websites. The principal workflow is to submit a target for a quick, standard, deep, or autonomous audit; scanners gather findings, scoring produces a grade, and results support history, dashboards, and reports. Separate product branches cover authentication and accreditation, threat intelligence and forecasts, and Amina’s local-LLM assistance. The graph reflects documented capabilities; some frontend-to-backend and autonomous-agent wiring is not established by the excerpts, so those links are marked unverified.
Main entry points: probe_agent/orchestrator.py Agent orchestrator · ScannerClient.tsx Scan interface · scan_routes.py Scan API · scanners/orchestrator.py Scan orchestrator
Components 25
User experience
- Scan interface
frontend/components/scanner/ScannerClient.tsx - Authentication and RBAC
backend/app/routes/auth_routes.py - Amina assistant
backend/app/routes/ai_routes.py - Agent workflow graph
frontend/components/scanner/AgentWorkflowGraph.tsx
Audit and scoring
- Scan API
backend/app/routes/scan_routes.py - Scan orchestrator
backend/app/scanners/orchestrator.py - Security scanners
backend/app/scanners - Score engine
backend/app/scanners/score_engine.py - Scan persistence
backend/app/crud.py - PostgreSQL
Monitoring and reporting
- Dashboard and CTI
backend/app/routes/dashboard_routes.py - Data API
backend/app/routes/data_routes.py - Score predictions
frontend/components/predictions/PredictionsClient.tsx - Threat observatory
frontend/components/threats/ThreatWorldMap.tsx - Accreditation badges
frontend/components/badges/BadgesClient.tsx - Official PDF reports
frontend/components/report/ReportGenerator.tsx - Report preview modal
frontend/components/report/ReportPreviewModal.tsx
Autonomous audit
- Agent orchestrator
probe_agent/orchestrator.py - Network reconnaissance
probe_agent/agents/recon_agent.py - Vulnerability analysis
probe_agent/agents/cve_agent.py - PoC verification
probe_agent/agents/poc_agent.py - Remediation and sealing
probe_agent/agents/remediation_agent.py - Probe AI client
probe_agent/ai_client.py
Other components
- Auditor or official
- Local Ollama LLM
Connections 28
- Auditor or official → Scan interface: submits target
- Scan interface → Scan API: requests audit
- Scan API → Scan orchestrator: runs scan
backend/app/routes/scan_routes.py - Scan orchestrator → Security scanners: dispatches scanners
backend/app/scanners/orchestrator.py - Scan orchestrator → Score engine: scores findings
backend/app/scanners/orchestrator.py - Scan API → Scan persistence: persists results
backend/app/routes/scan_routes.py - Scan persistence → PostgreSQL: writes records
- Auditor or official → Authentication and RBAC: authenticates
backend/app/routes/auth_routes.py - Auditor or official → Dashboard and CTI: views posture
- Auditor or official → Data API: requests platform data
- Auditor or official → Score predictions: views projections
- Auditor or official → Threat observatory: views threats
- Auditor or official → Accreditation badges: views badges
- Auditor or official → Official PDF reports: generates report
- Auditor or official → Amina assistant: asks for guidance
- Amina assistant → Local Ollama LLM: queries locally
backend/app/routes/ai_routes.py - Auditor or official → Agent orchestrator: requests autonomous audit
- Agent orchestrator → Network reconnaissance: runs reconnaissance
probe_agent/orchestrator.py - Agent orchestrator → Vulnerability analysis: runs analysis
probe_agent/orchestrator.py - Agent orchestrator → PoC verification: runs verification
probe_agent/orchestrator.py - Agent orchestrator → Remediation and sealing: runs remediation
probe_agent/orchestrator.py - Vulnerability analysis → Probe AI client: requests analysis
probe_agent/agents/cve_agent.py - Remediation and sealing → Probe AI client: requests roadmap
probe_agent/agents/remediation_agent.py - Probe AI client → Local Ollama LLM: queries model
probe_agent/ai_client.py - Scan interface → Agent workflow graph: renders workflow
frontend/components/scanner/ScannerClient.tsx - Official PDF reports → Report preview modal: previews report
frontend/components/report/ReportPreviewModal.tsx - Agent workflow graph → Scan interface: supports audit view
frontend/components/scanner/ScannerClient.tsx - Report preview modal → Official PDF reports: uses generator
frontend/components/report/ReportPreviewModal.tsx