run-manual-docker-security-scan
БесплатноБез исполняемых скриптовНе проверенBuild the tracker container image, scan it with Trivy, triage its CVEs and record the results. Use when asked for a manual Docker security scan.
от torrust★ 539 звёзд на GitHubОб этом скилле
Run Manual Docker Security Scan
Use this workflow to run and document manual security scans for the tracker production container.
Scope
- Target image: tracker runtime image built from root
Containerfile. - Main severity gate:
HIGH,CRITICAL. - Documentation outputs:
docs/security/docker/scans/torrust-tracker.mddocs/security/docker/scans/README.mddocs/security/analysis/production/CVE-*.md(when non-affecting CVEs are analyzed)
Quick Commands
# 1) Build runtime image
docker build -t torrust-tracker:local -f Containerfile .
# 2) Gate scan (primary)
trivy image --severity HIGH,CRITICAL torrust-tracker:local
# 3) Full context scan (optional but recommended)
trivy image --severity MEDIUM,HIGH,CRITICAL torrust-tracker:local
Workflow
Step 1: Check Existing Catalog First
Before analyzing any CVE, search the existing catalog:
grep -R "CVE-<id>" docs/security/analysis/
If already present and requires-recheck-when conditions have not changed, reuse the existing verdict.
Step 2: Build and Scan
- Build local runtime image from
Containerfile. - Run the gate scan with
HIGH,CRITICAL. - Run optional full scan (
MEDIUM,HIGH,CRITICAL) to capture trend context.
Step 3: Update Scan History Docs
Update:
docs/security/docker/scans/torrust-tracker.mdwith:- date/time, Trivy version, totals by severity
- notable CVEs and rationale
docs/security/docker/scans/README.mdsummary table with latest status and date.
Step 4: Document New Non-Affecting CVEs
For any new non-affecting CVE, create docs/security/analysis/production/CVE-<id>.md or
docs/security/analysis/build/CVE-<id>.md using
docs/templates/SECURITY-ANALYSIS.md.
The template defines the reusable frontmatter, evidence-based rationale, and recheck-condition
structure; retain this skill's scan-specific process steps.
Step 5: Escalate Affecting CVEs
If a CVE is affecting:
- Confirm it is already public or approved for disclosure. Privately reported or embargoed
vulnerabilities must instead follow
docs/security/vulnerability-remediation.md; do not create public documentation, issues, or pull requests. - create/update a tracking issue
- include impact, affected component, exploitability context, and remediation plan
- update scan docs with current status and owner
Recheck Triggers
Re-evaluate catalog verdicts when any of these happen:
Containerfilebase image changes- new runtime/system dependency is introduced
- code path changes that satisfy a CVE file's
requires-recheck-whencondition
Completion Checklist
-
trivygate scan executed (HIGH,CRITICAL) - scan history files updated
- new CVEs cataloged or linked to existing catalog entries
- affecting CVEs escalated
-
linter allpasses
Установить run-manual-docker-security-scan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл run-manual-docker-security-scan?
Build the tracker container image, scan it with Trivy, triage its CVEs and record the results. Use when asked for a manual Docker security scan.
Как установить скилл run-manual-docker-security-scan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл run-manual-docker-security-scan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub