Skip to content
πŸ” Security Posture Publication

Security Posture

Detailed technical documentation of how Aegis Firma stores, processes, and protects your data. We publish this for enterprise procurement reviews and security-conscious buyers.

Last updated: April 2026 Β· Version 1.0

Encryption

LayerAlgorithmKey Management
Data at rest (database)AES-256AWS KMS managed by Supabase
Data in transitTLS 1.3 (TLS 1.2 minimum)Let's Encrypt via Cloudflare
Password storagebcrypt (cost factor 10+)N/A β€” one-way hash, never reversed
Team vault passwordsAES-256-GCM (client-side)PBKDF2-SHA-256 250k iterations; derived from master password; never sent to server
Session tokensJWT RS256Supabase Auth RSA keypair, rotated automatically
E-signature auth tokensCSPRNG hex (48 bytes)Generated per signer, stored hashed
NPS survey share tokensCSPRNG hex (32 bytes)Generated per survey response

Sub-processors

All third parties who may process your data. Aegis Firma does not sell or share your data for advertising. Sub-processors are selected for their compliance posture and DPA availability.

Sub-processorPurposeData accessedRegionDPA
SupabasePostgreSQL database, auth, storageAll customer data (encrypted at rest)EU (Europe West) / US Eastβœ“
CloudflareCDN, WAF, edge hosting, DDoS mitigationHTTP request metadata (IP, headers). Not application data.Global edge (30+ countries)βœ“
LemonSqueezyPayment processing, subscription billingBilling email, subscription plan, payment method (tokenized)USβœ“
ResendTransactional email (invites, alerts, summaries)Recipient email addresses, email contentUS / EUβœ“

All sub-processors have Data Processing Agreements in place. Sub-processor list is reviewed quarterly.

Data Residency

Primary data location

Customer data is stored in Supabase's EU (Europe West) region by default, hosted on AWS infrastructure. Data does not leave the EU region except:

  • β€’ Resend (email) β€” recipient addresses and transactional email content
  • β€’ LemonSqueezy (payments) β€” billing metadata only, US region
  • β€’ Cloudflare CDN β€” static assets only, no application data

Enterprise customers with specific data residency requirements (US-only, UK, etc.) may contact us to discuss custom deployment options. Default region selection follows GDPR requirements for EU data subjects.

Incident Response

⚑

< 4 hours

Detection target

From incident start to detection via monitoring alerts

πŸ”’

< 2 hours

Containment target

From detection to isolation of affected systems

πŸ“§

72 hours

GDPR notification SLA

Supervisory authority notified within 72h of confirmed breach

We maintain an incident response runbook covering: detection (automated monitoring alerts from Cloudflare + Supabase), containment (session invalidation, API key rotation, RLS policy lockdown), eradication (patching + re-deploy), recovery, and post-incident review. Customer notification follows GDPR Art. 33/34 requirements β€” we notify affected users within 72h of confirming a breach affecting their personal data.

Backup & Recovery

ItemFrequencyRetentionRTORPO
Database (Supabase)Daily automatic7 days (free), 30 days (Pro)4 hours24 hours
File storage (Supabase Storage)Daily automatic7 days4 hours24 hours
Application codeGit (every commit)Indefinite (GitHub)30 minutesZero (code)
Cloudflare configurationGit-controlled (IaC)Git history30 minutesZero

RTO = Recovery Time Objective (how quickly we restore service). RPO = Recovery Point Objective (maximum data loss window). Restore tests are planned quarterly.

Access Controls

  • βœ“Production database access: Supabase dashboard credentials protected by MFA. Only the founder has production access.
  • βœ“Cloudflare account: MFA enforced. API tokens are scoped with minimum necessary permissions.
  • βœ“GitHub: MFA enforced. Branch protection on main branch β€” no direct pushes, CI must pass.
  • βœ“LemonSqueezy / Resend / Cloudflare accounts: MFA enforced. API keys stored as environment secrets only.
  • βœ“Service accounts: Each sub-processor has its own scoped API key. No shared credentials between services.
  • βœ“Application access: Role-based (owner/admin/member/viewer) enforced by Row-Level Security at the database level, not just application code.
  • βœ“Access review: Quarterly review of all service accounts and API keys. Unused keys are revoked.

Personnel & Access

Honest disclosure

Aegis Firma is currently a solo-founder company. The founder is the only person with production access. Contractors and future employees will sign NDAs, complete security awareness training, and be granted minimum-necessary access. All production access requires MFA.

We do not perform formal background checks at this stage. If your procurement requires background check attestation, please contact us to discuss alternative assurances.

Security Program Overview

βœ“Continuous automated vulnerability scanning (OWASP ZAP, Semgrep, npm audit)
βœ“Public responsible disclosure program with SLA commitments
βœ“Security headers: HSTS, CSP, X-Frame-Options, COOP, CORP, Permissions-Policy
βœ“Input validation (Zod) on all 55+ API routes
βœ“Row-Level Security on all 85+ database tables
βœ“Custom attack test suite (45 tests: SQLi, XSS, IDOR, CSRF, race conditions, etc.)
βœ“Secret scanning on every commit (Gitleaks)
βœ“Incident response runbook with GDPR 72h notification SLA
β—‹SOC 2 Type 2 audit (planned post-Series A, ~2027)
β—‹Third-party penetration test (planned when revenue supports $10K+ cost)
β—‹ISO 27001 certification (planned post-SOC 2)
β—‹Formal employee background checks (implemented when team grows)

Security Scan Summary

We publish a summary of our automated security scans each quarter. These are not a substitute for a third-party penetration test but demonstrate our active security hygiene.

Scan typeLast runFindingsStatus
OWASP ZAP (web app)April 20260 High, 0 Criticalβœ… Clean
Semgrep SASTApril 20260 Critical, 2 Infoβœ… Passing
npm audit + OSVApril 20260 High, 0 Criticalβœ… Clean
Mozilla ObservatoryApril 2026Grade: Aβœ… A grade
Custom attack tests (45)April 20260 exploitableβœ… All pass
Gitleaks secret scanApril 20260 secrets foundβœ… Clean
Third-party pentestNot yet performedβ€”βš οΈ Pending (planned 2027)

Dependency Management

We track all software dependencies and scan for vulnerabilities daily using npm audit and OSV Scanner. Key dependencies and their security posture:

Next.js 14 (Web framework)

Maintained by Vercel, rapid security patching

Supabase JS (Database client)

Parameterized queries by default

Zod (Input validation)

Schema validation on all inputs

Jose (JWT handling)

Standards-compliant, RS256 algorithm enforcement

Tailwind CSS (Styling)

No runtime JS, no attack surface

Lucide React (Icons)

Static SVG, no network requests

Full SBOM (Software Bill of Materials) in CycloneDX format is available upon request for enterprise customers.

Change Management

How code reaches production:

  1. 1

    Development

    Code written in feature branches. TypeScript enforces type safety. Zod validates all runtime inputs.

  2. 2

    Self-review

    Solo founder reviews all changes against a security checklist before merging: auth check present, RLS applied, Zod schema complete, no secrets in code.

  3. 3

    Automated CI

    npm run build + TypeScript compilation + Semgrep SAST + npm audit. Build fails on type errors or critical security findings.

  4. 4

    Staging preview

    Cloudflare Pages generates a unique preview URL for every commit. Tested before promotion to production.

  5. 5

    Production deploy

    Merge to main triggers Cloudflare Pages build and deploy. Zero-downtime. Automatic rollback if build fails.

  6. 6

    Post-deploy

    Automated smoke tests. Monitoring alerts for error rate spikes. New migration runs sequentially via Supabase migration runner.

Uptime & Availability

Real-time uptime and incident history is available on our public status page. Aegis Firma is hosted on Cloudflare Pages' 300+ city global network with 99.99%+ SLA from Cloudflare. Supabase provides 99.9% SLA for database availability.

Customer Data Handling

Data typeRetentionDeletion SLAExport format
Compliance records, documentsDuration of subscription + 30 days30 days after account closureJSON, CSV
User account data (email, name)Duration of subscription + 30 days30 days after account closureJSON
Audit logs2 years (for compliance purposes)After retention periodJSON, CSV
Payment recordsAs required by law (7 years)Cannot delete β€” legal requirementVia LemonSqueezy
Security logs (IP, access)90 daysAutomatic after 90 daysN/A

To request deletion or export of your data, email privacy@aegisfirma.com. Requests are fulfilled within 30 days (GDPR requirement).

AI Training Data Policy

Your data never reaches a third-party AI provider.

  • βœ“Aegis Firma does not use customer data to train, fine-tune, or improve any AI model.
  • βœ“Document generation runs on static, deterministic templates. Your organisation's content is never sent to a third-party AI provider at request time.
  • βœ“There is no per-customer AI API call anywhere in the product β€” the same input always produces the same output.
  • βœ“Because nothing leaves for an external AI provider, there is no AI-provider retention, no AI-provider training exposure, and no AI sub-processor to vet.

CSA CAIQ Self-Assessment

We have completed an internal CAIQ v4 (Consensus Assessments Initiative Questionnaire) self-assessment. The full assessment is available upon request for enterprise procurement teams and can be shared under NDA.

Application & Interface Security

Partial

Input validation, XSS protection, CSRF mitigation implemented. No formal SDLC process yet.

Audit Assurance & Compliance

Partial

Internal audit logs maintained. No third-party audit yet.

Business Continuity

Partial

Daily backups, documented RTO/RPO. No formal DR test yet.

Change Control

Implemented

Git-controlled, CI gates, branch protection, staged rollout.

Data Security

Implemented

AES-256, TLS 1.3, RLS, data classification implemented.

Encryption & Key Management

Implemented

All data encrypted at rest and in transit. Client-side vault encryption.

Full CAIQ v4 questionnaire available to enterprise prospects. Contact sales@aegisfirma.com. We plan to submit to the CSA STAR Registry (free self-assessment level) by Q3 2026.

Security questions?

We're transparent. Ask us anything about our security practices.