iberi22/kernel-security-memory/ksm
Claude Code and agent skill by iberi22/kernel-security-memory
- community
Checking that the SKILL.md file is still in the repository.
Check a code repository against known vulnerabilities with Kernel Security Memory (KSM) — vulnerable locked dependencies (OSV), dangerous code patterns (regex rules per CWE), and functions that resemble the vulnerable side of real fixes (structural fingerprints). Use before merging security-sensitive changes, when auditing a repo, or to look up a CVE, its fix commit and related CVEs. Deterministic; findings are hypotheses to review, not verdicts.
Install
npx vskill@latest install iberi22/kernel-security-memory/ksmSKILL.md
The same SKILL.md was published earlier as iberi22/kernel-security-memory/ksm.
KSM: known-vulnerability checks for a repository
Install (once)
No account, API key or model is needed. ksm deps queries api.osv.dev; everything else is local.
Check a repository
Run from anywhere; PATH is the repository root. Always prefer --json and read the fields.
Exit codes: 0 ok, 1 findings with --strict, 2 usage or missing data (the message says what to run).
Read the results
deps: a finding is real when the installed version is in the advisory's affected range. Report the
fixed version; propose the upgrade, do not edit lockfiles by hand.
audit: pattern matches. Open the line and judge it; many are safe in context.scan:score >= 0.9is strong. Strong findings mean the function looks like the vulnerable version of
a known fix (most useful for code derived from that project) or calls a function without a check that the fix added (lines[].variable, lines[].callee). Open matches[].commit_url to see the real fix.
- Never claim a vulnerability from KSM output alone. Say "KSM flags ... because ..." and verify in code.
Look up a CVE
Browse the same data at https://iberi22.github.io/kernel-security-memory/.
MCP
If your client speaks MCP: ksm mcp (stdio). Tools: ksm_stats, ksm_search, ksm_show, ksm_related, ksm_audit, ksm_scan, ksm_deps. Registration examples: docs/MCP.md in the repository.
Report template
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ksm/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iberi22/kernel-security-memory/ksm)