Privacy

Security Audit Report — 22 June 2026

Weekly SpeyBooks Security Test Harness report. Grade: C (80%). 17/22 modules passing. Automated infrastructure security audit.

William Murray · 22 June 2026 · 3 min read
Security audit grade C, 17 of 22 modules passing, score 80%

SpeyBooks measures its production infrastructure daily with an automated Security Test Harness and publishes this report weekly. This report covers the run executed on 22 June 2026.

Summary

MetricResult
GradeC
Score80%
Modules passed17 / 22
Failures2
Warnings3

2 failure(s) found across 22 modules.

Module Results

ModuleStatusDetail
fw-nginx✓ PASSnginx config valid, security headers present
fw-ports✓ PASSonly ports 22/80/443 listening
fw-headers✓ PASSall security headers present on all four domains
sc-ssh✓ PASSSSH hardened (root=without-password, passwordauth=no, x11=no)
sc-postgres✓ PASSpostgres bound to localhost only
sc-env✓ PASS.env files not world-readable
sc-tls✓ PASSTLS 1.0 and 1.1 rejected
pm-os! WARN2 pending third-party-repo updates outside unattended-upgrades: gh nodejs
pm-node! WARNnodejs upgrade pending 22.22.3-1nodesource1 -> 22.23.0-1nodesource1 (nodesource, outside unattended-upgrades)
pm-postgres✓ PASSPostgreSQL 17.10 (supported)
pm-npm! WARNapi: 3 high production vulnerabilities
ac-rls✗ FAILretention_purge_runs: no organisation_id retention_purge_runs: RLS not enabled retention_purge_runs: RLS not FORCEd (owner bypasses)
ac-bypassrls✗ FAILspeybooks_purge: holds BYPASSRLS but is not allow-listed
ac-fail2ban✓ PASSall 5 fail2ban jails active
ac-ratelimits✓ PASSnginx rate limiting configured (1 directives)
ac-authaudit✓ PASSauth_audit_log active (147 entries)
ml-rootkit✓ PASSno new SUID/SGID binaries (18 known)
ml-services✓ PASSonly expected services running
op-ssl✓ PASSall SpeyBooks SSL certs valid >30 days
op-backups✓ PASSlatest backup 1h old, verified
op-disk✓ PASSdisk usage 52%
op-s3sync✓ PASSlast S3 upload 1h ago, verified

What We Test

The Security Test Harness covers 22 modules across six areas:

Firewall and network: nginx configuration validity, open port exposure, and live security header verification across all SpeyBooks domains.

Secrets and configuration: SSH hardening (root login, password auth, X11), PostgreSQL binding, environment file permissions, and TLS version enforcement.

Patch management: operating system update status, Node.js LTS verification, PostgreSQL version, and production npm vulnerability scanning.

Access control: Row-Level Security coverage across every tenant table (organisation_id presence, RLS enabled, FORCE enforced), fail2ban jail status, nginx rate limiting, and auth audit log activity.

Malware and services: SUID/SGID binary baseline comparison and unexpected service detection.

Operations: SSL certificate expiry across all domains, local backup recency, disk usage, and S3 sync verification.

Infrastructure

SpeyBooks runs on Hetzner (Germany, EU) with encrypted database backups replicated to AWS London (eu-west-2, UK). Data never leaves UK or EU jurisdiction.


This report is generated automatically by the SpeyBooks Security Test Harness, which runs on the production server, and is published through a fixed pipeline without human editing. Operational details that would aid reconnaissance are mechanically redacted at the publication boundary; the full-fidelity report stays with the operator.

Early access for developers.

SpeyBooks is in soft launch. We're inviting a small group of developers to help shape API-first accounting for the UK.

90-day free trial. Proper double-entry. No tracking.