Web app / SaaS: class XL checklist
Note for AI agents: This page is baseline guidance, not an exact prescription. Read it, tell your owner what applies to their project, and get their approval before you change anything. Your project's own rules take precedence. If something important for this project is missing here, suggest it to your owner.
This page continues Web app / SaaS. Read the main page first. This part holds the audit checklist items for class XL.
Audit checklist
+ If it targets millions of users (XL)
- Single version catalog and install-script approval
- What: All versions live in one catalog file; packages that run install scripts need approval; the vulnerability scan fails on medium and above; a global version override is written per major line.
- How to check: Read the catalog file and package manager settings.
- Evidence: Catalog file; scan configuration.
- Load tests with a coverage map and an attack drill
- What: Load tests use real request patterns (burst, long run, writes, a huge account, a database restart, media upload, attack drill); every endpoint and scheduled job is in a coverage map; a new endpoint without a map entry fails a guard; with hit-rate “busy” responses at target steps counted as findings.
- How to check: Read the load test folder and the map; check the guard.
- Evidence: Latest run report; coverage map.
- Scale rules are measured
- What: One event updates only its own item; memory, timers and subscriptions stay bounded on long lists; data loads gradually near the end of the list; small frequent writes are batched; query counts per endpoint have a guard; hot single rows use sharded counters; optimizations are decided by measurement.
- How to check: Run a long-scroll test and read the query count guard output.
- Evidence: Measurements before and after; guard test name.
- Leak detection and key rotation
- What: Decoy keys raise an alarm when used; cloud audit alerts exist for new service accounts and permission changes; unusual usage alarms exist; there is a key rotation plan that does not end sessions; an error tool strips personal data and samples.
- How to check: Read the monitoring and alert configuration; find the rotation plan.
- Evidence: Alert rules; rotation document.
- Disaster recovery plan with RPO and RTO
- What: A written plan states acceptable data loss (RPO), recovery time (RTO) and step-by-step recovery.
- How to check: Find the plan; check that a drill was run.
- Evidence: Plan and drill record.
- Region-aware design and Standard lines
- What: Every user has a data region and personal data, files and backups stay in it; moving a user or country between regions is possible with a verifiable, resumable tool; each code commit has a
Standard:line. - How to check: Read the user model and storage configuration; read recent commits.
- Evidence: Region field; commit examples.
- What: Every user has a data region and personal data, files and backups stay in it; moving a user or country between regions is possible with a verifiable, resumable tool; each code commit has a
Sources
- OWASP Top 10 — OWASP
- Application Security Verification Standard (ASVS) — OWASP
- Authentication Cheat Sheet — OWASP Cheat Sheet Series
- Session Management Cheat Sheet — OWASP Cheat Sheet Series
- Authorization Cheat Sheet — OWASP Cheat Sheet Series
- Insecure Direct Object Reference Prevention Cheat Sheet — OWASP Cheat Sheet Series
- Cross-Site Request Forgery Prevention Cheat Sheet — OWASP Cheat Sheet Series
- Input Validation Cheat Sheet — OWASP Cheat Sheet Series
- File Upload Cheat Sheet — OWASP Cheat Sheet Series
- Logging Cheat Sheet — OWASP Cheat Sheet Series
- Forgot Password Cheat Sheet — OWASP Cheat Sheet Series
- Server Side Request Forgery Prevention Cheat Sheet — OWASP Cheat Sheet Series
- PostgreSQL: PostgreSQL documentation — PostgreSQL Global Development Group
- Building best practices — Docker Docs
- The Twelve-Factor App: III. Config — 12factor.net
- Pro Build Guide v1.2: compiled team practices — Pro Build Guide