/garage:security-reviewfrom garage
Walks through a lightweight threat model for features, PRs, or endpoints covering auth, injection, privacy, and abuse. Provides a structured lens-based review with a risk-ranked findings list.
Ships in garage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Delegation, model labels, and task tracking below use Claude Code notation. In Codex or another client, follow
../../references/cross-client.md.
A lightweight threat model and findings for one feature, PR, or endpoint set, prioritized by real
exploitability. This is the security deep dive; code-audit covers security only as one breadth
dimension, and arch-review covers structural boundaries.
| Lens | Label | Focus |
|---|---|---|
AUTH | opus | Authentication, session, server-side authorization, object-level access, tenant isolation, roles |
INJECTION | sonnet | SQL/NoSQL, command, template, path traversal, XSS, SSRF, unsafe deserialization |
PRIVACY | opus | PII minimization, retention, logs and errors, analytics payloads, secrets handling |
ABUSE | sonnet | Rate limits, enumeration, credential stuffing, resource exhaustion, bulk operations |
Map the attack surface first, in one pass. Fan-out is conditional: a single endpoint, PR, or module runs the four lenses inline. Fan out only for a large surface (many services or entry points): dispatch the lenses as parallel Agent calls in one message with the attack-surface map, then synthesize one risk-ranked list.
Every finding states what is vulnerable, the exploit path (who, from where, with what access), the evidence (code, config, request, or scoped search), and the fix. Theoretical risk with no reachable path is a note, not a finding. Never propose home-grown cryptography.
Fill assets/security-review.md. Group findings as Must-fix (exploitable now, high impact),
Should-fix (exploitable with effort, moderate impact), Nice-to-have (defense in depth).
State explicitly what was not reviewed, and give a verification step for each fix.
design-doc, code-audit (security leads), code-review:code-review (official plugin).test-plan (security test cases), finalize.performance-review (rate limiting and resource exhaustion overlap).produces:
- type: "security-review"
format: "markdown"
path: "claudedocs/<feature>-security-review.md"
sections: [threat_model, findings, owasp_checklist, remediation]
handoff: "Write claudedocs/handoff-security-review-<timestamp>.yaml - suggest: finalize, test-plan"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub omexit/claude-skills-pack --plugin garage48 skills in this plugin
/adrUse when the user wants to record an architecture decision, write an ADR or decision record, or explain why a technology, data model, boundary, or pattern was chosen over alternatives./api-designUse when the user is designing, reviewing, or changing an API contract (REST, GraphQL, or RPC): endpoint shape, naming, errors, versioning, pagination, or developer experience, before or apart from implementing it./api-firstUse when the user wants to scaffold or implement a REST endpoint or resource in a Spring Boot project, especially from an OpenAPI snippet or spec: create endpoint, add API, add CRUD, generate controller, or implement POST/GET/PUT/PATCH/DELETE on a resource./arch-reviewUse when the user asks for an architecture review of existing Java or Spring Boot code: clean or hexagonal architecture boundaries, module boundaries, dependency direction, domain leakage, transaction boundaries, or business logic in controllers./code-auditUse when existing implementation code needs a rigorous review: code audit, code review, code quality, code smells, SOLID or duplication concerns, security or performance of a module, production readiness, or a second opinion on code that already exists./competitive-analysisUse when the user asks for a competitive analysis, competitor review, market landscape, feature comparison against rivals, or who else solves this problem.Other plugins' skills for the same job