Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Vulnerability Scanner?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ngocsangyem-vulnerability-scanner)
---
name: mk:vulnerability-scanner
description: "OWASP Top 10 and supply-chain analysis. NOT for mk:cso."
allowed-tools: Read, Glob, Grep, Bash
source: antigravity-kit
keywords:
- vulnerability-scanner
- owasp-top-10
- supply-chain
- attack-surface
- threat-modeling
when_to_use: "Vulnerability scan of app code."
user-invocable: true
owner: security
criticality: high
status: active
runtime: claude-code
---
# Vulnerability Scanner
Scan one module or a diff for code-level security patterns, then judge each hit. Output is a list of verified findings with `file:line`, not a repo-wide audit.
Not for the whole repo: `mk:cso` audits infrastructure, supply chain, secrets history and the threat model, and owns the OWASP list (`.claude/skills/cso/references/phase-9-10-11-owasp-stride-data.md`; use that numbering, do not keep a second one). Not for gating a PR diff: `mk:review` does that.
## When to use
A module or changed files handle auth, payments, user data or user-controlled input, and you want a pattern scan before shipping. Ask which module or diff if the user did not say.
## Process
1. Run the pattern scanner first: `node .claude/hooks/lib/skill-python.cjs .claude/skills/lint-and-validate/scripts/security-scan.py <dir>`. It scans files changed since the last commit, or everything outside a git repo. If it cannot run (no Python), grep the patterns in `references/scanning-methodology.md` by hand and say so.
2. Judge each hit by reading the code around it. Trace the input from where it enters to where it is used. Drop hits in test fixtures and mocks that are intentionally insecure.
3. Report only what you could trace. A hit you could not trace goes in a short "unconfirmed" list, not in the findings.
## Rules that change the result
- Verify before reporting: a finding names the file and line and the input that reaches it, because a pattern match alone is mostly noise.
- One finding is: what, where, why it is exploitable, impact, how to fix.
- Severity follows exploitability: remote code execution, auth bypass or mass data exposure is Critical; data exposure or privilege escalation High; needs-conditions Medium; best practice Low.
- On error the code should deny, not allow. Flag fail-open handlers (auth errors that grant access, parse failures that accept input).
- Findings are never written to memory; vulnerability detail stays in the report you return.
## Return
The findings list, the unconfirmed list, and the four-status block from `.claude/rules/agent-conduct.md` (A1). Done means every finding names a file, a line and a traced input.
## Gotchas
- Intentionally insecure fixtures trip the scanner: leave `test/fixtures/` and mocks out of scope.
- Dependency typosquatting is invisible to a CVE list: compare unfamiliar package names by eye, or leave dependencies to `mk:cso`.