Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cve-research

БесплатноБез исполняемых скриптовНе проверен

Researches current, publicly known vulnerabilities (CVEs) affecting a project's exact stack and versions — queries OSV.dev and the CISA Known Exploited…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

CVE Research

Two knowledge sources, always use in this order: (1) the bundled knowledge base (vuln-db/entries/) for curated detection guidance, (2) live lookups for freshness.

Step 1 — Know the exact stack

From manifests/config (or a previous audit's Stack section): framework name + version, language runtime version, key infrastructure (nginx, postgres, redis...) + versions. No versions → find them first (package.json, go.mod, Pipfile, Dockerfile base images).

Step 2 — Bundled knowledge base

Read vuln-db/README.md for the entry format, then scan vuln-db/entries/*.md frontmatter (ecosystem, affected) for matches with the stack. Each matching entry has a Detection section: what to grep, what config value to check. Run those checks and report matches with the entry's fix guidance.

For severity narratives and prioritization, load references/notable-incidents.md — it maps real breaches and mass-exploitation waves (Equifax, Capital One, SolarWinds, Log4Shell, MOVEit, Jenkins/Confluence takeovers, npm token heists) to the exact checks in these skills. When a finding's class has KEV + public exploit modules + a named incident behind it, the fix stops being advisory.

Step 3 — Live lookups (network required)

Dependencies → OSV.dev

python3 ../dependency-vulns/scripts/osv_scan.py <project_root>

CISA KEV (actively exploited — priority zero)

curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
  | python3 -c "
import json,sys
d=json.load(sys.stdin)
for v in d['vulnerabilities']:
    p=v['vendorProject'].lower()+' '+v['product'].lower()
    print(v['cveID'], '|', v['vendorProject'], v['product'], '|', v.get('dateAdded'), '| due:', v.get('dueDate'))
" | grep -iE "<product1|<product2|<framework>"

Replace the grep with the stack's product names (e.g. struts|log4j|confluence|nginx|tomcat). Any hit on an in-use product/version → CRITICAL, fix by KEV dueDate.

One-off CVE lookup

curl -s "https://api.osv.dev/v1/query" -d '{"package":{"ecosystem":"npm","name":"express"},"version":"4.17.0"}'

Backport verification (stable/distro pins — Trail of Bits 2026-11-02 lesson)

Upstream "fixed: X" does NOT mean a stable-branch/distro package is fixed: thousands of CVEs never get backported to the LTS trees most installs actually run (ToB measured 95%+ of installs on stable trees; their Codex backport project delivered only 149 kernel CVEs by 2026-10-29). For system packages and old-but-pinned deps, the check is "does MY distro's package carry the fix", not "is my version ≥ upstream fixed":

  • Look up the DISTRO advisory, not upstream: Ubuntu USN/OVAL, Debian security tracker (https://security-tracker.debian.org/tracker/<CVE>), RHEL/Alma errata — their fixed-package versions (with vendor suffixes) are the truth.
  • No distro advisory for the CVE + pinned old tree = ASSUME VULNERABLE (the backport may simply not exist) — flag it, don't clear it on version math.
  • The inverse false positive stays: a vendor-suffixed old version listed in the distro advisory IS fixed — never flag it because upstream says so (see vuln-db README false-positive discipline).

In-the-wild 0-day tracker (Project Zero)

Each tracked 0-day is a markdown file (0day-RCAs/<year>/CVE-*.md) in the googleprojectzero/0days-in-the-wild repo. Check a specific CVE via the GitHub API, or browse by year:

curl -s "https://api.github.com/repos/googleprojectzero/0days-in-the-wild/contents/0day-RCAs/$(date +%Y)" | grep -o '"CVE-[0-9-]*"' | tr -d '"'

A hit means the CVE was exploited in the wild as a 0-day — severity ceiling for any affected finding. A weekly digest workflow (watch-0days.yml) triages new entries automatically.

Public exploit availability (Metasploit / exploit-db)

If a local metasploit checkout exists: rg -l "<CVE>" modules/exploit/. Otherwise check the module listing at rapid7/metasploit-framework modules/exploit/** (advisory text usually states it). A public module turns 'theoretical' into drop-in weaponized — record it in the finding and in the vuln-db entry Summary.

If web search is available

Search "<framework> <version>" CVE site:nvd.nist.gov and the project's GitHub Security Advisories. Prefer NVD/GHSA/OSV over blogs for severity; blogs for exploitation details. High-signal sources in order: vendor PSIRT/advisory pages, Project Zero blog + the 0days-in-the-wild tracker, GitHub Security Lab (code-level writeups), PortSwigger research (new web classes), Snyk/Tenable writeups (ecosystem reach), exploit-db/Metasploit for weaponization status.

Step 4 — Report & watchlist

  • Match confirmed (version in affected range): severity, entry/CVE, detection evidence, fix version or mitigation.
  • Match possible (can't pin version): what to check, exact command to run.
  • Produce a watchlist: top 5 products in this stack to monitor, so future CVE triage is instant.

Mai

Полный SKILL.md на GitHub

Установить cve-research в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSESOURCE.mdTRUST.auto.yamlreferences/ghsl-lessons.mdreferences/notable-incidents.mdreferences/real-world-sources.mdreferences/step-by-step-sources.mdreferences/vendor-research-lessons.mdvuln-db/README.mdvuln-db/entries/2016-06-01-cve-2016-4437.mdvuln-db/entries/2017-03-01-cve-2017-5929.mdvuln-db/entries/2017-03-06-cve-2017-5638.mdvuln-db/entries/2017-05-04-cve-2017-9841.mdvuln-db/entries/2018-03-28-cve-2018-7600.mdvuln-db/entries/2018-12-11-cve-2018-20062.mdvuln-db/entries/2019-03-13-cve-2019-5418.mdvuln-db/entries/2019-06-05-cve-2019-10149.mdvuln-db/entries/2019-07-24-cve-2019-10744.mdvuln-db/entries/2019-10-22-cve-2019-11043.mdvuln-db/entries/2019-12-09-cve-2019-18935.mdvuln-db/entries/2019-12-18-cve-2019-19844.mdvuln-db/entries/2020-07-21-cve-2020-14343.mdvuln-db/entries/2021-01-26-cve-2021-3156.mdvuln-db/entries/2021-02-02-cve-2021-21315.mdvuln-db/entries/2021-02-07-cve-2021-23337.mdvuln-db/entries/2021-10-05-cve-2021-41773.mdvuln-db/entries/2021-12-07-cve-2021-43798.mdvuln-db/entries/2021-12-10-cve-2021-44228.mdvuln-db/entries/2022-01-25-cve-2021-4034.mdvuln-db/entries/2022-03-01-cve-2022-22947.mdvuln-db/entries/2022-03-11-cve-2020-36518.mdvuln-db/entries/2022-03-31-cve-2022-22965.mdvuln-db/entries/2022-06-14-cve-2022-25845.mdvuln-db/entries/2022-10-13-cve-2022-42889.mdvuln-db/entries/2022-11-17-cve-2022-24999.mdvuln-db/entries/2022-12-22-cve-2022-23539.mdvuln-db/entries/2023-02-14-cve-2022-25883.mdvuln-db/entries/2023-05-22-cve-2023-32681.mdvuln-db/entries/2023-10-04-cve-2023-22515.mdvuln-db/entries/2023-10-10-cve-2023-39325.md

FAQ

Что делает скилл cve-research?

Researches current, publicly known vulnerabilities (CVEs) affecting a project's exact stack and versions — queries OSV.dev and the CISA Known Exploited Vulnerabilities catalog live, and reads the bundled, versioned vuln knowledge base for detection guidance. Use when checking whether a project is affected by newly disclosed CVEs, or when maintaining/updating the security-skills knowledge base.

Как установить скилл cve-research?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cve-research запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cve-research с