Repository navigation
feat(security): add security analysis process and catalog non-affecting Containerfile CVEs - #1899
Conversation
…ng Containerfile CVEs Introduce a structured process for evaluating Docker DX vulnerability warnings, with the initial catalog entry documenting why trixie-based Containerfile image CVEs do not affect us (build-time stages, production runtime is distroless). Added: - docs/security/analysis/README.md — process document and template - docs/security/analysis/non-affecting/2026-06-10_containerfile-trixie-cves.md — CVE catalog entry - .github/skills/dev/maintenance/catalog-security-vulnerabilities/SKILL.md — AI agent skill Enhanced: - docs/adrs/20260603000000_keep_unit_tests_inside_container_build.md — Security Rationale section Also updated project-words.txt with new dictionary entries. Closes torrust#1898
fdee528 to
efaa6fc
Compare
There was a problem hiding this comment.
Pull request overview
Adds a documented security-analysis workflow and an initial “non-affecting” CVE catalog entry for Docker DX / Docker Scout findings on the Containerfile’s trixie-based build images, plus supporting skill and cross-links to existing ADR/issue-spec conventions.
Changes:
- Introduces
docs/security/analysis/with a documented process, template, and review cadence. - Adds an initial non-affecting CVE analysis entry for trixie-based Containerfile build stages.
- Adds a maintenance skill to guide future cataloging/escalation, and updates ADR + spellcheck dictionary accordingly.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
project-words.txt |
Adds spellcheck allowlist entries for CVE/package terms used in the new docs. |
docs/security/analysis/README.md |
Defines the security analysis process, structure, and review cadence. |
docs/security/analysis/non-affecting/2026-06-10_containerfile-trixie-cves.md |
Catalogs Docker DX/Scout CVEs as non-affecting for build-stage images with rationale and references. |
docs/issues/open/1898-document-security-analysis-process.md |
Adds the issue spec documenting scope/ACs for the security analysis process work. |
docs/adrs/20260603000000_keep_unit_tests_inside_container_build.md |
Adds a Security Rationale section and links to the new security analysis docs. |
.github/skills/dev/maintenance/catalog-security-vulnerabilities/SKILL.md |
Adds an agent skill describing how to catalog/handle non-affecting vulnerability warnings. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Changed skill-link from create-adr to catalog-security-vulnerabilities in CVE analysis doc - Clarified affecting/ dir as 'create when needed' in skill quick reference - Added mkdir instruction to Step 3 in the skill - Updated issue spec status from draft to in-progress, T8-T10 to DONE, added related-pr: 1899
|
ACK 6362914 |
Move issue specs that have been closed on GitHub: - torrust#1869: dependency-layer cache reuse (PR torrust#1895) - torrust#1882: extract torrust-metrics to standalone repo (PR torrust#1892) - torrust#1884: move bittorrent-peer-id to torrust-bittorrent (PR torrust#1887) - torrust#1885: extract torrust-net-primitives to standalone repo (PR torrust#1893) - torrust#1889: migrate from bittorrent-primitives to torrust-info-hash (PR torrust#1891) - torrust#1894: extract torrust-located-error to standalone repo (PR torrust#1897) - torrust#1898: document security analysis process (PR torrust#1899) Update frontmatter headers: status -> done, spec-path -> closed/, add missing related-pr and branch fields, bump last-updated-utc.
…ame validation guidance c5f6add fixup: address Copilot PR review comments on branch-name validation (Jose Celano) c17de04 chore(docs): add branch-name validation guidance across skills, agents, and hook script (Jose Celano) 39b4b4c chore(docs): archive 7 closed issue specs from open/ to closed/ (Jose Celano) Pull request description: ## Summary Two independent changes on this branch: ### 1. Archive closed issue specs (commit 73263e9) Move 7 issue specs from `docs/issues/open/` to `docs/issues/closed/` that have been closed on GitHub, and update their frontmatter to reflect the closed state: | Issue | Title | PR | |-------|-------|----| | #1869 | Improve dependency-layer cache reuse within each workflow | #1895 | | #1882 | Extract `torrust-metrics` to standalone repo | #1892 | | #1884 | Move `bittorrent-peer-id` to `torrust/torrust-bittorrent` | #1887 | | #1885 | Extract `torrust-net-primitives` to standalone repo | #1893 | | #1889 | Migrate from `bittorrent-primitives` to `torrust-info-hash` | #1891 | | #1894 | Extract `torrust-located-error` to standalone repo | #1897 | | #1898 | Document security analysis process | #1899 | ### 2. Branch-name validation guidance (commit 756284f) Add validation guidance across the dev toolchain to prevent committing under a wrong, closed, or non-existent issue number: - **`create-feature-branch/SKILL.md`** — validation step before creating a branch - **`run-pre-commit-checks/SKILL.md`** — manual check for branch name validity - **`committer.agent.md`** — step 2 validates branch name against open specs - **`pre-commit.sh`** — TODO referencing #1843 for future Rust automation - **`1843-migrate-git-hooks-scripts-from-bash-to-rust.md`** — added T22 + AC22, cross-reference related artifacts ## Verification - [x] `cargo machete` — pass - [x] `linter all` — pass - [x] `cargo test --doc --workspace` — pass - [x] Pre-push hook — pass ACKs for top commit: josecelano: ACK c5f6add Tree-SHA512: 7b18e5963bfa4a6e2e53b47fe264847b17cffea3fd1b35361a56346be71399b135f6cea137d4716da192731d1907d637c24e7c195197653c2ebc777c3daa6cf8
|
Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This pull request changed only documentation: a security-analysis process, a catalogue entry for non-affecting container CVEs and an agent skill note, with no executable effect. |
Description
Establish a structured security analysis process and create the initial catalog entry for non-affecting Containerfile CVEs flagged by Docker DX.
Added
docs/security/analysis/README.md— process document with template and review cadencedocs/security/analysis/non-affecting/2026-06-10_containerfile-trixie-cves.md— CVE catalog entry for trixie build-stage warnings.github/skills/dev/maintenance/catalog-security-vulnerabilities/SKILL.md— AI agent skill for auto-discoverydocs/issues/open/1898-document-security-analysis-process.md— issue specificationEnhanced
docs/adrs/20260603000000_keep_unit_tests_inside_container_build.md— added Security Rationale sectionproject-words.txt— new dictionary entriesRelated
Closes #1898
Related to #1457, #1460, #1463