Security: classes L–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 Security. Read the main page first. This part holds the audit checklist items for classes L–XL.
Audit checklist
+ If it has an admin panel, file uploads, many users or a store app (L)
- Access to other users’ records is tested on every endpoint
- What: For each endpoint a test changes the identifier in the request and confirms the user cannot reach someone else’s data (IDOR/BOLA).
- How to check: List endpoints that take an ID; find the matching negative test for each.
- Evidence: Test names per endpoint.
- Rate limits are per account and tolerate shared IPs
- What: Limits are per account; unauthenticated endpoints also have IP limits, tuned for mobile carriers that put thousands of users behind one IP (CGNAT).
- How to check: Read the limiter configuration and thresholds; test many users from one IP.
- Evidence: Limit table; test results.
- No device-based blocking
- What: Blocking works at account level; device identifiers are used only for the user’s own session list and legal records.
- How to check: Search for device-ID based ban logic.
- Evidence: Search result; policy note.
- Admin panel is locked down
- What: Two-step verification is required; roles and permissions are checked on the server; every admin action is written to an audit trail that cannot be deleted; user content shown in the panel is sanitized against XSS.
- How to check: Read the admin auth and role code; try an admin action and find its audit entry; try to delete the audit entry.
- Evidence: 2FA setting; audit table and its permissions; XSS test.
- Admins cannot read private user content
- What: Staff and moderators have no way to read users’ private content (messages, notes, spending); what they can see is limited and every view is logged; passwords are never visible.
- How to check: Read the admin routes and queries; search for tables with private content in admin code.
- Evidence: List of admin-visible fields; audit log of views.
- CSRF, CORS, security headers and mass assignment are handled
- What: CSRF protection is on; CORS has an allow list; security headers (HSTS, nosniff, CSP, frame ban, Referrer-Policy) are set; extra fields in request bodies cannot change privileged state.
- How to check: Request the site and read headers; send an unexpected field such as
rolein a request body; read the CORS configuration. - Evidence: Header output; test for the extra field; CORS list.
- Uploads follow identity → permission → rate limit → receive
- What: An upload is accepted only after identity, permission and rate limit checks; unauthorized request bodies are never written to disk; files are not held in memory; size and type are checked on the server; image bombs and disguised files are tested.
- How to check: Read the upload handler order; send an oversized file, a renamed executable and a huge image.
- Evidence: Handler code; test results.
- Downloaded and uploaded files are treated as hostile
- What: Files from users are stored outside the web root, named by the server, scanned or type-checked, and served with safe content types and download headers.
- How to check: Read the upload and download handlers; upload an HTML or SVG file and open its URL.
- Evidence: Handler code; test result.
- No “check then write” races
- What: State changes use conditional updates; counters are incremented in the database, not read and rewritten in code.
- How to check: Search for read-then-update patterns on balances, counters and status fields.
- Evidence: Code showing conditional updates; concurrency test.
- Every external call has a time limit
- What: Database queries, storage, e-mail, notifications, AI calls and external processes all have an upper time limit.
- How to check: Search for HTTP client and process calls without a timeout setting.
- Evidence: Configuration or code lines with timeouts.
- Limits and capacities are listed in one place
- What: Every rate limit and capacity is in one list: value, window, capacity reasoning, what an attacker could do, side effects.
- How to check: Find the inventory document and compare it with limiter code.
- Evidence: Inventory document.
- Unknown or missing settings stop the process
- What: The process refuses to start with an unrecognized environment value or a missing required setting; there is no silent fallback; checks ask “is this development or test?” rather than “is this not production?”; endpoint groups can be locked by a single feature-lock file.
- How to check: Start the app with a missing required variable and a wrong environment name; read the lock file.
- Evidence: Startup failure message; lock file.
+ If it targets millions of users (XL)
- 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.
Sources
- OWASP Top 10 — OWASP
- Application Security Verification Standard (ASVS) — OWASP
- OWASP API Security Top 10 – 2023 — OWASP
- Web Security Testing Guide — OWASP
- Authentication Cheat Sheet — OWASP Cheat Sheet Series
- Session Management Cheat Sheet — OWASP Cheat Sheet Series
- Password Storage Cheat Sheet — OWASP Cheat Sheet Series
- Input Validation Cheat Sheet — OWASP Cheat Sheet Series
- Cross Site Scripting Prevention Cheat Sheet — OWASP Cheat Sheet Series
- SQL Injection Prevention Cheat Sheet — OWASP Cheat Sheet Series
- Cross-Site Request Forgery Prevention Cheat Sheet — OWASP Cheat Sheet Series
- Insecure Direct Object Reference Prevention Cheat Sheet — OWASP Cheat Sheet Series
- Secrets Management Cheat Sheet — OWASP Cheat Sheet Series
- Logging Cheat Sheet — OWASP Cheat Sheet Series
- HTTP Headers Cheat Sheet — OWASP Cheat Sheet Series
- Content Security Policy Cheat Sheet — OWASP Cheat Sheet Series
- SP 800-63B: Digital Identity Guidelines (Authentication) — NIST
- SP 800-218: SSDF Version 1.1 — NIST
- Content Security Policy (CSP) — MDN Web Docs
- Strict-Transport-Security header — MDN Web Docs
- Pro Build Guide v1.2: compiled team practices — Pro Build Guide