Quader Docs 0.176.0

Security overview

What each part of an installation trusts, holds and exposes, for the operator; the full security architecture is on GitHub.

On this page
Trust boundaries of an installationClients reach the ingress controller, which alone may report the client address and reaches the api and packages pods over verified HTTPS. Monitoring reaches the ops listener, which has no authentication of its own and is fenced by the NetworkPolicy. The worker calls the scanner pods over mutual TLS; the scanners hold no data credential. The roles reach PostgreSQL, Valkey and the object store with verified TLS, and the upstreams through the egress policy.HTTPSHTTPS, verifiedops :8081, NetworkPolicymutual TLSegress policyClients,browsersIngresscontrollertrusted for theclient addressapi · packagespodskubelet,monitoringworker podsscanner podsno datacredentialPostgreSQL ·Valkey · objectstoreverified TLSUpstreamregistries

What each part holds

Part Holds Never holds
api pods The database, Valkey and object-store credentials, the key ring, the sessions, the OIDC client secrets, the break-glass password —
packages pods The database, Valkey and object-store credentials, the key ring A sign-in secret; a session cookie counts as absent
worker pods As packages, and the jobs A client listener
Scanner pods Their TLS pair, the internal CA, one call's scan token The database, Valkey, the object store, the key ring
Migration Job The database login Valkey, the object store, the key ring, a listener
Kubernetes The Secrets, mounted as files into the pods that need them — Quader's ServiceAccount has no API token

Whoever reads the break-glass Secret or the key ring holds the installation; whoever reads the database credentials reads every record but the sealed secrets. Stored secrets (upstream passwords, signing keys, storage keys) are sealed under the key ring.

What is exposed

Listener Serves Who reaches it
Client :8080 /ui/, /api/v1/, /auth/, /docs/ on api; /api/<format>/, /v2/, /files/ on packages Anyone the NetworkPolicy admits (anywhere by default)
Further endpoints Their surface, credentials and exposure rules (Endpoints and exposure) Their networkPolicy.from
Ops :8081 /healthz, /readyz, /metrics, without authentication unless metrics.auth: static The monitoring namespace
Scan :8082 on packages One image or blob per scan token The scanner pods

Without a credential a caller reads only Public content, and only where the endpoint allows anonymous reads; the documentation under /docs/ follows the same gate. The system information and the replica list need settings:read; the version shows to anonymous callers only with system.public_version.

TLS

Every listener serves HTTPS with a pair per kind of pod, every connection to a data service verifies the server, and certificates rotate without a restart (TLS and certificates). The NetworkPolicies hold ingress rules only, one per port. Outgoing requests to upstreams, identity providers and advisory sources pass the egress address policy (proxy.outbound.address_policy). By default it refuses loopback, link-local and the clouds' metadata addresses, also behind a NAT64 prefix; private ranges are allowed until you add them to deny_cidrs. The object store is not checked.

The security architecture

The pages of docs/security on GitHub describe each mechanism and its open gaps, one perspective per page:

Page About
roles-and-trust-boundaries The roles, the edge, endpoints, the ops listener
data-and-secret-flow Where each credential lives and when it is read
transport-encryption Every TLS connection and its rotation
privilege-footprint Quader's grants in PostgreSQL, Valkey, the object store, the pod and the network
egress Which outgoing connections the address policy checks
documentation What /docs/ exposes

How to report a vulnerability: SECURITY.md.