AGENT SKILL

triage-go-vulnerabilities

Triage Go vulnerabilities with reachability context, remediation choices, and validation-first execution guidance

License 许可
MIT
最近更新
2026-03-30
Stars
★ 2
Forks
0

01 前言 Front Matter

name
triage-go-vulnerabilities
description
Triage Go vulnerabilities with reachability context, remediation choices, and validation-first execution guidance

03 SKILL.md 正文

Triage Go Vulnerabilities

When asked to evaluate or remediate Go dependency vulnerabilities, follow this workflow.

1. Check Tooling

Prefer govulncheck. Verify availability:

command -v govulncheck

If unavailable, report it and provide install guidance:

go install golang.org/x/vuln/cmd/govulncheck@latest

Do not continue vulnerability claims without a scanner result.

2. Run Vulnerability Scan

Run:

govulncheck ./...

Capture findings with:

  • vulnerability ID,
  • affected module/package,
  • reachable vs not reachable signal from output,
  • fixed version (if available).

3. Map to Dependency Actions

For each finding:

  • If reachable and fixed version exists: mark remediate-now.
  • If not reachable but present: mark schedule-remediation.
  • If no fix available: mark mitigate-and-monitor with rationale.

Then map each remediation to one of:

  • patch/minor bump via docker:bump-go-dependencies,
  • major upgrade plan via docker:plan-go-major-upgrades,
  • temporary risk acceptance with explicit owner and follow-up window.

4. Validate Any Changes

For every attempted remediation:

go mod tidy
task lint
task test

If validation fails, do not force-merge. Record as blocked with reason.

5. Produce Security Triage Output

Return a markdown table in a fenced code block:

  • vuln ID,
  • module,
  • reachability,
  • fixed version,
  • decision,
  • status.

Example:

```markdown
| Vuln ID | Module | Reachability | Fixed Version | Decision | Status |
|---------|--------|--------------|---------------|----------|--------|
| GO-2025-1234 | github.com/example/a | reachable | v1.8.2 | remediate-now | bumped and validated |
| GO-2025-4567 | github.com/example/b | not reachable | v0.9.1 | schedule-remediation | queued |
```

04 同仓库更多 Skills

NagyVikt
NagyVikt/codex-plugins

workflow

Vercel Workflow DevKit (WDK) expert guidance. Use when building durable workflows, long-running tasks, API routes or agents that need pause/resume, retries, step-based execution, or crash-safe orchestration with Vercel Workflow.

★ 2
NagyVikt
NagyVikt/codex-plugins

verification

Full-story verification — infers what the user is building, then verifies the complete flow end-to-end: browser → API → data → response. Triggers on dev server start and 'why isn't this working' signals.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-storage

Vercel storage expert guidance — Blob, Edge Config, and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-services

Vercel Services — deploy multiple services within a single Vercel project. Use for monorepo layouts or when combining a backend (Python, Go) with a frontend (Next.js, Vite) in one deployment.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-sandbox

Vercel Sandbox guidance — ephemeral Firecracker microVMs for running untrusted code safely. Supports AI agents, code generation, and experimentation. Use when executing user-generated or AI-generated code in isolation.

★ 2
NagyVikt
NagyVikt/codex-plugins

vercel-queues

Vercel Queues guidance (public beta) — durable event streaming with topics, consumer groups, retries, and delayed delivery. $0.60/1M ops. Powers Workflow DevKit. Use when building async processing, fan-out patterns, or event-driven architectures.

★ 2