Skip to content

Production Security Verification (2026-11-06)

Reproduce the production security checks from the deployment itself, using the dated verification only as a historical reference.

Admin guide Β· production verification runbook

When to use Before you start Steps Verify Roll back
After a deploy, before an audit, on a suspicion Read access to containers and the public host Run the probe set into /tmp Headers, auth and isolation still hold Restore prior config; no destructive step required

When to use

Use this runbook whenever a change could alter the externally visible security posture. The 2026-11-06 result in pentest results records what was observed on that date, not a permanent state.

Before you start

  • Probe the deployed host and containers; do not probe a developer laptop and call the result production evidence.
  • Store output under /tmp, never in the repository. Never print a token, password or query string.
  • Security header values come from the repository AGENTS.md (IMP-09); the HSTS value is max-age=63072000; includeSubDomains; preload.
  • A 200 on a proxied host is not proof: compare the <title> or a checksum with the home page.

Steps

# Headers
curl -sI https://docs.generalbots.org/ | grep -iE 'strict-transport|content-security|x-frame|x-content|referrer|permissions-policy'

# Unauthenticated API
curl -s -o /dev/null -w '%{http_code}\n' "https://<host>/api/product"

# Health
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:8080/health

# Container state
sudo incus list --format csv
sudo incus exec proxy -- /opt/gbo/bin/caddy validate --adapter caddyfile --config /opt/gbo/conf/config

Verify

Check Command Pass condition
Headers curl -sI on the public host all six IMP-09 headers present with the documented values
Anonymous API unauthenticated request no admin data returned
Health /health 200
Proxy config caddy validate exit 0
Page identity compare <title> with the home page requested page, not the fallback

Fixes applied during the verification

Any fix applied after a probe is recorded as a change with its own deploy evidence; it is not silently folded into the dated result. Use the deploy runbook for the change.

Open items

A check that cannot be run from this host stays open with a reason. A dated report does not close a control.

Roll back

πŸ”΄ Restore the prior Caddy config or service snapshot if a probe reveals a regression, validate Caddy again, and re-run the table. An exposure found here is an incident under incident response.