Skip to main content

Security Overview

Last updated: 2026-11-01

Headlines

  • Encryption in transit (TLS with HSTS; TLS 1.3 supported) and at rest (AES-256).
  • Passwords hashed with PBKDF2-SHA256 (100,000 iterations, 32-byte salt); no plaintext storage.
  • Detection history stores scores and metadata.
  • SHA-256 hashing of IPs; we never store plaintext IP.
  • Account-lockout protection on administrative access (10 failed attempts → temporary lock); least-privilege role separation; MFA hardening is on the roadmap.
  • Edge-served on a globally-distributed anycast network with WAF and rate limiting.
  • Coordinated vulnerability disclosure via /.well-known/security.txt.
  • SOC 2 Type II audit planned within 12 months of GA.

1. Hosting & network

  • The website and API run on a globally distributed edge platform, which also provides our database, cache, and object storage.
  • ML inference runs on a separately hosted service, called over TLS.
  • The website and API have no origin servers of our own, so there is no SSH or RDP access to them.
  • WAF rules block known abusive patterns.

2. Encryption

  • In transit: TLS 1.3 supported; the website accepts TLS 1.2 or higher and redirects HTTP to HTTPS automatically; HSTS with preload directive; SSL Labs A+ target.
  • At rest: AES-256 for D1, R2, KV (provider-managed envelope keys).
  • Sensitive fields: passwords hashed with PBKDF2-SHA256 (100,000 iterations, 32-byte salt, 32-byte derived key — RFC 8018 §5.2 compliant); session tokens are HMAC-SHA256 signed JWTs in an HttpOnly+Secure+SameSite=Lax cookie; CSRF mitigated via SameSite cookies, Origin checks on form submissions, and a strict CORS allowlist.
  • Inter-service: TLS on every call between our website, API and inference service; payment webhooks verified by HMAC signature.

3. Access control

  • Administrative access is gated by username + strong password (PBKDF2-SHA256 verified) and protected by IP + identifier-pair lockout after 10 failed attempts within 15 minutes. Hardware-backed MFA (WebAuthn) is on the roadmap.
  • Least-privilege role separation: user / admin / super_admin. Only super_admin can impersonate, override plans, or run the self-test sandbox.
  • Admin changes such as impersonation, plan overrides, and account deletion are recorded in an audit log, kept with no fixed expiry.
  • Access to submitted text is limited to authorised staff, and every access is logged.

4. Data handling

  • Detection history stores scores and metadata. Plagiarism-scan reports keep the passages of your text that matched a source.
  • Result cache keyed by sha256(text); entries expire after 24 hours (7 days for plagiarism scans) and can include your text or excerpts of it until then.
  • Anonymous-tier rate limit keyed by a SHA-256 hash of the IP — never stores plaintext IP.
  • Backups encrypted; point-in-time recovery on D1.
  • Retention schedule documented in Privacy Policy §10.

5. Application security

  • External input validated with Zod schemas.
  • CSP, X-Frame-Options DENY, X-Content-Type-Options nosniff, Referrer-Policy strict-origin-when-cross-origin, Permissions-Policy.
  • CSRF mitigated with SameSite cookies and Origin checks.
  • Session cookie is SameSite=Lax, HttpOnly, and Secure.
  • No eval(); a Content-Security-Policy restricts script origins.
  • Output escaping audited at template boundaries.

6. Bot & abuse defence

  • Account lockout after repeated failed logins; password-reset emails rate-limited per IP.
  • Rate limiting at the edge with KV-backed counters.

7. Vulnerability management

  • Dependency versions pinned with a lockfile.
  • Quarterly review and patch of base images and ML inference images.
  • Critical CVEs patched within 7 days of public disclosure.
  • Annual third-party penetration test once we reach $1M ARR or 10k MAU, whichever first.

8. Incident response

  • Documented runbooks for production incidents, with a severity matrix.
  • Public post-incident summary within 5 business days for major incidents.
  • Customer notification within 72 hours of confirmed personal-data breach (per Privacy Policy §12 and DPA §9).

9. Coordinated vulnerability disclosure

We welcome reports. Read /.well-known/security.txt and email security@deepaidetector.com. Out of scope: spam, missing security headers without demonstrable impact, social-engineering attacks against employees, DoS, and rate-limit bypass that does not lead to data exposure. We commit to acknowledge within 2 business days, triage within 5, and not pursue legal action against good-faith researchers who follow the policy.

10. Compliance & certifications roadmap

  • Current: our Privacy Policy sets out your rights under GDPR, UK GDPR, CCPA/CPRA, and LGPD; a standard DPA with EU SCCs is available.
  • Planned within 12 months of GA: SOC 2 Type II.
  • Planned within 24 months of GA: ISO 27001.
  • If demand: HIPAA / BAA (only with healthcare-vertical customers and an explicit signed BAA).

11. Sub-processors

See Privacy Policy §8 and the DPA.

12. Business continuity & resilience

  • Website and API served from a global edge network.
  • If the detection model is temporarily unavailable, a detection still returns a result from our rule-based analysis.
  • Payment webhook handlers are idempotent; failed deliveries are retried.

13. Personnel

  • Everyone with access to personal data is bound by confidentiality obligations.

14. Contact

Security questions: security@deepaidetector.com. Privacy: privacy@deepaidetector.com.