security-review
AI-powered security analysis of code changes — traces data flow, detects injection, auth bypass, secrets exposure, and unsafe deserialization across files.
Skill by danielvm-git
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielvm-git-security-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/security-review
What's inside
- Skill name
security-review- Description
- AI-powered security analysis of code changes — traces data flow, detects injection, auth bypass, secrets exposure, and unsafe deserialization across files. Use when reviewing pending changes, before release-branch, during verify-work Phase 5, during build-epic Step 0 threat modeling, or when the user says "security review" or "scan for vulns".
- License
- MIT
- Instructions
- 380 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
<!-- story: e45s41 --> <!-- story: e45s18 --> <!-- story: e26s01 --> <!-- story: e26s02 --> <!-- story: e26s03 --> <!-- story: e26s04 --> <!-- story: e26s05 --> <!-- story: e26s06 --> <!-- story: e26s07 --> <!-- story: e45s26 --> # Security Review > **HARD GATE** — Requires git context (branch with merge-base or diff). Never > writes files outside `specs/security/`. Findings below confidence 8/10 are > suppressed. Pre-flight: `git rev-parse HEAD >/dev/null 2>&1` ## Parallel worktree mode (e45s18) When running alongside `audit-code`, use isolated worktrees so scans do not race on the same index: ```bash bash scripts/lib/parallel-review-worktrees.sh security-review ``` Each check gets a detached worktree at `.bigpowers/worktrees/review-<name>/`; reports still write only under `specs/security/`. ## 5-phase scan | # | Phase | What | |---|-------|------| | 1 | **Scope Resolution** | Detect diff via `git diff --merge-base origin/HEAD`; resolve languages/frameworks from dependency files | | 2 | **Context Research** | Identify existing security patterns, sanitization, auth model in the codebase | | 3 | **Vulnerability Assessment** | Trace user input → sink; check auth boundaries, crypto, deserialization, path ops | | 4 | **False-Positive Filtering** | Cross-check each finding against exclusion rules; reject confidence < 8 | | 5 | **Report Generation** | Output structured markdown: file:line, severity, category, exploit scenario, fix | ## Categories Covered: SQLi, XSS, SSRF, command injection, auth bypass, unsafe deserialization, path traversal, IDOR, crypto flaws, secrets exposure, template injection, NoSQLi ## CWE mapping mandate (e45s26) Every **new detection rule** added to this skill MUST: 1. Map to a [CWE](https://cwe.mitre.org/) ID in `REFERENCE-vuln-categories.md` (e.g. SQLi → CWE-89, XSS → CWE-79). 2. Ship **two fixture pairs** under `skills/security-review/fixtures/`: - **Positive** — minimal code the rule MUST flag (vulnerable pattern present). - **Negative** — structurally similar code the rule MUST NOT flag (safe pattern / false-positive guard). | Rule | CWE | Positive fixture | Negative fixture | |------|-----|------------------|------------------| | SQL injection | CWE-89 | `fixtures/CWE-89-sqli-positive.py` | `fixtures/CWE-89-sqli-negative.py` | | XSS (DOM) | CWE-79 | `fixtures/CWE-79-xss-positive.js` | `fixtures/CWE-79-xss-negative.js` | | Missing tenant scoping (IDOR) | CWE-639 | `fixtures/CWE-639-idor-positive.go` | `fixtures/CWE-639-idor-negative.go` | | Fail-open verify directive | CWE-754 | `fixtures/CWE-fail-open-verify-positive.sh` | `fixtures/CWE-fail-open-verify-negative.sh` | Before merging a new category, run both fixtures through the detection guidance and confirm positive flags / negative passes. ## SQL-safety doctrine (e45s41 — proven authorship) Formal rule for SQL injection classification: | SQL source | Attacker-reachable input? | Verdict | |------------|---------------------------|---------| | Hardcoded / compile-time constant string | N/A | **Safe** — proven authorship | | Developer-authored query with bound parameters only | No dynamic fragments from user input | **Safe** | | String concatenation / template with user-controlled values | Yes | **Unsafe** — report as SQLi | | ORM query builder with user input in WHERE/JOIN | Yes | **Unsafe** unless parameterized | | Stored procedure call with bound args | Args from trusted constants only | **Safe** | | Stored procedure with dynamic SQL inside | User input reaches EXEC | **Unsafe** | **Provenance test:** If the agent cannot prove the query string was authored entirely by the developer (no attacker-reachable interpolation), treat as vulnerable. Hardcoded SQL in migrations, seeds, and admin scripts is safe; anything reachable from HTTP/CLI/user input is not. ## BCP Plus Integration This skill maps to **BCP Plus dimension 12 (Security & Compliance)**. When BCP Plus sizing is active, the threat model categories above correspond to sub-elements within dimension 12. The NFR Gate rule applies: standard-expectation items (e.g., "use HTTPS", "hash passwords") score 0 with a one-line rationale; only above-standard security requirements contribute to the dimension 12 count. See `docs/references/bcp-plus.md` for the full 13-dimension framework and NFR Gate pattern. ## Integration points | Skill | Touchpoint | |-------|------------| | `build-epic` | Step 0 — threat-model epic scope → `specs/security/epics/<id>/THREAT_MODEL.md` | | `plan-work` | `security:` field (none/low/medium/high) on story tasks | | `plan-release` | +2 WSJF risk boost for HIGH+ risk epics | | `audit-code` | Checklist: "diff scanned — no unaddressed HIGH findings" | | `request-review` | Inject threat model categories + false-positive rules into reviewer prompt | | `investigate-bug` | Security-impact assessment in RCA (NONE→CRITICAL) | | `validate-fix` | Recurrence hardening check for security bugs | | `verify-work` | Phase 5 — blocks on HIGH findings ≥ 8 confidence | | `release-branch` | Hard gate — blocks merge if unresolved HIGH findings | ## Report format Each finding: **`File:Line` — Severity — Category** - Description: how the vulnerability manifests - Exploit scenario: concrete attack path - Recommendation: fix with code example ## Reference files - [Vuln categories](REFERENCE-vuln-categories.md) — detection guidance per vuln type - [False positives](REFERENCE-false-positives.md) — hard exclusions + precedent - [Confidence rubric](REFERENCE-confidence-rubric.md) — scoring methodology (0–10) ## Verify → verify: `test -d specs/security && test -f scripts/lib/parallel-review-worktrees.sh && bash scripts/verify-cwe-fixture-sync.sh >/dev/null && git rev-parse HEAD >/dev/null 2>&1` --- # Confidence Scoring Rubric Every finding that survives Phase 4 false-positive filtering receives a confidence score from 1 (speculative) to 10 (certain). Only findings ≥ 8 are reported. ## Score 9–10: Certain Exploit Path **Criteria:**
From danielvm-git/bigpowers, MIT.
More from danielvm-git/bigpowers
- 0.556score
diagnose-root
danielvm-git
Run 4-phase root cause analysis — reproduce, isolate, hypothesize, verify.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
diagnose-stall
danielvm-git
Diagnose why agent orchestration stopped producing progress — silent stalls in /loop, dispatch-agents, or execute-plan.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
align-grid
danielvm-git
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
assess-impact
danielvm-git
Analyze the blast radius of a proposed change before any code is written.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-code
danielvm-git
Self-review checklist for the coding agent to run before dispatching a reviewer.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
compose-workflow
danielvm-git
Chain multiple bigpowers skills into a custom workflow recipe saved in specs/.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
context7-mcp
danielvm-git
Fetch current library docs via Context7 MCP instead of training data.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-plan
danielvm-git
Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY verdict before engagement begins.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
deepen-architecture
danielvm-git
Find deepening opportunities in a codebase, informed by the domain language in specs/tech-architecture/tech-stack.md and the decisions in specs/adr/.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
define-language
danielvm-git
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
change-request
danielvm-git
Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
dispatch-agents
danielvm-git
Dispatch multiple subagents in parallel on independent tasks.
SkillBFreshness: B★ 271Claude Code +9
Signals
- Stars
- 271
- Forks
- 24
- Open issues
- 11
- Last commit (this folder)
- Jul 26, 2026 (3 months ago)
- Last release
- Sep 21, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/danielvm-git/bigpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.290score
security-review
danielvm-git
AI-powered security analysis of code changes — traces data flow, detects injection, auth bypass, secrets exposure, and unsafe deserialization across files.
SkillBFreshness: B★ 271Claude Code +9 - 0.290score
security-review
danielvm-git
AI-powered security analysis of code changes — traces data flow, detects injection, auth bypass, secrets exposure, and unsafe deserialization across files.
SkillBFreshness: B★ 271Claude Code +9
More from danielvm-git
- 0.556score
align-grid
danielvm-git
Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-code
danielvm-git
Self-review checklist for the coding agent to run before dispatching a reviewer.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
audit-plan
danielvm-git
Evaluate an incoming project plan against bigpowers principles and conventions, surface gaps, and produce a READY/NOT READY verdict before engagement begins.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
assess-impact
danielvm-git
Analyze the blast radius of a proposed change before any code is written.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
change-request
danielvm-git
Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml and epic capsule directories.
SkillBFreshness: B★ 271Claude Code +9 - 0.556score
compose-workflow
danielvm-git
Chain multiple bigpowers skills into a custom workflow recipe saved in specs/.
SkillBFreshness: B★ 271Claude Code +9
Cite this page
security-review skill. Agent Mart. https://agentmart.dev/skills/danielvm-git-security-review (last updated 2026-10-24)