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

resolve_cve

Skill by opensearch-project

Resolves CVEs in OpenSearch Dashboards dependencies by checking GitHub issues, verifying the codebase and trying remediation strategies in order. Built for project maintainers handling dependency security fixes.

  • Score 85
  • 2.1k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install resolve_cve

Built from the published package, never by AI.

git clone --depth 1 https://github.com/opensearch-project/OpenSearch-Dashboards /tmp/OpenSearch-Dashboards && mkdir -p ~/.claude/skills && cp -r /tmp/OpenSearch-Dashboards/.claude/skills/resolve_cve ~/.claude/skills/resolve-cve

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

Step-by-step: install resolve_cve in Claude Code

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

About

The resolve_cve skill finds open CVE issues in the OpenSearch Dashboards GitHub repository, or resolves a single CVE ID passed as an argument. It parses each CVE's affected package and safe version, checks package.json and yarn.lock for the vulnerable version, and uses yarn why to trace the dependency path.

It then tries remediation strategies in order: a direct package update, removing vulnerable transitive entries from yarn.lock, peer dependency resolution, and finally targeted yarn resolutions. After each attempt it runs yarn osd bootstrap and yarn audit. It writes a PR description based on the repository's pull request template, and a failure report if resolution fails. It is intended for OpenSearch Dashboards maintainers working on dependency security fixes.

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

What it can do

  • Find CVE issuesSearches open GitHub issues with CVE in the title and extracts package details.
  • Verify presenceChecks package.json and yarn.lock for the vulnerable version and runs yarn why.
  • Direct package updateUpdates an explicitly declared package to a safe version with a caret range.
  • Lock file cleanupRemoves vulnerable transitive entries from yarn.lock and runs yarn osd bootstrap again.
  • Yarn resolutionsAdds targeted resolutions as a last resort and documents the dependency path.
  • VerificationRuns yarn osd bootstrap, yarn audit and smoke tests after each attempt.
  • PR descriptionGenerates tmp/cve-pr-description.md from the repository's pull request template.
  • Failure reportWrites tmp/cve-failure-report.md with attempted strategies, errors and next steps.

What you need

  • Node.js
  • Yarn
  • Access to the OpenSearch Dashboards repository
  • GitHub API or web search access

Try asking

  • Resolve CVE-2024-12345 in OpenSearch Dashboards
  • Find and resolve all open CVE issues in this repo
  • Write the PR description for the CVE fix in tmp/

Good to know

  • Built for OpenSearch Dashboards and its yarn and PR template setup.
  • Only modifies dependency versions and restores backups if a step fails.
  • Reports are written to the tmp/ directory, which is gitignored.

Security check

A

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

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

Inside the skill

  • README.md7 KB
  • SKILL.md8 KB

Alternatives to resolve_cve

All alternatives →

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

resolve_cve: common questions

Can I resolve one specific CVE?

Yes. Pass a CVE ID such as CVE-2024-12345. If no ID is given, the skill searches all open CVE issues.

What happens if a CVE cannot be fixed automatically?

The skill documents the strategies tried, error messages and recommended manual steps in tmp/cve-failure-report.md. It restores the original package.json and yarn.lock backups.

Does it commit changes or open a pull request?

The source says it creates a PR-ready description in tmp/cve-pr-description.md. It does not state that it commits changes or opens a pull request.

How do I install resolve_cve?

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

Is resolve_cve free?

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

Is resolve_cve safe to use?

It scores 85 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 resolve_cve?

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

resolve_cve Install

Add to stack

Loading.