How rohit-jr/arbiter works
ARBITER simulates quantum digital-signature sessions and attributes forgery, impersonation, replay, or channel manipulation. The main workflow runs from dashboard scenario selection through the API, session simulation, layered verification, and a signed audit record. The API also exposes comparison, security-bound, and PKI-risk capabilities. The graph reflects documented behavior and sampled integration points; unsampled API wiring is represented only where the README or source excerpts support it.
Main entry points: app.py FastAPI service · App.tsx Dashboard app · protocol.py QDS session simulator · pipeline.py Verification orchestrator
Components 20
Dashboard
- Dashboard app
frontend/src/App.tsx - Session form
frontend/src/components/SessionForm.tsx - API client
frontend/src/api.ts - Result panels
frontend/src/components/VerdictPanel.tsx - Ledger panel
frontend/src/components/LedgerPanel.tsx - Analysis panels
frontend/src/components/AccuracyPanel.tsx
API and workflow
- FastAPI service
src/arbiter/api/app.py - Background jobs
src/arbiter/api/jobs.py
Simulation and analysis
- QDS session simulator
src/arbiter/qds_simulation/protocol.py - Quantum model
src/arbiter/quantum - Aer circuit backend
src/arbiter/qds_simulation/circuits.py - Trapped-ion noise
src/arbiter/noise/trapped_ion.py - Verification orchestrator
src/arbiter/pipeline.py - Detection tests
src/arbiter/detection - QDS security bounds
src/arbiter/detection/security.py - PKI risk scoring
src/arbiter/pki_risk_scoring
Audit and persistence
- Signed audit ledger
src/arbiter/audit_ledger/ledger.py - Encrypted key store
src/arbiter/audit_ledger/storage.py - API state store
src/arbiter/storage.py
Other components
- Operator
Connections 19
- Operator → Session form: selects scenario
- Session form → Dashboard app: submits request
- Dashboard app → API client: calls API
- Dashboard app → Result panels: renders verdict
- Dashboard app → Ledger panel: shows ledger
- Dashboard app → Analysis panels: shows analysis
- API client → FastAPI service: HTTP requests
- FastAPI service → QDS session simulator: simulates session
- QDS session simulator → Quantum model: samples probabilities
- QDS session simulator → Aer circuit backend: runs circuits
- FastAPI service → Verification orchestrator: verifies transcript
- Verification orchestrator → Detection tests: runs layered tests
- FastAPI service → Trapped-ion noise: loads preset
- FastAPI service → QDS security bounds: serves bounds
- FastAPI service → PKI risk scoring: serves risk scoring
- FastAPI service → Background jobs: dispatches jobs
- FastAPI service → API state store: persists API state
- Verification orchestrator → Signed audit ledger: appends verdict
- Signed audit ledger → Encrypted key store: uses encrypted keys