Agent skill

Security Review

by cohen-liel in cohen-liel/hivemind

Security review checklist for web applications. An agent skill from cohen-liel/hivemind.

Apache-2.0Auto-check: notesSecurity

Install Security Review

skills CLI
$ npx skills add cohen-liel/hivemind --skill security-review -a claude-code

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

GitHub CLI
$ gh skill install cohen-liel/hivemind 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/cohen-liel/hivemind.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
110
Token cost
~701 tokens
SKILL.md length
248 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
Apache-2.0

At a glance

Security review checklist for web applications. An agent skill from cohen-liel/hivemind.

  • Reviewing code for security vulnerabilities
  • SKILL.md covers Authentication & Authorization, Input Validation, SQL & Data and API Security, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Input validation

What it does

Security Review is an agent skill from cohen-liel/hivemind. Security review checklist for web applications. Use when reviewing code for security vulnerabilities, auth issues, input validation, or any security-sensitive code.

Its SKILL.md is about 700 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. It works with SQL. The repository describes itself as: One prompt. A full AI engineering team. Go lie on the couch. 🧠. The licence is Apache-2.0.

When your agent uses it

  • Reviewing code for security vulnerabilities
  • Input validation
  • Any security-sensitive code

Example prompts

  • “/security-review”

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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 701 tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 248 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:43
    - [ ] .env files in .gitignore

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 cohen-liel/hivemind at commit 918dd9b, republished under its Apache-2.0 licence (© cohen-liel). 248 words, ~701 tokens.

Download SKILL.mdSave it as .claude/skills/security-review/SKILL.md (or your agent's skills folder).
name
security-review
description
Security review checklist for web applications. Use when reviewing code for security vulnerabilities, auth issues, input validation, or any security-sensitive code.

Security Review Checklist

Authentication & Authorization

  • Passwords hashed with bcrypt/argon2 (NEVER md5/sha1/plain)
  • JWT tokens have expiry (access: 15min, refresh: 7d)
  • JWT secret is long (32+ chars), loaded from env var
  • Refresh token rotation implemented (old token invalidated on use)
  • Rate limiting on login (max 5 attempts, then lockout/slowdown)
  • CSRF protection on state-changing endpoints (cookies)
  • Auth check on EVERY protected route (not just the frontend)
  • Admin endpoints have separate, stricter auth check

Input Validation

  • ALL user input validated server-side (never trust client)
  • File uploads: check MIME type, extension, size limit, scan for malware
  • URL parameters parsed and validated (no direct string concat in SQL)
  • JSON bodies have max size limit (e.g., 1MB)
  • HTML/Markdown user content sanitized before rendering (XSS)

SQL & Data

  • ALL queries use parameterized statements (no f-string SQL)
  • ORM used for CRUD — raw SQL only for complex analytics
  • Database user has minimum required permissions (not superuser)
  • Sensitive fields (password, SSN, CC) never returned in API responses
  • PII encrypted at rest for sensitive columns

API Security

  • CORS: explicit allowed origins (never * in production)
  • Security headers: X-Content-Type-Options, X-Frame-Options, CSP
  • HTTPS enforced (redirect HTTP → HTTPS)
  • API keys/secrets never logged or included in error messages
  • 4xx errors don't reveal internal details (stack traces, file paths)

Dependency Security

  • No known CVEs in dependencies (run: pip audit / npm audit)
  • Dependencies pinned to exact versions
  • Secrets never in code or git history (use env vars / secrets manager)
  • .env files in .gitignore

Common Vulnerabilities to Check

OWASP Top 10:
1. Broken Access Control — can user A see/edit user B's data?
2. Cryptographic Failures — are secrets/passwords properly protected?
3. Injection — SQL, command, LDAP injection possible?
4. Insecure Design — is auth logic correct by design?
5. Security Misconfiguration — debug mode on? default credentials?
6. Vulnerable Components — any known CVEs in deps?
7. Auth Failures — session fixation? weak tokens?
8. Data Integrity — deserialization attacks? tampered JWTs?
9. Logging Failures — are attacks logged? are secrets in logs?
10. SSRF — can attacker make server fetch internal URLs?

Issue Format

For each finding: [CRITICAL|HIGH|MEDIUM|LOW] file.py:line — description — exact fix recommendation

© cohen-liel, Apache-2.0. 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 cohen-liel/hivemind.

Open the folder on GitHubat commit 918dd9b

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 skillcohen-liel/hivemind110—~701Automated safety check: NotesApache-2.0
Do Analyzejar-analyzer/jar-analyzer-claude141—~2.5kAutomated safety check: PassNone
Code Security AuditProgrammerAnthony/Expert-Coding-Harness235—~1.6kAutomated safety check: PassMIT
Security ReviewerAratKruglik/claude-laravel1551 repos~1.1kAutomated safety check: NotesNone
Security Reviewaffaan-m/ECC277k3 repos~2.5kAutomated safety check: NotesMIT
Trailmark Code Graphstrailofbits/skills7.5k—~4.3kAutomated safety check: PassCC-BY-SA-4.0

Similar skills

  • Do Analyze

    jar-analyzer/jar-analyzer-claude

    对 jar-analyzer-engine 构建的 SQLite 数据库执行安全审计分析查询。支持方法调用搜索、调用链追踪、Spring 组件分析、字符串搜索、漏洞模式检测等。

    141 GitHub stars~2.5k tokensUpdated 6 mo ago
    DatabasesAuto-check passed
  • Code Security Audit

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要对代码进行安全审计、发现安全漏洞、上线前安全评估、检查代码是否存在安全风险时。触发场景:代码安全审计、安全审计、白盒审计、安全扫描、漏洞检测、漏洞挖掘、SQL注入、命令注入、XSS、SSRF、反序列化、认证绕过、越权、代码安全检查、security audit、code…

    235 GitHub stars~1.6k tokensUpdated 5 mo ago
    SecurityAuto-check passed
  • Security Reviewer

    AratKruglik/claude-laravel

    A skill your agent uses when conducting security audits, reviewing code for vulnerabilities, or analyzing infrastructure security.

    155 GitHub starsUsed in 1 repo~1.1k tokens
    SecurityAuto-check: notes
  • Security Review

    affaan-m/ECC

    在添加身份验证、处理用户输入、处理机密信息、创建API端点或实现支付/敏感功能时使用此技能。提供全面的安全检查清单和模式。

    277k GitHub starsUsed in 3 repos~2.5k tokens
    SecurityAuto-check: notes
  • Trailmark Code Graphs

    trailofbits/skills

    Official

    Builds a code graph of functions, classes and calls across languages, then queries it for call paths, taint, blast radius, entry points and complexity hotspots.

    7.5k GitHub stars~4.3k tokensUpdated yesterday
    SecurityAuto-check passed
  • Security Audit

    Aedelon/claude-code-blueprint

    Proactive security audit: OWASP top 10, dependency vulnerabilities, secrets detection, input validation, auth patterns, and secure defaults.

    120 GitHub stars~1.6k tokensUpdated 7 mo ago
    SecurityAuto-check: notes

More from cohen-liel/hivemind

All 33 skills in this repo
  • API Design

    cohen-liel/hivemind

    REST API design principles and best practices. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~857 tokensUpdated 5 mo ago
    Auto-check passed
  • Async Python

    cohen-liel/hivemind

    Python asyncio patterns for high-performance async code. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~992 tokensUpdated 5 mo ago
    Auto-check passed
  • Celery Tasks

    cohen-liel/hivemind

    Celery background task patterns for Python apps. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~1.1k tokensUpdated 5 mo ago
    Auto-check passed
  • Docker Deployment

    cohen-liel/hivemind

    Docker, docker-compose, and deployment configuration best practices.

    110 GitHub stars~674 tokensUpdated 5 mo ago
    Auto-check passed
  • E2E Testing

    cohen-liel/hivemind

    End-to-end testing patterns with Playwright. An agent skill from cohen-liel/hivemind.

    110 GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Email Service

    cohen-liel/hivemind

    Email sending patterns for transactional and marketing emails.

    110 GitHub stars~1.8k tokensUpdated 5 mo ago
    Auto-check passed

Works with

Categories

Questions about Security Review

What does Security Review do?

Security review checklist for web applications. An agent skill from cohen-liel/hivemind. Security Review is an agent skill from cohen-liel/hivemind. Security review checklist for web applications.

When should I use Security Review?

Security Review fits situations like: reviewing code for security vulnerabilities; input validation; any security-sensitive code.

How do I install Security Review in Claude Code?

Run `npx skills add cohen-liel/hivemind --skill security-review -a claude-code`. Or copy the skill folder (.claude/skills/security-review in cohen-liel/hivemind) 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 cohen-liel/hivemind --skill security-review -a codex`. Or copy the skill folder (.claude/skills/security-review in cohen-liel/hivemind) 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 cohen-liel/hivemind --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?

SKILL.md names no scripts, command-line tools or credentials: Security Review is instructions for the agent only.

Does Security Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Security Review safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Security Review use?

Security Review is published under the Apache-2.0 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 701 tokens (SKILL.md is roughly 2.8k 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: Do Analyze (jar-analyzer/jar-analyzer-claude, 141 stars), Code Security Audit (ProgrammerAnthony/Expert-Coding-Harness, 235 stars), Security Reviewer (AratKruglik/claude-laravel, 155 stars) and Security Review (affaan-m/ECC, 277k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Review?

cohen-liel (a GitHub user) maintains it in cohen-liel/hivemind, which has 110 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on April 18, 2026.

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