Security Model
The protections in place for traffic, credentials and decision data.
Transport Security
All client traffic is encrypted in transit with TLS, terminated at our edge, and forwarded to the application over a private internal network. The application listens on no public interface, so it cannot be reached except through the edge that fronts it. Every API response is JSON with a short error string, never a stack trace, so failures never leak internals to the caller.
Encrypted in transit
TLS on every public request. Plain HTTP is refused, not redirected with content.
No public origin
The application is unreachable from the internet, only through the edge in front of it.
Credentials
Service secrets, the Telegram bot token and the judge API key among them, are held in a restricted operating-system level store that only the running service can read. They never appear in source control, in build output, or in an API response. The webhook verifies Telegram's secret token with a constant-time comparison and rejects anything else with 401. Failing closed is deliberate: if no secret is configured, every request is rejected rather than accepted.
Hashed at rest
Dashboard passwords are stored as hashes and API keys as hashes, never as plaintext.
Constant time
Secret comparison does not leak length or prefix information.
Decision Data
Verdicts are append-only records. A human override is stored beside the machine verdict rather than rewriting it, so the original detection survives for audit, and only administrators can set one. Dashboard sections are role-gated, and each check happens on the server before any data for that section is loaded, so a role cannot be bypassed by calling the underlying endpoint directly. Cached verdicts are invalidated whenever the ruleset version changes.
Read-only dashboard
The dashboard reads the decision log; it cannot alter or delete a verdict.
Role-gated
Each dashboard section checks the caller's role before loading any data.