package-search
БесплатноБез исполняемых скриптовНе проверенSearch for packages and assess security risk before adding as dependencies
от davepoon★ 3 815 звёзд на GitHubОб этом скилле
Vulnetix Package Search Skill
This skill searches for packages across ecosystems and provides a comprehensive security risk assessment before adding them as dependencies.
Output & Analysis Guidelines
Primary output format: Markdown. All reports, tables, summaries, and diffs MUST be presented as formatted markdown text directly — never generate scripts or programs to produce output that can be expressed as markdown.
Visual data — use Mermaid diagrams to display data visually when it aids comprehension. Mermaid renders natively in markdown and requires no external tools. Use it for:
- Dependency trees / upgrade paths →
graph TDorgraph LR - Version comparison timelines →
timeline - Risk breakdowns →
pieorquadrantChart - Decision flow (add/skip/alternatives) →
flowchart
Example — vulnerability distribution for a package:
```mermaid
pie title Vulnerability Severity
"Critical" : 1
"High" : 2
"Medium" : 5
"Low" : 3
```
If uv is available, richer visualizations can be generated with Python (matplotlib, plotly) and saved to .vulnetix/:
command -v uv &>/dev/null && uv run --with matplotlib python3 -c '
import matplotlib.pyplot as plt
# ... generate chart ...
plt.savefig(".vulnetix/chart.png", dpi=150, bbox_inches="tight")
'
When Python charts are generated, display them inline and keep the Mermaid version as a text fallback.
Data processing — tooling cascade (strict order):
- jq / yq + bash builtins (preferred) —
jqfor JSON,yqfor YAML. Pipe tohead,tail,cut,sed,grep,sort,uniq,wcfor shaping. - uv (for complex analysis or charts) — If aggregation, statistics, or visualization beyond Mermaid are needed, check
uvfirst:command -v uv &>/dev/null && uv run --with pandas,matplotlib python3 -c '...' - python3 stdlib (last resort) — Only if
uvis unavailable. Usejson,csv,collections,statisticsmodules — no pip dependencies:command -v python3 &>/dev/null && python3 -c 'import json, sys; ...'
Never assume any runtime is available — always check with command -v before use. If all programmatic tools are unavailable, analyze manually with the Read tool and present results as markdown with Mermaid diagrams.
Version detection commands (pip show, go list -m, cargo pkgid, etc.) are exempt — they query package managers directly and are tried as-available per the version detection priority in Step 1b.
Vulnerability Memory (.vulnetix/memory.yaml)
This skill reads the .vulnetix/memory.yaml file in the repository root to surface prior vulnerability history for packages being searched. This file is shared with /vulnetix:fix and /vulnetix:exploits.
At the start of every invocation:
- Use Glob to check if
.vulnetix/memory.yamlexists in the repo root - If it exists, use Read to load it
- Use Glob for
.vulnetix/scans/*.cdx.json— if CycloneDX SBOMs exist from prior scans (pre-commit hook or fix skill), cross-reference package names against SBOM component lists for additional vulnerability context
During risk assessment (Step 4):
- For each package in the search results, check if any vulnerabilities in the memory file reference that package name
- If prior entries exist, add a Known History column or section to the output:
- List each vuln ID, its current status (in developer-friendly language), decision date, and CWSS priority if available
- Example:
CVE-2021-44228 — Fixed (2024-01-15),CVE-2023-1234 — Risk accepted (2024-03-01), P3 (52.0) - If
pocsexist for a vuln, note:N PoC(s) on file— do not display PoC URLs or paths in package search output
- If a package has unresolved vulnerabilities (
affectedorunder_investigation), flag this prominently in the risk assessment. If CWSS priority is P1 or P2, add a warning: "Active exploit intelligence available — run/vulnetix:exploits <vuln-id>for details"
After completing the search:
- If the search reveals new vulnerabilities (from
vulnerabilityCountormaxSeverityin the API response) that are NOT already tracked in the memory file, record them as new entries with:status: under_investigationdiscovery.source: scandiscovery.sbom: path to the relevant.vulnetix/scans/*.cdx.jsonif one exists for this package's manifestdecision.choice: investigatingdecision.reason: "Discovered via /vulnetix:package-search"
- Append to
history:event: discovered, detail: "Found via package search for"
VEX-to-developer-language: When surfacing prior decisions, use developer-friendly language:
not_affected→ "Not affected",affected→ "Vulnerable",fixed→ "Fixed",under_investigation→ "Investigating"
Dependabot Integration
When gh CLI is available (check with gh auth status 2>/dev/null), query Dependabot alerts for packages in the search res
Установить package-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadGlobGrepEditWriteFAQ
Что делает скилл package-search?
Search for packages and assess security risk before adding as dependencies
Как установить скилл package-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл package-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub