Security Whitepaper

Technical security overview – version 1.1 (2026-04-22)

This is the public version of our Security Whitepaper. For deeper technical documentation (server configurations, diagrams, pentest summaries), contact support@lexcodex.ai — NDA may be required.

1. Summary

LexCodex.ai is an AI-driven legal analysis platform. This whitepaper describes our security architecture, data flows, intrusion protection and GDPR mechanisms. The fundamental principle is zero data retention on legal content.

2. Architecture

Frontend: Vanilla JavaScript SPA with static HTML pages. No third-party libraries for authentication.

Backend: PHP 8 on Apache with MySQL/PDO. Hosting via Easywebbhotell (Plesk, Sweden).

AI layer: Anthropic. No contract texts or AI responses are stored, and LexCodex does not use data for model training.

3. Data flow

When a user analyses text:

  1. Text is sent encrypted (TLS 1.3) to our PHP proxy
  2. The proxy validates session, rate limit, user plan and CSRF
  3. The text is sent encrypted to Anthropic
  4. The response is returned to the user
  5. The text is not stored on our servers — only counts of the number of analyses and which tool was used (without content, for aggregated statistics)

4. Tenant isolation

Each user account is isolated at the database level:

5. Authentication

6. Transport and storage

7. Intrusion protection

8. GDPR mechanisms (self-service)

9. Incident handling

10. Audits and tests

Internal security audit conducted April 2026 (documented, covers P0–P3 threats). External pentest can be arranged on request for enterprise customers.

11. Sub-processors

Provider Purpose Location Certifications
Anthropic PBC AI (Claude API) US / EU routing SOC 2 Type II, ISO 27001, ISO 42001, HIPAA
Easywebbhotell Hosting (server + DB) Sweden GDPR-compliant
Stripe Payment US / Ireland PCI DSS Level 1
Google reCAPTCHA, Analytics US / EU ISO 27001/17/18

12. Transparency

LexCodex.ai is not itself ISO 27001 or SOC 2 certified. We build security through standardised web platform technologies and third-party certified providers. For enterprise customers requiring own certification, contact us to discuss the roadmap.

13. Contact

Security incidents: support@lexcodex.ai

Security audit / additional documentation: support@lexcodex.ai

See also: Data Processing Agreement (DPA) · Privacy Policy · Security & Trust