Agent skill

Security Review

by kklimuk in kklimuk/docx-cli

Review code for security vulnerabilities. An agent skill from kklimuk/docx-cli.

MITAuto-check passedSecurity

Install Security Review

skills CLI
$ npx skills add kklimuk/docx-cli --skill security-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kklimuk/docx-cli security-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kklimuk/docx-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/security-review .claude/skills/security-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
security-review
GitHub stars
216
Token cost
~1.7k tokens
SKILL.md length
901 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Review code for security vulnerabilities. An agent skill from kklimuk/docx-cli.

  • Works in 3 steps: Run git diff main...HEAD --name-only to… → If that fails (no main, detached… → If no diff is available, ask the user…
  • The user says security review
  • SKILL.md covers Scope, What to Look For, Report Format and What NOT to Do, plus 1 more section
  • Calls git, bun and npm

What it does

Security Review is an agent skill from kklimuk/docx-cli. Review code for security vulnerabilities. Use when the user says 'security review', 'security audit', 'check for vulnerabilities', 'pentest the code', 'OWASP check', or any variation of wanting a security assessment.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Security review and Web application vulnerabilities. It works with Git. The repository describes itself as: CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity. The licence is MIT.

When your agent uses it

  • The user says security review
  • Check for vulnerabilities
  • Pentest the code
  • Any variation of wanting a security assessment

Example prompts

  • “security review”
  • “security audit”
  • “check for vulnerabilities”
  • “/security-review”

Requirements

  • Pre-approved tools (allowed-tools): Read, Grep, Glob, Bash(git diff:*), Bash(git log:*), Bash(git status:*), Bash(git show:*), WebFetch

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Run git diff main...HEAD --name-only to get files changed on this branch vs main.
  2. If that fails (no main, detached worktree, etc.), fall back to git diff HEAD --name-only for uncommitted changes, then git diff --cached…
  3. If no diff is available, ask the user which files to review.

What it can do on your machine

Read from SKILL.md and the folder at commit 4cd0388. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob
    • Bash(git diff:*)
    • Bash(git log:*)
    • Bash(git status:*)
    • Bash(git show:*)
    • WebFetch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • bun
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Security Review loads about 1.7k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 901 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kklimuk/docx-cli at commit 4cd0388, republished under its MIT licence (© kklimuk). 901 words, ~1,741 tokens.

Download SKILL.mdSave it as .claude/skills/security-review/SKILL.md (or your agent's skills folder).
name
security-review
description
Review code for security vulnerabilities. Use when the user says 'security review', 'security audit', 'check for vulnerabilities', 'pentest the code', 'OWASP check', or any variation of wanting a security assessment.
allowed-tools
Read, Grep, Glob, Bash(git diff:*), Bash(git log:*), Bash(git status:*), Bash(git show:*), WebFetch
context
fork
agent
general-purpose
metadata.internal
true

Security Review

Audit changed files for security vulnerabilities, focusing on the OWASP Top 10 and issues specific to the project's stack.

When running locally as a forked subagent, the main session does not see any files you read or any reasoning you do — only the final report you return. When running in CI (e.g. via claude-code-action), the workflow takes the report and turns it into GitHub PR review comments. Either way, take your time, read every changed file completely, and produce a thorough, actionable report. The consumer of this report uses it as a worklist, so it must be complete and self-contained.

Scope

Determine the diff to review:

  1. Run git diff main...HEAD --name-only to get files changed on this branch vs main.
  2. If that fails (no main, detached worktree, etc.), fall back to git diff HEAD --name-only for uncommitted changes, then git diff --cached --name-only for staged files.
  3. If no diff is available, ask the user which files to review.

Read every changed file completely before starting the review. Read CLAUDE.md first to understand the project's stack and any subsystems with security-sensitive surface area (auth, real-time, payments, file uploads).

What to Look For

Injection & Input Handling
  • SQL injection: Raw SQL with string interpolation instead of parameterized queries. Check for any template literals that build SQL, and verify that database libraries are being used in their parameterized form.
  • Command injection: User input passed to shell commands (Bun.$, child_process, subprocess, os.system) without sanitization.
  • XSS: User-controlled data rendered as dangerouslySetInnerHTML, or reflected into HTML/JS without escaping. Check contentEditable fields that accept pasted HTML.
  • Path traversal: User input used in file paths without validation. Check for .. traversal.
  • Prototype pollution: Object.assign or spread on user-controlled objects without allowlisting keys.
Authentication & Authorization
  • Missing auth checks: Endpoints that read/write data without verifying the caller's identity or org membership.
  • IDOR (Insecure Direct Object Reference): Endpoints that accept an ID parameter and return/modify the resource without verifying the caller has access. Particularly dangerous when URL params (like a slug) aren't validated against the actual resource ownership.
  • Privilege escalation: Actions that should be restricted (delete, move, admin operations) but aren't gated on role/permission.
Data Exposure
  • Over-fetching: API responses that include more data than the client needs (e.g., internal IDs, secrets, full document state when only a title is needed).
  • Error leakage: Stack traces, SQL errors, or internal paths exposed in error responses.
  • Sensitive data in logs: Passwords, tokens, or PII logged to console.
Real-time / WebSocket Security

(Only relevant if the project has a WebSocket layer — see CLAUDE.md.)

  • Channel authorization: Can a client subscribe to any channel by guessing the name? Are channel subscriptions validated against user permissions?
  • Message spoofing: Can a client broadcast messages to channels they shouldn't have write access to?
  • Payload validation: Are incoming WebSocket messages validated before processing?
Denial of Service
  • Unbounded queries: Endpoints that return all records without pagination or limits.
  • Regex DoS: User input used in regex patterns without sanitization.
  • Resource exhaustion: File uploads, large request bodies, or expensive operations without rate limiting or size limits.
Cryptography & Secrets
  • Hardcoded secrets: API keys, passwords, or tokens in source code.
  • Weak randomness: Math.random() / random.random() used for security-sensitive operations instead of crypto.randomUUID() / secrets.token_*().
  • Missing TLS: WebSocket connections using ws:// in production contexts.
Show full SKILL.md (364 more words)Show less
Dependencies
  • Known vulnerabilities: If bun audit / npm audit / pip-audit is available, check for known CVEs.
  • Prototype pollution via deps: Libraries that merge user input deeply.

Report Format

Return the complete formatted report as your final message — not a summary or TL;DR. Whatever consumes the report (a main Claude session locally, or a CI workflow that posts inline GitHub PR comments) uses it as a worklist, so it must be self-contained.

Organize findings by severity:

Critical

Exploitable now with no authentication required. Data loss, unauthorized access, or remote code execution.

High

Exploitable with some preconditions (e.g., needs authenticated user, specific timing). Privilege escalation, significant data leakage.

Medium

Defense-in-depth issues. Missing validation that's currently protected by another layer but shouldn't rely on it.

Low

Hardening recommendations. Not exploitable today but reduce attack surface.

For each finding, include enough detail that the consumer can apply the fix without re-reading the entire file:

  1. File and line — exact path:line (or path:start-end for ranges); list every site for cross-file findings
  2. Severity — Critical / High / Medium / Low
  3. Vulnerability type — OWASP category or CWE
  4. Current code — short snippet of the vulnerable code (not just a description)
  5. Exploit scenario — concrete steps showing how an attacker would use this
  6. Fix — specific code change, ideally as a before/after snippet
  7. Surrounding context — callers, related files that must change in lockstep, validation layers the fix depends on, tests that should be added

What NOT to Do

  • Don't flag style issues — that's the code review's job.
  • Don't suggest adding WAFs, rate limiters, or infrastructure changes unless the code-level fix is insufficient.
  • Don't report theoretical issues that require physical access or compromised infrastructure.
  • Don't pile on — prioritize the top findings that matter most.

After the Report

The fix phase (or PR-comment-posting phase) happens in whatever consumes this report — not here. Your job ends when you return the report. Make sure it has enough information for that consumer to act on findings without re-reading the codebase. Locally, the main session will work through findings in severity order with minimal, targeted fixes and run bun run check + bun test after each. In CI, the workflow will turn each finding into a GitHub PR review comment.

© kklimuk, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/security-review of kklimuk/docx-cli.

Open the folder on GitHubat commit 4cd0388

Compare with similar skills

Security Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Security Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Security Review this skillkklimuk/docx-cli216—~1.7kAutomated safety check: PassMIT
Vibe Checkbenavlabs/vibe-check118—~1.1kAutomated safety check: NotesMIT
Security Reviewsd0xdev/sd0x-harness192—~1.1kAutomated safety check: PassMIT
Security AuditPostHog/posthog40k—~8.1kAutomated safety check: WarnCustom licence
Security Reviewdanielvm-git/bigpowers258—~1.5kAutomated safety check: PassMIT
Security Auditoreigent-ai/eigent15k—~1.8kAutomated safety check: NotesApache-2.0

Similar skills

  • Vibe Check

    benavlabs/vibe-check

    Security audit for web apps, especially AI-built ("vibe coded") ones.

    118 GitHub stars~1.1k tokensUpdated 20 days ago
    SecurityAuto-check: notes
  • Security Review

    sd0xdev/sd0x-harness

    Security review via Codex exec. An agent skill from sd0xdev/sd0x-harness.

    192 GitHub stars~1.1k tokensUpdated yesterday
    SecurityAuto-check passed
  • Security Audit

    PostHog/posthog

    Official

    Focused security audit of code, calibrated to surface real exploitable bugs and suppress theoretical findings.

    40k GitHub stars~8.1k tokensUpdated today
    SecurityAuto-check: warnings
  • Security Review

    danielvm-git/bigpowers

    AI-powered security analysis of code changes — traces data flow, detects injection, auth bypass, secrets exposure, and unsafe deserialization across files.

    258 GitHub stars~1.5k tokensUpdated 17 days ago
    SecurityAuto-check passed
  • Security Auditor

    eigent-ai/eigent

    Audits source code, dependencies and config files for vulnerabilities and hardcoded secrets, using two bundled Python scanners and an OWASP Top 10 checklist.

    15k GitHub stars~1.8k tokensUpdated today
    SecurityAuto-check: notes
  • Security Review

    jewbetcha/opentrace

    A skill your agent uses when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features.

    116 GitHub starsUsed in 18 repos~3.1k tokens
    SecurityAuto-check: notes

More from kklimuk/docx-cli

  • Weak Agent Test

    kklimuk/docx-cli

    Run the weak-agent adversarial test harness against docx-cli.

    216 GitHub stars~6.1k tokensUpdated today
    Auto-check: notes
  • DOCX CLI

    kklimuk/docx-cli

    Read, edit, redline, comment on, and create Microsoft Word .docx files.

    216 GitHub stars~1.9k tokensUpdated today
    Auto-check: warnings
  • Commit

    kklimuk/docx-cli

    Create well-structured git commits from the current working tree.

    216 GitHub stars~877 tokensUpdated today
    Auto-check: notes

Works with

Categories

Questions about Security Review

What does Security Review do?

Review code for security vulnerabilities. An agent skill from kklimuk/docx-cli. Security Review is an agent skill from kklimuk/docx-cli. Review code for security vulnerabilities.

When should I use Security Review?

Security Review fits situations like: the user says security review; check for vulnerabilities; pentest the code; any variation of wanting a security assessment.

How do I install Security Review in Claude Code?

Run `npx skills add kklimuk/docx-cli --skill security-review -a claude-code`. Or copy the skill folder (.claude/skills/security-review in kklimuk/docx-cli) into .claude/skills/security-review in your project. Claude Code loads it when a task matches its description.

How do I install Security Review in Codex?

Run `npx skills add kklimuk/docx-cli --skill security-review -a codex`. Or copy the skill folder (.claude/skills/security-review in kklimuk/docx-cli) into .agents/skills/security-review in your project. Codex loads it when a task matches its description.

Can I use Security Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kklimuk/docx-cli --skill security-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/security-review, .gemini/skills/security-review, .github/skills/security-review and .opencode/skills/security-review in your project.

What does Security Review need to run?

Going by SKILL.md and its folder, Security Review needs the command-line tools its instructions call (git, bun and npm). Its frontmatter pre-approves these tools: Read, Grep, Glob, Bash(git diff:*), Bash(git log:*), Bash(git status:*), Bash(git show:*), WebFetch.

Does Security Review access the network?

SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Security Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Security Review use?

Security Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Security Review use?

About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Security Review?

Skills that share tags, products or a category with Security Review: Vibe Check (benavlabs/vibe-check, 118 stars), Security Review (sd0xdev/sd0x-harness, 192 stars), Security Audit (PostHog/posthog, 40k stars) and Security Review (danielvm-git/bigpowers, 258 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Review?

kklimuk (a GitHub user) maintains it in kklimuk/docx-cli, which has 216 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 9, 2026.

Source: kklimuk/docx-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.