Security Policy

Version: 3.1 · Effective: 2026-11-14 · Owner: security@paciolus.com · Classification: Public

Version 3.1 (2026-11-14) adds the database backups that went live that day and narrows four sentences to what the code shows (CSRF scope, query scoping, upload limits, transport). It replaces version 2.6, which described an organization Paciolus is not (a CISO, an on-call rotation, annual penetration tests, monthly encryption verification, a database "architecturally impossible" to breach). This version describes what is actually in place, so a customer can rely on every sentence. The previous text is kept for the record in archive/SECURITY_POLICY_pre-sprint-845_2026-10-24.md.

1. Who runs Paciolus

Paciolus is built and operated by its founder. There is no security team and no 24/7 on-call. Security issues are handled by the founder as soon as they are seen. Report one to security@paciolus.com (see the Vulnerability Disclosure Policy).

2. Certifications and testing

  • No SOC 2 audit has been performed and none is currently scheduled.
  • No third-party penetration test has been performed. There is no bug bounty.
  • No ISO 27001, HIPAA or similar certification is held or claimed.

3. What data exists and where

DataWhereNotes
Uploaded filesServer memory, for the requestNot saved to the database or file storage. A previewed PDF or workbook is held in memory for up to 10 minutes so the tool can reuse it.
Accounts, client metadata, settingsNeon PostgreSQL (US East, us-east-1)
Analysis summariesNeonCategory totals, ratios, row counts, total debits/credits, materiality, flagged account names (no amounts).
Engagement entriesNeonWhat the user types: materiality, follow-ups, intercompany mappings, analytical expectations, uncorrected misstatements (with amounts).
Shared report filesCloudflare R2 (paciolus-exports)Only reports a user chooses to share by link; 24 h (Professional) or 48 h (Enterprise), then deleted.
Rate-limit countersRender Key ValueRequest counts keyed by user or IP.
Database backupsCloudflare R2 (paciolus-backups)A daily pg_dump of the Neon database, made by a GitHub Actions job with a read-only role; 30 daily and 12 monthly copies.
Application logsRender log stream (and Grafana Cloud Loki if enabled)No uploaded file contents; exception type names only; tracebacks stripped in production.
Error reportsSentryNo request bodies, frame local variables, exception messages or breadcrumbs (stripped before sending).
PaymentsStripeCard data never reaches Paciolus.
EmailSendGridVerification, password reset and billing notices.

4. Controls in place

Transport. HTTPS (TLS) is provided by our hosts, Vercel (frontend) and Render (backend); the TLS versions offered are theirs. HSTS, a nonce-based Content-Security-Policy with strict-dynamic, frame-ancestors 'none' and no-store on downloads. Strict CORS allowlist.

At rest. Encryption at rest is provided and managed by Neon and Cloudflare R2. Paciolus does not run its own encryption-at-rest layer and does not separately verify the providers' encryption.

Authentication. Passwords hashed with bcrypt (12 rounds). Access tokens expire after 15 minutes and are held in memory in the browser; refresh tokens are HttpOnly, Secure, SameSite cookies rotated on use with reuse detection (reuse revokes every session). A password change revokes all sessions. Five failed logins lock an account for 15 minutes. Unknown-email and locked-account logins take the same time as real ones. There is no multi-factor authentication in the app, including for the platform administrator.

Request integrity. State-changing requests made while signed in carry CSRF tokens HMAC-bound to the user, plus Origin and Fetch-Metadata checks. Pre-sign-in routes (login, registration, password reset), the Stripe webhook, the contact form and the waitlist are exempt. Every route is rate-limited (60 requests/minute by default, tighter on authentication, upload, export and write endpoints).

Tenancy. Customer-data queries are scoped to the signed-in account in application code (the platform-administrator routes in §4 are deliberately not). There is no database row-level security. This is designed to prevent one customer reading another's data; no isolation guarantee beyond that is made.

Uploads. Size (100 MB), row (500,000), column (1,000) and cell-length (100,000 characters) limits; file-signature checks; archive-bomb limits (uncompressed size and ratio, per format); defusedxml for XML; a 500-page cap on PDFs.

Exports. Every CSV cell is escaped against spreadsheet formula injection by one shared writer. Shared-report passcodes (optional) are hashed with Argon2id and throttled per token and per client IP.

Administrator access. One platform administrator role (superadmin). It can view customer accounts and start a read-only, 15-minute impersonation session, which is recorded in the admin audit log and cannot write. Revenue metrics are visible only to that role.

5. Monitoring and incidents

Errors go to Sentry. A GitHub Actions probe checks the live site every 15 minutes (GitHub may delay scheduled runs). Security events — failed logins, lockouts, refresh-token reuse, impersonation, account erasure — are written to the logs and, for the critical ones, to a security_events table kept for 365 days. See the Incident Response Plan.

6. Backups and recovery

The database is copied every day with pg_dump to Cloudflare R2, a separate provider, by a GitHub Actions job that uses a read-only database role. A weekly check confirms the newest backup is complete and recent, and a monthly test restores a backup into a temporary database and compares it. Neon's point-in-time recovery is available in addition. The first full restore test passed on 2026-11-14. See Business Continuity.

7. Changes

Code changes go through pull requests with automated tests, linting and security scanning (see Secure SDL). This policy is updated when the facts above change.