Command Palette

Search for a command to run...

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

vuln-tracker

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

One lifecycle poll over everything vuln-scanner produces - PR and advisory status, PVR triage transitions, and pending-disclosure aging, with a stars-secured…

aeonfunот aeonfun★ 801 звезда на GitHub

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

${var} — Scope selector for the lifecycle poll:

  • empty → full lifecycle poll: PR/advisory status + PVR triage + disclosure-queue aging (default).
  • prs (also pr / tracker) → Arm A only — PR/advisory status audit + stars-secured dashboard.
  • pvr → Arm B only — PVR triage-state poll on submitted advisories.
  • queue (also disclosures / backlog) → Arm C only — pending-disclosure queue aging + escalation.
  • a bare GHSA-xxxx-xxxx-xxxx → Arm B, single-advisory mode — check just that one advisory's triage state on demand.

Today is ${today}. This skill is the daily read/poll arm of the vuln pipeline: vuln-scanner opens PRs, submits PVRs, and queues disclosure drafts, then moves on. This skill polls everything it produced and surfaces what the operator must look at — it does not open PRs or submit advisories itself (those are vuln-scanner's write actions).

Voice

If soul/SOUL.md and soul/STYLE.md are populated, read them and match the operator's voice in every notification. If empty or absent, use a clear, direct, neutral tone.

Capability mode

This skill runs mode: write deliberately. It is a read/poll arm, but three of its capabilities cannot run under read-only:

  • Arm B polls private, unpublished advisory triage state via gh api repos/$REPO/security-advisories/$GHSA. Draft/triage advisories are visible only to the repo maintainers and the reporter, so the read is intrinsically authenticated; read-only strips gh, and a bare $SECRET on the command line is refused by the Bash permission layer (so a hand-rolled authenticated curl isn't an option either) — the read needs gh api, which handles auth internally.
  • Arm B persists state transitions — it rewrites state:/last_checked:/resolved_at: frontmatter in memory/pending-disclosures/*.md in place and moves resolved files to memory/pending-disclosures/resolved/ (Edit/git mv — both stripped in read-only).
  • Arm A leans on authenticated gh api for the PVR-state endpoint (repos/$REPO/private-vulnerability-reporting) and repo/advisory reads.

No sibling writes a repo file outside memory/, so there was nothing to relocate — the only outside-memory/ writes are the ephemeral .pending-notify-temp/ notify-staging files. Keeping write preserves every absorbed capability.

Shared preamble (run for every invocation)

  1. Read memory/MEMORY.md for context.
  2. Read the last ~3 days of memory/logs/ and drop anything already reported — don't re-surface the same signal twice.
  3. Read soul/SOUL.md + soul/STYLE.md if populated (voice).
  4. Parse ${var} → scope (deterministic; trim + lowercase, except a GHSA- value which is compared case-insensitively but preserved verbatim):
    • empty → scope = full (run Arm A, then B, then C).
    • matches ^GHSA- (case-insensitive) → scope = pvr, single_advisory = <the GHSA value> (Arm B filtered to one advisory).
    • prs / pr / tracker → scope = prs (Arm A only).
    • pvr → scope = pvr (Arm B only, all advisories).
    • queue / disclosures / backlog → scope = queue (Arm C only).
    • anything else → log VULN_TRACKER_BAD_VAR: unrecognized scope '<var>', send no notification, exit.
  5. mkdir -p .pending-notify-temp and start an empty combined-notification buffer at .pending-notify-temp/vuln-tracker-${today}.md. Each arm that has signal appends its section to this buffer; at the very end (step "Notify") the skill sends the buffer once if it is non-empty. This keeps notifications tight — a full poll with signal in two arms is one message, not two.

Then run the arm(s) selected by scope, and finish with the shared Notify and Log steps.

Network Note

  • Arm A & Arm B (GitHub reads): all data via gh api / gh search / gh pr view. gh handles auth internally via GH_TOKEN (and Arm B's private-advisory reads need the elevated GH_GLOBAL PAT). No env-var-authenticated curl from bash — a bare $SECRET on the command line is refused by the Bash permission layer, so gh api (auth handled internally) is the reliable path; no postprocess scripts needed. Arm B keeps a documented curl fallback for the advisory endpoint — see Arm B step B2 — but gh api is preferred.
  • Arm C (local only): reads only local files (memory/pending-disclosures/, memory/issues/, memory/topics/pr-status.md). No outbound network or auth required.
  • Shell shape. Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (BOT_AUTHOR="...", REPO="owner/repo", PVR_NOW=$(gh api ...)) or joins commands with ;, && or ||, and each refusal costs a model turn. So write the bot author, each repo, PR number and GHSA ID into each gh / ./secretcurl call literally (the <BOT_AUTHOR>, <REPO>, <NUM>, <GHSA> placeholders), make one call per PR, repo or advisory instead of a loop, and turn each || echo fallback int
Полный SKILL.md на GitHub

Установить vuln-tracker в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл vuln-tracker?

One lifecycle poll over everything vuln-scanner produces - PR and advisory status, PVR triage transitions, and pending-disclosure aging, with a stars-secured impact headline and one action queue.

Как установить скилл vuln-tracker?

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

Скилл vuln-tracker запускает скрипты?

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

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

Сравнить vuln-tracker с