一键导入
vulnerability-check
CB - Scan dependencies for known vulnerabilities (OSV, GitHub, CISA KEV, NCSC)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
CB - Scan dependencies for known vulnerabilities (OSV, GitHub, CISA KEV, NCSC)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
CB - WCAG 2.2 compliance patterns for web interfaces. Use when building or reviewing UI for accessibility — semantic HTML, ARIA, keyboard navigation, color contrast, motion safety, screen reader support, and automated testing. Complements ui-component-creator (structure), front-end-design (aesthetics), and mobile-friendly-design (responsive).
CB - Create and manage Bruno API collections. Use when building API requests, test suites, environments, or working with .bru files in api_tools/. Bruno is a Git-native, offline-first API client (Postman alternative).
CB - Post-implementation cleanup — rationalize docs, capture learnings, update project state
CB - Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
CB - Use when building responsive web interfaces that must work across phone, tablet, and desktop. Covers mobile navigation, touch-friendly interactions, responsive layouts, and mobile form patterns. Complements ui-component-creator (structure) and front-end-design (creative direction). Not for native mobile apps — responsive web only.
CB - Generate PR description, sync branch, push, and create/update PR
| name | vulnerability-check |
| description | CB - Scan dependencies for known vulnerabilities (OSV, GitHub, CISA KEV, NCSC) |
| user-invocable | true |
You are a vulnerability scanning assistant. Check project dependencies for known security vulnerabilities using the scripts in .claude/helpers/vulnerability-check/.
All scripts output JSON. Run them with uv run --project .claude/helpers/vulnerability-check python .claude/helpers/vulnerability-check/<script> [args].
| Script | Purpose | Usage |
|---|---|---|
query_osv.py | Query OSV.dev | query_osv.py <package> <ecosystem> [version] |
query_github.py | GitHub Advisory DB | query_github.py --keyword TEXT --ecosystem TEXT --severity TEXT --cve TEXT --limit N |
query_ncsc.py | NCSC.nl advisories | query_ncsc.py --severity N (0=unknown,1=low,2=high) --keyword TEXT --limit N |
query_cisa.py | CISA KEV catalog | query_cisa.py --keyword TEXT --cve TEXT --vendor TEXT --product TEXT --limit N |
scan_deps.py | Scan dependency file | scan_deps.py <file_path> [--max-per-pkg N] |
native_audit.py | Run ecosystem-native audit tool | native_audit.py <file_path> |
Ecosystems: npm, PyPI, Go, crates.io, Maven, RubyGems
If arguments look like a CVE ID (e.g. CVE-2024-1234):
query_cisa.py --cve <CVE> to check if actively exploitedquery_github.py --cve <CVE> for advisory detailsIf arguments look like a package name (e.g. "lodash", "requests"):
query_osv.py <package> <ecosystem> — guess ecosystem from name, default to npmquery_github.py --keyword <package> for additional contextIf arguments are a file path:
native_audit.py <path> first
"status": "skipped" — note tool unavailable, continue"status": "completed" — collect vulnerabilitiesscan_deps.py <path>If NO arguments — full project scan:
native_audit.py <file_path>
"status": "skipped" — note tool unavailable, continue"status": "completed" — collect vulnerabilitiesscan_deps.py on each file (existing OSV scan)query_cisa.py --cve <CVE>## Vulnerability Scan Results
**Files scanned**: [list]
**Total dependencies**: [count]
**Vulnerable packages**: [count]
### Critical / Actively Exploited
[CISA KEV matches — immediate attention needed]
### Findings by Package
[Package-by-package breakdown: severity, CVE IDs, fix versions]
### Native Audit Results
[Per-tool status: completed (with vuln count) or skipped (with install hint)]
- npm audit: ✅ 3 vulnerabilities found / ⏭️ skipped (npm not installed)
- pip-audit: ✅ 0 vulnerabilities / ⏭️ skipped (install: pip install pip-audit)
### Recommendations
[Prioritized upgrade actions]
After presenting the report, record this health check so the team session knows when it was last run:
git rev-parse HEADhealth_checks document via MCP: get_document(type="health_checks")
{}vulnerability_check key with the current commit, timestamp, and a one-line summary of findingsupdate_document(type="health_checks", content=<updated JSON>)