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.
npx skills add LeeYudok/agents-scaffold --skill dok3-cve-checkgit clone --depth 1 https://github.com/LeeYudok/agents-scaffoldWrote 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.
[](https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-cve-check)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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초 걸린다.
절차
- 스캔 — 락파일이 있는 디렉터리에서 이 스킬 폴더의
scripts/cve_scan.py를 실행한다.
종료 코드: 0 = 발견 없음, 1 = 발견 있음, 2 = 입력 오류. 심각도 미상은 기준과 무관하게 실패로 센다. 지원 락파일: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 # 기계 판독pnpm-lock.yamlv6·v9 (직접/전이 구분은importers로 한다). - 직접 의존성부터 올린다 —
action=bump항목은 해당package.json의 지정자를spec값(^<고정 버전>)으로 바꾼다. 직접 의존성(bump)부터 올리고 재스캔한다 — 전이 항목은 대개 함께 사라진다. 실측: express 4.17.1 →^4.20.0하나로 전이 취약 6건(body-parser·qs·path-to-regexp·send·cookie·serve-static)이 모두 사라졌다. - 남은 전이 의존성만 overrides — 스캐너가 출력하는 같은 줄 범위 overrides 를
pnpm-workspace.yaml의overrides:에 넣는다. 키는name@>=<줄 하한> <고정 버전>, 값은^<고정 버전>— 다른 메이저 사본까지 끌어올리지 않는다. - breaking 은 묻는다 — 고정 버전이 다른 줄(메이저, 0.x 는 마이너)이면
breaking=예로 나온다. 사용자 확인 없이 올리지 않는다. 변경 내역(CHANGELOG)·마이그레이션 문서를 확인해 영향을 같이 보고한다. - 설치·재스캔·검증 —
pnpm install후 스캐너를 다시 돌려 0건(또는 합의한 예외만)이 될 때까지 2~4 를 반복한다. 이어서 프로젝트의 타입체크·테스트·빌드를 돌린다. 고친 뒤 재스캔을 생략하지 않는다. - 보고 — 이전 → 이후 버전, 고친 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 을 받지 않는다.
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.
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.
- today First seen · 79 lines · 132 tokens per session scan A 28c464739f31
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.
dok3-cve-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dok3-cve-checkLeeYudok/agents-scaffold | Skill | 40 | today | MIT | A | 132 | Claude Code |
| nx-libSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 15 | Claude Code |
| reviewSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 14 | Claude Code |
| learningSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 37 | Claude Code |
| code-reviewSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 15 | Claude Code |
| security-auditSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 14 | Claude Code |
| sudden-deathSpaceMalamute/ai-rules | Skill | 2 | 9mo ago | none | A | 13 | Claude Code |