Progressive web app: 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 Progressive web app. 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)
- Exact versions, 7-day rule, pinned images and actions
- What: Dependencies use exact versions (no
^or~); newly published versions wait at least 7 days before install (critical security fixes excepted, with a written reason and end date); Docker images are pinned by digest and CI actions by full commit ID; major upgrades are done one by one. - How to check: Read dependency files, Dockerfile and CI files; check the release dates of recent upgrades.
- Evidence: Dependency file lines; upgrade notes with release dates.
- What: Dependencies use exact versions (no
- 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.
- 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.
- End-to-end tests, short CI run, guards, screenshot checks
- What: End-to-end tests exist; a short run happens in CI; guards (tests that enforce rules) protect important rules; screen checks cover both themes and all languages; new end-to-end tests pass three runs in a row before merging; a red test is fixed in code, never silenced.
- How to check: Read the CI file and test folders; look for skipped tests and quarantined guards.
- Evidence: CI run, guard inventory, three-run log.
- Encrypted backups sit with another provider, and code is copied
- What: Backups are encrypted and kept in a different provider or account so a compromised main account cannot delete them; object storage has versioning or backup; backups run as a separate service with failure alarms; a full copy of the code (all branches, history) is delivered to the owner regularly.
- How to check: Read backup configuration, destination account and alarms; find the last code copy.
- Evidence: Backup destination; alarm rule; date of last code copy.
- An accessibility guard and manual screen reader check exist (L+)
- What: Automated accessibility checks run in CI, and someone has used a screen reader on the main flows.
- How to check: Read the CI scan and find the manual test notes.
- Evidence: CI step; notes.
+ If it targets millions of users (XL)
- 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.
Sources
- Progressive web apps — MDN Web Docs
- Web application manifest — MDN Web Docs
- Making PWAs installable — MDN Web Docs
- Offline and background operation — MDN Web Docs
- Service Worker API — MDN Web Docs
- Web Application Manifest — W3C
- Service Workers — W3C
- Learn PWA — web.dev (Google)
- What does it take to be installable? — web.dev (Google)
- The service worker lifecycle — web.dev (Google)
- Common techniques to build offline applications — web.dev (Google)
- Pro Build Guide v1.2: compiled team practices — Pro Build Guide