Skip to content
Agent Orchestration
Skill

/security-review

Threat-model rubric for a focused security review of a code change. Use when reviewing auth / input validation / crypto / secrets / supply chain, or as the "security" dimension of a multi-perspective PR review. Pull this skill before starting so severity calibration and coverage

From plugin
lionagi
41312 skills2 agents1 MCP

Claude Code

$ npx -y skills add ohdearquant/lionagi --skill security-review --agent claude-code

SKILL.md

security-review.SKILL.md
name: security-review
description: >
  Threat-model rubric for a focused security review of a code change. Use
  when reviewing auth / input validation / crypto / secrets / supply chain,
  or as the "security" dimension of a multi-perspective PR review. Pull
  this skill before starting so severity calibration and coverage stay
  consistent.
allowed-tools: [Bash, Read, Glob, Grep]

Security review procedure

A focused rubric for security review of a code change. Designed as the "security" specialist dimension of a multi-perspective PR review, but applies equally to a standalone audit.

Scope

Review ONLY your assigned diff (or module). Cross-module concerns go to the architecture specialist; correctness bugs without security impact go to correctness.

Checklist summary (10 sections)

1. **Authentication & authorization** — endpoint auth checks, session tokens, RBAC, fail-closed, multi-tenant 2. **Input validation** — type/range/length/encoding, parameterization, regex anchoring, structured data parsers 3. **Data exposure** — error messages, logs, response fields, timing/cache leaks 4. **Crypto & secrets** — hardcoded keys, safe defaults, weak primitives, `random` vs `secrets`, password hashing 5. **Injection** — SQL, shell, LDAP, template, HTML/XSS 6. **File / path handling** — path containment, zip-slip, temp files, symlinks 7. **Supply chain** — typosquatting, pinned versions, endpoint validation 8. **Deserialization & parsers** — pickle, yaml.load, eval, exec, XXE 9. **Race conditions / TOCTOU** — atomic file operations, lock scope 10. **Denial of service** — unbounded loops on user input, rate limiting

See [threat-model.md](threat-model.md) for full per-section detail and CWE mapping.

Severity calibration

  • `CRITICAL` — exploitable now, no special conditions: auth bypass, RCE, full data exposure
  • `HIGH` — data exposure / auth gap requiring specific conditions
  • `MEDIUM` — mis-scoped tokens, weak validation, missing rate limit
  • `LOW` — defense-in-depth hardening
  • `INFO` — notes for future consideration

**Rule of thumb**: CRITICAL vs HIGH — user action required to exploit? No = CRITICAL, chained = HIGH. HIGH vs MEDIUM — exploitable at attacker's expected access level? Yes = HIGH, needs escalation = MEDIUM.

Output format

| Severity | Location | Description | Suggested fix | Confidence | Runtime-context caveats | |---|---|---|---|---|---| | HIGH | `file.py:112` | Path not containment-checked | Canonicalize, enforce containment, and use race-resistant access | High | Symlink and TOCTOU handling depends on the later file operation |

Verdict at top: `APPROVE` | `REQUEST CHANGES` | `REJECT`. Cite `file:line`. Reference CWE where clear (CWE-22 path traversal, CWE-89 SQLi).

Ground rules

1. Don't invent requirements. 2. Flag runtime context you need but can't see. 3. Be honest about confidence. 4. Review against committed HEAD of the PR branch.

Read more
@ohdearquant
Ships withlionagi

lionagi is a governed multi-agent orchestration framework. Build agent workflows in Python with typed, inspectable state, or run them straight from the terminal with the li CLI: single agents, parallel fan-outs, and DAG flows where an orchestrator plans

41312 skills2 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
413
Star history of ohdearquant/lionagi on GitHub, a chart by star-history.com

Other skills on lionagi.

debug

debug

Systematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling,…

@ohdearquant@ohdearquantInstall Skill
fanout

fanout

Fan one task out to multiple independent lionagi workers through `fanout.submit`, optionally synthesizing their answers. Use when…

@ohdearquant@ohdearquantInstall Skill
flow

flow

Plan and run a dependency-aware lionagi DAG through `flow.submit`, including dry runs and reactive follow-up capacity. Use when…

@ohdearquant@ohdearquantInstall Skill
orchestrate

orchestrate

Plan and execute multi-agent workflows through lionagi's orchestration MCP tool: flow.submit (DAG pipelines), fanout.submit…

@ohdearquant@ohdearquantInstall Skill
play

play

Run an existing lionagi playbook through the orchestration MCP server and retrieve its background result. Use when a saved…

@ohdearquant@ohdearquantInstall Skill
playbook

playbook

Author lionagi playbooks — reusable YAML workflow templates that define parametric agent tasks. Playbooks live at…

@ohdearquant@ohdearquantInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw6d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca4d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip5d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about security-review.

Which coding agents can use security-review?
security-review installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.