How offsetsecurity/cipherhorizon works
CipherHorizon is a self-hosted post-quantum readiness and cryptography inventory product. Users scan TLS endpoints and SSH servers from the web UI or CLI, review readiness and prioritized findings, and can inventory machines, discover domain hosts, import CBOMs, and export reports. The graph preserves these documented capability branches; several internal connections are omitted because their implementations were not excerpted, so the edges shown rely on the README or visible source references.
Main entry points: api.js API client · app.go CLI · collector.go Host collector · scan.go TLS scanner
Components 19
User interfaces
- Web application
web/static/js/app.js - API client
web/static/js/api.js - CLI
internal/app/app.go - MCP interface
internal/mcpserver/server.go
Protocol assessment
- TLS scanner
internal/tlsprobe/scan.go - SSH auditor
internal/sshprobe/scan.go - Findings and readiness
internal/eval/eval.go - Domain discovery
internal/namefind/namefind.go
Fleet management
- HTTP server
internal/server/server.go - Fleet store
internal/store/store.go
Machine inventory
- Host collector
internal/collector/collector.go - Host sensors
internal/sense/sense.go - Machine facts
internal/machinefacts/facts.go - Inventory ingest
internal/server/ingest.go
Exports and integrations
- CBOM generation
internal/cbom/build.go - PDF reports
internal/reportpdf/clients.go
Other components
- Operator
- TLS or SSH target
- Inventoried machine
Connections 20
- Operator → Web application: uses
- Web application → API client: calls
web/static/js/app.js - API client → HTTP server: sends requests
web/static/js/api.js - Operator → CLI: runs commands
- CLI → TLS scanner: starts TLS scans
internal/app/app.go - CLI → SSH auditor: starts SSH scans
internal/app/app.go - TLS or SSH target → TLS scanner: receives probes
- TLS or SSH target → SSH auditor: receives probes
- TLS scanner → Findings and readiness: evaluated for findings
- SSH auditor → Findings and readiness: evaluated for readiness
- HTTP server → Fleet store: uses fleet storage
internal/server/server.go - Operator → Domain discovery: requests host discovery
- Inventoried machine → Host collector: inventoried by
- Host collector → Host sensors: collects via
- Host collector → Machine facts: produces facts
- API client → Inventory ingest: submits inventory
web/static/js/api.js - Inventory ingest → Fleet store: stores snapshots
internal/server/ingest.go - Operator → CBOM generation: exports CBOM
- Operator → PDF reports: requests reports
- Operator → MCP interface: connects assistants
internal/mcpserver/server.go