security-review
v2.0.0
Published
Whitebox security review, OWASP auditing, and developer-accelerated agent toolkit for Spec-Kit and AI workflows
Downloads
156
Maintainers
Readme
🔒 Security Review
Continuous whitebox security auditing, OWASP governance, and token-optimized developer CLI & AI Agent toolkit.
What Is Security Review?
security-review is a modern whitebox security review toolkit designed for AI-assisted development workflows and automated CI/CD pipelines.
- Developer CLI Accelerator: Fast git diff extraction, security entrypoint discovery, and report frontmatter validation.
- AI Agent Skills: Pre-engineered prompt contracts for full audits, staged reviews, branch diffs, plan reviews, and remediation tasks.
- Spec-Kit Compatible: 100% backward compatible with Spec-Kit SDD workflows via
/speckit.security-review.*extension hooks.
⚡ Quickstart
1. Instant Execution (Zero Install)
# Analyze staged changes for security sensitivity before commit
npx security-review diff --staged
# Scan project for security entrypoints & trust boundaries
npx security-review scan
# Compile JSON findings into full Markdown security report
npx security-review report --input findings.json --output report.md
# Generate or append remediation tasks to tasks.md (auto-detects SDD framework)
npx security-review tasks --input findings.json --append
# Propose a complete SDD change (OpenSpec / Spec-Kit) from findings
npx security-review sdd propose --input findings.json --name fix-auth-sqli
# Validate security report YAML frontmatter
npx security-review validate docs/security-reviews/report.md2. Global Installation
npm install -g security-review
# or
pnpm add -g security-reviewAfter installation, use any of the binary aliases: security-review, sec-review, or sr.
🤖 AI Agent Skill Integration
Use Security Review directly with AI coding assistants (Antigravity, Claude Code, Cursor, OpenCode, Codex):
| Slash Command | Skill ID | Development Phase | Purpose |
|---|---|---|---|
| /sr-audit | sr-audit | Milestone / Audit | Full repository security audit across all OWASP categories. |
| /sr-staged | sr-staged | Pre-commit | Focused security review of staged changes (git diff --cached). |
| /sr-branch | sr-branch | Feature / PR | Review security risks introduced by the current feature branch. |
| /sr-plan | sr-plan | Technical Design | Review technical plan for trust boundaries and security gaps. |
| /sr-tasks | sr-tasks | Strategy & Tasks | Verify that security requirements are sequenced in implementation tasks. |
| /sr-followup | sr-followup | Triage | Convert security findings into actionable remediation tasks. |
| /sr-apply | sr-apply | Remediation | Automatically apply approved security fixes to tasks.md and plan.md. |
| /sr-export | sr-export | Formal Report | Export formal Executive and Technical Pentest Report. |
| /sr-verify | sr-verify | Verification & PoC | Re-verify findings, test exploitability, and generate PoCs. |
| /sr-init | sr-init | Onboarding | Initialize or update the project Security Constitution. |
👉 For full details on prompt contracts and agent workflows, see Agent Skills Guide.
🔌 Spec-Kit Extension (Backward Compatibility)
If you are using Spec-Kit, Security Review can be added as an extension:
specify extension add security-reviewAll commands are available as /speckit.security-review.* and automatically hook into /speckit.plan, /speckit.tasks, and /speckit.implement.
👉 See the complete Spec-Kit Extension Guide for lifecycle hook configuration and command mappings.
📚 Documentation Index
- Installation Guide — Comprehensive install options
- CLI Reference — Command-line subcommands & flags
- Agent Skills Guide — AI Agent workflows & prompt engineering
- Spec-Kit Extension Guide — Spec-Kit integration & backward compatibility
- Field Registry — YAML frontmatter schema dictionary
- Usage & Lifecycle — End-to-end security review workflows
License & Repository
- Repository: https://github.com/DyanGalih/security-review
- License: MIT © DyanGalih
