用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/yu-iskw/agentic-workloads --skill security-vulnerability-audit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Workflow for auditing security vulnerabilities using trivy, osv-scanner, and trunk.
Comprehensive workflow for creating, implementing, and validating Agent Skills. Use when asked to "create a new skill", "author a skill", "add a capability", or when standardizing project-specific workflows. Support for platform detection (Cursor, Claude Code, Gemini CLI, Codex) and template selection.
Manage Architecture Decision Records (ADRs) using adr-tools. Use this to initialize, create, list, and link ADRs to document architectural evolution.
基于 SOC 职业分类
正在显示 SKILL.md
| name | security-vulnerability-audit |
| description | Workflow for auditing security vulnerabilities using trivy, osv-scanner, and trunk. |
This skill provides a comprehensive workflow for identifying security vulnerabilities in the codebase using industry-standard tools.
Before starting the audit, ensure the following tools are installed:
trivy (Container and filesystem vulnerability scanner)osv-scanner (Google's vulnerability scanner for open-source dependencies)trunk (Integrated security and linting platform)If any tools are missing, install them using the following commands. If Homebrew (brew) is available, it is the recommended method.
Using Homebrew (macOS/Linux):
brew install trivy osv-scanner trunk
Manual Installation:
trivy)Run a filesystem scan to catch vulnerabilities and hard-coded secrets in configuration files, source code, and project structure. By default, trivy fs scans for both vulnerabilities and secrets.
# Scan for vulnerabilities and secrets
trivy fs .
# (Optional) Scan for misconfigurations in IaC and config files
trivy config .
osv-scanner)Perform a deep scan of your project's dependencies against the OSV database using the scan source command.
osv-scanner scan source -r .
trunk)Run integrated security checks. trunk check executes all enabled linters.
If you are already using Trunk, check for and enable security-focused linters appropriate for your project's languages:
bandit (scans for common security issues)govulncheck (vulnerability database for Go)gitleaks (detects secrets, API keys, and tokens)semgrep (static analysis for many languages)# List all available linters to see security options
trunk check list
# Enable recommended security linters
trunk check enable trivy
trunk check enable gitleaks
trunk check enable semgrep
# Enable language-specific linters (e.g., for Python)
trunk check enable bandit
# Run security checks on modified files
trunk check
# Run all security checks on all files
trunk check --all --scope security
Note: If Trunk is not installed or initialized, use the standalone tools (
trivy,osv-scanner) as described in the previous steps.
After running the tools, compile a report in the following structure:
[Brief overview of the security posture]
| Tool | Severity | Component | Description | Recommendation |
|---|---|---|---|---|
| [Tool Name] | [Critical/High/Med/Low] | [File/Dependency] | [Issue Description] | [Fix/Mitigation] |