# triage-vulnerabilities

triage-vulnerabilities is a Claude Code skill that pulls vulnerabilities from Dependabot, GCP Artifact Registry, Docker Scout and Linear, then fixes them one at a time. It fires on a request to check CVEs.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/resources/channel-gated-skills/dogfood/triage-vulnerabilities/SKILL.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/triage-vulnerabilities

## What it does

The skill walks four sources: Dependabot alerts through `gh api`, image vulnerability lists from GCP Artifact Registry via `gcloud artifacts vulnerabilities list`, `docker scout cves` on public Docker Hub images, and open Linear issues tagged Security. Each source lands in its own temp TSV file, and matching CVE IDs get grouped together.

Remediation runs one vulnerability at a time, critical first. For each, it looks for a patched version: `first_patched_version` on Dependabot, the `FIX_AVAILABLE` field from GCP, base image hints from `docker scout recommendations`. An existing Dependabot pull request gets reviewed and approved; otherwise the manifest (`Cargo.toml`, `go.mod`, `package.json`) is edited by hand and tests run. Alerts stay open — dismissing them is left to a human.

Repo names (`warp-internal`, `warp-server`, `warp-terraform`, `session-sharing-server`) and the `us-east4` projects sit in the skill text, so a different repo set means rewriting those steps. Requests fail without authorised `gh`, `gcloud` and `docker scout` CLIs, and the Linear pass needs the Linear MCP server.

## Requirements
- Works with: GitHub, Docker

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill triage-vulnerabilities -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/triage-vulnerabilities/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/triage-vulnerabilities/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill triage-vulnerabilities -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/triage-vulnerabilities/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill triage-vulnerabilities -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/triage-vulnerabilities/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dominikmartn/harp resources/channel-gated-skills/dogfood/triage-vulnerabilities
```

2. **Manually: put the files in place**
- File: `.github/skills/triage-vulnerabilities/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill triage-vulnerabilities -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dominikmartn/harp --path resources/channel-gated-skills/dogfood/triage-vulnerabilities
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/triage-vulnerabilities/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/resources/channel-gated-skills/dogfood/triage-vulnerabilities/SKILL.md

## When to use it
- merge Dependabot, GCP and Docker Scout findings into one CVE list
- drop duplicates between Dependabot alerts and Linear security issues
- find the patched version before touching a manifest
- approve the Dependabot pull request that already carries the fix
- bump a base image in `Dockerfile` for a critical CVE

## Example prompts
- Check `warp-server` for vulnerabilities and start with the critical ones.
- Triage the open Dependabot alerts and tell me which have a fixed version.
- Update the base image in `Dockerfile`, Docker Scout flags a critical CVE.

## Similar
- [strix](https://affpapa.org/en/nevibecode/skills/strix.md) — skill · 467 installs
- [golang-continuous-integration](https://affpapa.org/en/nevibecode/skills/golang-continuous-integration.md) — skill · 41500 installs
- [triage-finding](https://affpapa.org/en/nevibecode/skills/triage-finding.md) — skill · 30 installs
- [gke-app-onboarding](https://affpapa.org/en/nevibecode/skills/gke-app-onboarding.md) — skill · 6489 installs
- [cloud-containers](https://affpapa.org/en/nevibecode/skills/cloud-containers.md) — skill · 197 installs
- [remediation](https://affpapa.org/en/nevibecode/skills/remediation.md) — skill · ★ 3785 repo stars

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
