一键导入
dependency-audit-improved
Offline Trivy and CVSS extraction workflow for deterministic dependency auditing in OpenHands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Offline Trivy and CVSS extraction workflow for deterministic dependency auditing in OpenHands.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | dependency-audit-improved |
| description | Offline Trivy and CVSS extraction workflow for deterministic dependency auditing in OpenHands. |
Use this procedure for dependency-audit tasks in restricted environments.
input/skill_input/trivy_report.json.Preferred deterministic path:
test -f input/skill_input/trivy_report.json && cp input/skill_input/trivy_report.json output/trivy_report.json
Suggested command pattern:
mkdir -p output
trivy fs input/package-lock.json \
--format json \
--output output/trivy_report.json \
--scanners vuln \
--skip-db-update \
--offline-scan
If the environment uses a custom Trivy cache, add:
--cache-dir /path/to/trivy-cache
Only keep findings where Severity is HIGH or CRITICAL.
Map fields this way:
package: PkgNameversion: InstalledVersioncve_id: VulnerabilityIDseverity: Severityfixed_version: FixedVersion or N/Atitle: Titleurl: PrimaryURLPrefer scores in this order:
CVSS.nvd.V3ScoreCVSS.ghsa.V3ScoreCVSS.redhat.V3ScoreN/AAlways emit cvss_score as a string in the final JSON.
Write exactly one JSON file with:
{
"findings": []
}
Sort findings by package, then version, then CVE identifier before writing the final report.
Lightweight guidance for combining spreadsheet and PDF inputs into a deterministic result workbook.
Deterministic workflow for combining workbook and PDF data into a validated result workbook with derived sales metrics.
Lightweight guidance for extracting quarterly financial metrics into a fixed JSON output.
Deterministic workflow for extracting quarterly financial metrics and computing derived percentages from local SEC-style inputs.
Minimal procedural guidance for auditing a dependency lockfile and writing the tutorial report format.