Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

patch-cve

Skill by HolmesGPT

Guides an assistant through patching CVEs in the HolmesGPT Docker image. It covers finding the vulnerable package with docker scout, checking upstream fixes, rebuilding, and validating the result.

  • Score 86
  • 4k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install patch-cve

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HolmesGPT/holmesgpt /tmp/holmesgpt && mkdir -p ~/.claude/skills && cp -r /tmp/holmesgpt/.claude/skills/patch-cve ~/.claude/skills/patch-cve

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install patch-cve in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives the assistant a step-by-step workflow for handling CVEs in the HolmesGPT Docker image. It starts by running docker scout cves to find which package or binary introduces the vulnerability, including Go standard library, system packages, and Python dependencies. Before changing anything, it checks whether a newer upstream release, a merged pull request, or a newer package version already contains the fix.

The skill then picks one of four strategies: upgrading to a fixed upstream release, rebuilding from source with a patched Go version, pre-building binaries locally for both amd64 and arm64, or pinning a system package version. After building the image, it confirms the CVE is gone with docker scout, checks the tool still runs, and adds Dockerfile comments describing when the patch can be reverted. It is written for people who maintain that image.

Written from the project's SKILL.md and checked against it.

What it can do

  • Identify the CVE sourceUses docker scout cves to find the affected package, its version range, the fixed version, and the binary involved.
  • Check upstream fixesLooks at the latest tool releases, go.mod files, upstream PRs and issues, apt and pip versions for a fix.
  • Apply the fixChooses between upgrading a version, rebuilding from source, pre-building binaries, or pinning a package version.
  • Build the imageBuilds a test image for a single platform, with multi-platform builds suggested after the fix is confirmed.
  • Validate the fixConfirms the CVE is gone with docker scout, reviews remaining high and critical CVEs, and checks the tool still runs.
  • Document and clean upAdds Dockerfile comments on the patch and revert conditions, removes temporary workarounds, and deletes test images.

What you need

  • Docker
  • docker scout
  • Go toolchain for pre-building binaries
  • Git LFS for large binaries (optional)

Try asking

  • Patch CVE-2025-68121 in the HolmesGPT Docker image
  • Check whether a newer ArgoCD release fixes a Go stdlib CVE
  • Validate that a CVE is gone after rebuilding the image

Good to know

  • Single-platform builds are enough for quick validation, per the source.
  • go.mod shows the minimum Go version, so check the binary's version output instead.
  • Git LFS is suggested for large binaries of about 200MB or more.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/patch-cve/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to patch-cve

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

patch-cve: common questions

Which types of CVEs does this skill cover?

The skill covers CVEs in the HolmesGPT Docker image, including Go standard library issues, system packages, and Python dependencies.

Should I upgrade a tool or rebuild it from source?

Upgrading to a fixed upstream release is preferred. Rebuilding from source or pre-building binaries is for cases where upstream has not released a fix yet.

How does the skill confirm a CVE is fixed?

It runs docker scout cves on the rebuilt image and checks that the CVE no longer appears. It then runs the tool's version and help commands to confirm it still works.

How do I install patch-cve?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is patch-cve free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is patch-cve safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to patch-cve?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

patch-cve Install

Add to stack

Loading.