Role: Security disclosure policy and invariant boundary statement Audience: Security researchers, site operators, and maintainers Authority: Runtime trust boundaries are defined by Production Deployment Guide, Configuration Reference, and Identity and Authentication.
Do not disclose unpatched security vulnerabilities in public issues, pull requests, discussions, or screenshots.
If you discover a security issue in FsusBlogV3 (including authentication or session bypass, cross-role privilege escalation, Passkey/Step-Up replay, CSP/XSS bypass, AEDS v2 or HTTP/2/HTTP/3 parser memory safety or DoS issues, ZK/cryptographic verification flaws, proxy origin spoofing, path traversal, or sandbox escape), submit a confidential report via GitHub Private Vulnerability Reporting (Security -> Advisories -> Report a vulnerability).
Please include:
- Affected commit SHA (and build flags / platform: Linux x86_64 or macOS ARM64);
- Minimal reproduction steps, active environment variables / reverse-proxy topology, and expected vs. observed behavior;
- Impact assessment and suggested remediation (if available).
- Supported: The
mainbranch of FsusBlogV3 and subsequent tagged releases. - Retired: FsusBlog V1 is archived and unsupported; only offline data import via
fsusblog-cli migrate-legacyis maintained in V3.
Deployments and code changes must preserve the following fail-closed boundaries:
- Online vs. Offline Privilege Separation:
fsusblog-servermust run with a DML-only PostgreSQL 18 role and performs read-only schema admission at startup. DDL initialization (plan/apply/verify), secret generation (init-secrets), administrator role grant/revoke/Passkey rotation (admin-identity), daily Merkle checkpoints, and legacy migration occur exclusively in offlinefsusblog-cli. - Unified Account & Strict Role/Session Enforcement: Readers and administrators share
public.blog_user(role IN ('user', 'admin')),public.passkey_credential, andpublic.user_sessionwith a singleHttpOnly; SameSite=Strictsession cookie (__Host-FsusSessionon HTTPS / loopback proxy;fsus-v2-sessionon loopback HTTP). Administrator elevation cannot happen over HTTP. Every account generation bump invalidates active sessions immediately. - Canonical Single-Origin & Single-Hop Proxy Trust: Lock site origin with
FSUSBLOG_PUBLIC_ORIGIN(and setFSUSBLOG_ADMIN_ENABLED=falseto disable all admin surfaces fail-closed with404). When terminating TLS at an edge proxy, enableFSUSBLOG_TRUST_LOOPBACK_PROXY=1and configure single-hopX-Forwarded-For($remote_addr) andX-Forwarded-Proto: https; never trust multi-hop client-spoofed headers. - Transport & Replay Hardening: Mutations enforce same-origin checks (
Origin+Sec-Fetch-Site), RFC 8470 (Early-Data: 1->425 Too Earlyuniformly across HTTP/1.1, HTTP/2, and HTTP/3), and strict HTTP/2 rapid-reset / control-flood / Slowloris cutoffs. - Sensitive Operation & Anti-Abuse Gates: Critical admin mutations require one-time 45-second Passkey Step-Up (
X-Fsus-Mfa-Proof, 15 actions across 11 DB tables),X-Fsus-Admin-Permission-Sessionbinding, Scoped PoW, and strict dual-control appeal review (an admin who rejected a comment receives403when attempting to decide its appeal). Generate all 32-byte symmetric keys withfsusblog-cli init-secretsand store ECDSA P-256 signing keys as0600files (private scalars are never cached in memory). - Credential-Free Anonymous Surface: All ZK anonymous comment submission and Ed25519 self-management endpoints fail closed with
400if anyCookieorAuthorizationheader is present, preventing accidental correlation with signed-in reader sessions. - OS & Interpreter Sandboxing:
fsusblog-plugin-worker, PDF rendering (data/pdf-render.py), and AOT SSR (FSUSBLOG_AOT_SSR_SCRIPT) run undersys::run_sandboxed_subprocess(sandbox-execon macOS;rlimit+PR_SET_NO_NEW_PRIVS+ optionalbwrap --unshare-neton Linux) with strict CPU, memory, output, and timeout caps. Private/public media and appearance roots must be dedicated0700directories without symlinks (O_NOFOLLOW).
For deep architectural details, see System Architecture Overview, Identity and Authentication, WAF, Security Challenges, and Audit, and ZK Anonymous Comments.