dok3-cve-check

dok3-cve-check is a skill for Claude Code from LeeYudok/agents-scaffold. It costs 132 tokens per session (1,907 once invoked), scanned A, original, MIT.

A workflow for finding and fixing known security problems in packages installed with pnpm, the JavaScript package manager. It checks the project's lockfile against online or offline vulnerability data.

In plain words
What is it for?
Use it to scan pnpm dependencies, identify vulnerable direct or transitive packages, and apply safe upgrades or review required changes.
Why use it?
It turns a dependency security check into a repair process instead of stopping after listing problems, while requiring confirmation for breaking upgrades or package removal.

Skill for Claude Code

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

Part of the yd-skills plugin — 20 skills shipped together

Good fit Use it to scan pnpm dependencies, identify vulnerable direct or transitive packages, and apply safe upgrades or review required changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leeyudok/agents-scaffold/dok3-cve-check
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 LeeYudok/agents-scaffold --skill dok3-cve-check
Clone the repo
git clone --depth 1 https://github.com/LeeYudok/agents-scaffold

Made for: Claude Code.

Or install yd-skills, the plugin that ships this one along with the rest of its 20 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 dok3-cve-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-cve-check/github.svg)](https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-cve-check)
Your own site
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-cve-check"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-cve-check/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 dok3-cve-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-cve-check"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-cve-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00132 $0.01907
Opus 5.5 $0.00053 $0.00763
Sonnet 5.5 $0.00026 $0.00381
Haiku 4.5 $0.00013 $0.00191

Measured today against content hash 28c464739f31, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dok3-cve-check scanned grade A with 0 findings 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cve_scan.py, tests/test_cve_scan.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/yd-skills/skills/dok3-cve-check/SKILL.md · 79 lines

How it starts

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

dok3-cve-check

온디맨드로 부른다. 사용자가 "pnpm 취약점 점검 및 보완"이라고 하면 아래 절차를 끝까지 수행한다 — 점검만 하고 멈추지 않는다. 단, breaking 업그레이드와 패키지 제거는 사용자 확인을 받는다.

CVE 목록은 스킬에 넣지 않는다

알려진 취약점은 실행 시점의 DB를 조회해 얻는다. 스킬에 목록을 박아 두면 다음 날 낡는다 (2026-10-24 OSV npm 덤프는 그날 04:48 UTC 에 갱신됐다). 원천은 둘이다.

모드 원천 언제
온라인(기본) pnpm audit --json — npm 레지스트리 advisory(GHSA) 레지스트리에 닿을 때
오프라인 OSV npm 덤프 https://osv-vulnerabilities.storage.googleapis.com/npm/all.zip (약 219MB) 폐쇄망·사내 미러만 있을 때. 덤프를 반입해 --osv-db 로 준다

OSV 덤프는 GHSA 와 함께 MAL-(악성 패키지) 항목도 담는다. pnpm audit 는 악성 패키지를 잡지 못할 수 있으니, 폐쇄망이 아니어도 공급망 사고가 의심되면 OSV 덤프로 한 번 더 돌린다. 같은 락파일에서 두 모드의 CVE 목록은 일치했다(axios 0.21.0·lodash 4.17.15 실측). OSV 덤프 스캔은 약 9초 걸린다.

절차

  1. 스캔 — 락파일이 있는 디렉터리에서 이 스킬 폴더의 scripts/cve_scan.py 를 실행한다.
    python3 <skill>/scripts/cve_scan.py                       # 온라인: pnpm audit
    python3 <skill>/scripts/cve_scan.py --osv-db all.zip      # 오프라인: OSV 덤프
    python3 <skill>/scripts/cve_scan.py --json                # 기계 판독
    
    종료 코드: 0 = 발견 없음, 1 = 발견 있음, 2 = 입력 오류. 심각도 미상은 기준과 무관하게 실패로 센다. 지원 락파일: pnpm-lock.yaml v6·v9 (직접/전이 구분은 importers 로 한다).
  2. 직접 의존성부터 올린다 — action=bump 항목은 해당 package.json 의 지정자를 spec 값(^<고정 버전>)으로 바꾼다. 직접 의존성(bump)부터 올리고 재스캔한다 — 전이 항목은 대개 함께 사라진다. 실측: express 4.17.1 → ^4.20.0 하나로 전이 취약 6건(body-parser·qs·path-to-regexp·send·cookie·serve-static)이 모두 사라졌다.
  3. 남은 전이 의존성만 overrides — 스캐너가 출력하는 같은 줄 범위 overrides 를 pnpm-workspace.yaml 의 overrides: 에 넣는다. 키는 name@>=<줄 하한> <고정 버전>, 값은 ^<고정 버전> — 다른 메이저 사본까지 끌어올리지 않는다.
  4. breaking 은 묻는다 — 고정 버전이 다른 줄(메이저, 0.x 는 마이너)이면 breaking=예 로 나온다. 사용자 확인 없이 올리지 않는다. 변경 내역(CHANGELOG)·마이그레이션 문서를 확인해 영향을 같이 보고한다.
  5. 설치·재스캔·검증 — pnpm install 후 스캐너를 다시 돌려 0건(또는 합의한 예외만)이 될 때까지 2~4 를 반복한다. 이어서 프로젝트의 타입체크·테스트·빌드를 돌린다. 고친 뒤 재스캔을 생략하지 않는다.
  6. 보고 — 이전 → 이후 버전, 고친 CVE, 남은 항목과 이유(고정 없음·breaking 보류)를 표로 남긴다. 커밋은 이슈 번호와 함께.

실측 함정 (pnpm 10.33.0, 2026-10-24)

  • pnpm audit --fix 를 그대로 쓰지 않는다. help 는 package.json 에 쓴다고 하지만 실제로는 pnpm-workspace.yaml 에 쓴다. 또 advisory 마다 상한 없는 >= 오버라이드를 하나씩 추가해, axios 0.21.0 이 1.20.0 으로 메이저가 바뀌었다. 직접 의존성의 지정자까지 >=0.28.0 처럼 덮어썼다.
  • advisory 의 최소 고정 버전도 안전하다는 보장이 없다. axios 0.21.0 에 대해 pnpm audit 이 가리킨 0.33.0 은 0.21.0 이후에 생긴 advisory 2건(GHSA-9fr6-4gfg-395g, GHSA-x97p-jq2g-jp4f, 0.34.0 에서 고정)에 걸린다. OSV 모드는 패키지의 모든 advisory 로 목표 버전을 다시 검사해 0.34.0 을 낸다. 온라인 모드는 재스캔이 이 검사를 대신한다.
  • 0.x 의 caret 은 마이너를 고정한다. ^0.33.0 은 0.34.0 을 받지 않는다.

Read the full file on GitHub · 79 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 79 lines · 132 tokens per session scan A 28c464739f31

Subscribe to this mod's changes

dok3-cve-check is a skill published in the GitHub repository LeeYudok/agents-scaffold (40 stars, last pushed today), licensed MIT. It adds 132 tokens to every session and 1,907 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-30.

Related

dok3-cve-check compared with skills from other repositories

dok3-cve-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dok3-cve-checkLeeYudok/agents-scaffoldSkill40todayMITA132Claude Code
nx-libSpaceMalamute/ai-rulesSkill29mo agononeA15Claude Code
reviewSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
learningSpaceMalamute/ai-rulesSkill29mo agononeA37Claude Code
code-reviewSpaceMalamute/ai-rulesSkill29mo agononeA15Claude Code
security-auditSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
sudden-deathSpaceMalamute/ai-rulesSkill29mo agononeA13Claude Code