fix-osv-vulnerabilities

fix-osv-vulnerabilities is a skill for Claude Code from AndrewDongminYoo/cc-agents-kit. It costs 41 tokens per session (3,433 once invoked), scanned A, original, Apache-2.0.

A workflow for investigating dependency vulnerabilities reported by OSV-Scanner or Trunk in JavaScript projects using pnpm, npm, or yarn. GHSA identifiers are vulnerability records published through GitHub’s security advisory system.

In plain words
What is it for?
Use it to check advisories, upgrade direct or transitive packages, add package-manager overrides, verify the build, or record an approved exception.
Why use it?
It distinguishes vulnerabilities with an available compatible fix from those that need evidence and an approved suppression. This helps avoid blindly changing dependencies or ignoring risks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the repo-gate plugin — 6 skills shipped together

Good fit Use it to check advisories, upgrade direct or transitive packages, add package-manager overrides, verify the build, or record an approved exception.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrewdongminyoo/cc-agents-kit/fix-osv-vulnerabilities
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AndrewDongminYoo/cc-agents-kit --skill fix-osv-vulnerabilities
Clone the repo
git clone --depth 1 https://github.com/AndrewDongminYoo/cc-agents-kit

Made for: Claude Code.

Or install repo-gate, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-osv-vulnerabilities

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewdongminyoo/cc-agents-kit/fix-osv-vulnerabilities/github.svg)](https://agentmods.dev/skills/andrewdongminyoo/cc-agents-kit/fix-osv-vulnerabilities)
Your own site
<a href="https://agentmods.dev/skills/andrewdongminyoo/cc-agents-kit/fix-osv-vulnerabilities"><img src="https://agentmods.dev/badge/skills/andrewdongminyoo/cc-agents-kit/fix-osv-vulnerabilities/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-osv-vulnerabilities

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrewdongminyoo/cc-agents-kit/fix-osv-vulnerabilities"><img src="https://agentmods.dev/badge/skills/andrewdongminyoo/cc-agents-kit/fix-osv-vulnerabilities.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,433 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.03433
Opus 5 $0.00020 $0.01716
Sonnet 5 $0.00008 $0.00687
Haiku 4.5 $0.00004 $0.00343

Measured 9d ago against content hash c323f983576a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

fix-osv-vulnerabilities scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Do not pipe `curl` into `python3`/`node` to parse this — the `dangerous-command-guard` hook blocks piping downloaded content into an interpreter. `gh api --jq` avoids the problem entirely.
plugins/repo-gate/skills/fix-osv-vulnerabilities/SKILL.md · 209 lines

How it starts

The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fix OSV Vulnerabilities

Overview

For each reported GHSA, check if a patched version exists via the GitHub Advisory API. If a patch exists → upgrade via package manager overrides or direct dependency bump. If no compatible reachable patch exists → collect reachability evidence and request a suppression decision.

Workflow

digraph fix_osv {
    "Collect GHSA IDs from scanner output" [shape=box];
    "Query GitHub Advisory API for each GHSA" [shape=box];
    "Compatible patch reachable?" [shape=diamond];
    "Reachability evidence collected?" [shape=diamond];
    "Explicit suppression approval?" [shape=diamond];
    "Is it a direct dependency?" [shape=diamond];
    "Bump version in package.json" [shape=box];
    "Add/update overrides (or resolutions)" [shape=box];
    "Add IgnoredVulns entry to osv-scanner.toml" [shape=box];
    "Run install + verify build" [shape=box];

    "Collect GHSA IDs from scanner output" -> "Query GitHub Advisory API for each GHSA";
    "Query GitHub Advisory API for each GHSA" -> "Compatible patch reachable?";
    "Compatible patch reachable?" -> "Is it a direct dependency?" [label="yes"];
    "Compatible patch reachable?" -> "Reachability evidence collected?" [label="no"];
    "Reachability evidence collected?" -> "Explicit suppression approval?" [label="yes"];
    "Reachability evidence collected?" -> "Stop and report" [label="no"];
    "Explicit suppression approval?" -> "Add IgnoredVulns entry to osv-scanner.toml" [label="yes"];
    "Explicit suppression approval?" -> "Stop and report" [label="no"];
    "Is it a direct dependency?" -> "Bump version in package.json" [label="yes"];
    "Is it a direct dependency?" -> "Add/update overrides (or resolutions)" [label="no, transitive"];
    "Bump version in package.json" -> "Run install + verify build";
    "Add/update overrides (or resolutions)" -> "Run install + verify build";
    "Add IgnoredVulns entry to osv-scanner.toml" -> "Run install + verify build";
}

Step 1 — Collect the alerts

Read the full file on GitHub · 209 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 209 lines · 41 tokens per session scan A c323f983576a

Subscribe to this mod's changes

fix-osv-vulnerabilities is a skill published in the GitHub repository AndrewDongminYoo/cc-agents-kit (2 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 3,433 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.