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.
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-cveRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/opensearch-project/OpenSearch-Dashboards /tmp/OpenSearch-Dashboards && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenSearch-Dashboards/.claude/skills/resolve_cve ~/.gemini/antigravity-cli/skills/resolve-cveAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
