Desktop 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 Desktop 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
- A software bill of materials exists
- What: A bill of materials (SBOM) listing all dependencies is generated for each release.
- How to check: Find the SBOM generation step and output file (SPDX or CycloneDX).
- Evidence: SBOM file or CI artifact.
- 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.
- 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.
- 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.
- 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.
- 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.
+ 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.
- 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
- Electron: Security — Electron
- Electron: Process Sandboxing — Electron
- Electron: Context Isolation — Electron
- Electron: Code Signing — Electron
- Electron: Updating Applications — Electron
- Notarizing macOS software before distribution — Apple Developer
- App Sandbox — Apple Developer
- Secrets Management Cheat Sheet — OWASP Cheat Sheet Series
- Cryptographic Storage Cheat Sheet — OWASP Cheat Sheet Series
- Concise Guide for Developing More Secure Software — OpenSSF
- Pro Build Guide v1.2: compiled team practices — Pro Build Guide