Command-line tool: 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 Command-line tool. 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.
- 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.
- 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.
- Security scan exceptions are recorded and expire
- What: Each silenced scan warning is a machine-readable record (id, package, versions, level) that expires when the package or severity changes, lasts at most 30 days, and is listed in reports.
- How to check: Find the exceptions file; check expiry fields; compare with the report.
- Evidence: Exceptions file with dates and reasons.
- Accessibility basics meet WCAG 2.2 AA
- What: Correct heading order, text alternatives, enough contrast, keyboard navigation, visible focus, sufficient touch targets, and respect for reduced-motion settings.
- How to check: Tab through every screen; run an automated checker (for example axe) and a contrast check; test with a screen reader once; check
prefers-reduced-motionhandling. - Evidence: Checker report, list of screens tried with keyboard and screen reader.
+ 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.
Sources
- POSIX: Utility Conventions — The Open Group
- OS Command Injection Defense Cheat Sheet — OWASP Cheat Sheet Series
- Secrets Management Cheat Sheet — OWASP Cheat Sheet Series
- Input Validation Cheat Sheet — OWASP Cheat Sheet Series
- Concise Guide for Developing More Secure Software — OpenSSF
- SLSA: Supply-chain Levels for Software Artifacts — OpenSSF
- SPDX — Linux Foundation
- Pro Build Guide v1.2: compiled team practices — Pro Build Guide