Security

Your data security is foundational, not optional

Complia is built for industries where trust is everything. Our security practices reflect the same rigor we bring to compliance -- thorough, documented, and continuously improving.

How we protect your platform and data

Security is built into every layer of the Complia stack, from infrastructure to application to operational processes.

🔒

Encryption Everywhere

All data is encrypted in transit using TLS 1.3 and at rest using AES-256 encryption. API keys, tokens, and sensitive credentials are encrypted with dedicated encryption keys.

🛡

Infrastructure Security

Hosted on DigitalOcean with private networking, managed firewalls, and automated backups. Database connections use SSL with connection pooling and retry logic.

🔐

Authentication & Access

Bcrypt password hashing, JWT-based session management with secure HTTP-only cookies, rate limiting, and account lockout protection against brute force attacks.

📋

Audit Logging

Comprehensive audit trail for all compliance events, admin actions, order modifications, and security-relevant activities. Logs are immutable and retained for regulatory purposes.

🔍

Security Testing

Regular SAST scanning, dependency auditing, secret detection, and PCI-DSS compliance checks. Security is integrated into our CI/CD pipeline, not bolted on after the fact.

🚨

Incident Response

Documented incident response procedures with defined escalation paths. Security incidents are communicated transparently and promptly to affected customers.

Application Security

The Complia platform is built on Nuxt 4 with Nitro server, following modern security best practices at every layer:

  • Content Security Policy (CSP): Strict CSP headers prevent XSS attacks by controlling which scripts, styles, and resources can be loaded
  • Security headers: X-Frame-Options (DENY), X-Content-Type-Options (nosniff), Referrer-Policy, and Permissions-Policy headers on all responses
  • Input validation: All user input is validated and sanitized server-side using Zod schema validation
  • CSRF protection: SameSite cookie attributes and token-based protection against cross-site request forgery
  • SQL injection prevention: Parameterized queries throughout -- no raw string concatenation in database operations
  • Rate limiting: API endpoints are rate-limited to prevent abuse (e.g., 3 auth emails/hour, 5 login attempts/15 minutes)

Payment Security

Handling payments for regulated products requires the highest standards of security:

  • PCI-DSS compliance: Payment data is handled in compliance with Payment Card Industry Data Security Standards
  • Token encryption: Payment tokens are encrypted with dedicated encryption keys (NFR-SEC-003) and never stored in plaintext
  • Processor isolation: Payment processing is delegated to PCI-certified processors -- Complia never stores raw card numbers
  • Chargeback monitoring: Automated monitoring and dispute management to protect against fraudulent chargebacks

Infrastructure Security

  • Private networking: Database and cache services are accessible only through private network interfaces, not exposed to the public internet
  • Managed databases: PostgreSQL with automated backups, point-in-time recovery, and encrypted storage
  • Environment isolation: Strict separation between development, staging, and production environments with independent databases and credentials
  • SSL/TLS: All database and cache connections require SSL. Public endpoints use TLS 1.3
  • Secrets management: Environment variables for all credentials -- no secrets in code, configuration files, or version control

Data Protection

  • Automated backups: Daily database backups with cloud storage replication and verified restore procedures
  • Data residency: All data is stored in US-based data centers
  • Access controls: Role-based access control (RBAC) with distinct admin, sales, and fulfillment roles
  • Data minimization: We collect and retain only the data necessary to provide the Service
  • Right to erasure: Customer data can be exported and deleted upon request within 30 days

Operational Security

  • Dependency scanning: Automated vulnerability scanning of all npm dependencies in CI/CD pipeline
  • Static analysis: SAST tools scan for security vulnerabilities in application code
  • Secret detection: Automated scanning to prevent accidental commit of credentials or API keys
  • Migration safety: Database migrations are tested in isolated environments before production deployment, with mandatory rollback procedures
  • Incident documentation: All production incidents are documented with root cause analysis and preventive measures

Reporting a Vulnerability

We take security seriously and appreciate responsible disclosure. If you discover a security vulnerability in the Complia platform, please report it to us:

  • Email: security@complia.co
  • Please include a detailed description of the vulnerability, steps to reproduce, and potential impact
  • We will acknowledge receipt within 24 hours and provide a timeline for resolution
  • We ask that you give us reasonable time to address the issue before public disclosure

Security questions?

Our team is happy to discuss our security practices in detail and answer any questions about how we protect your business.