ワンクリックで
security-review
Security checklist for code changes with severity classification
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Security checklist for code changes with severity classification
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Pre-meeting context gathering across all connected systems. Pulls recent interactions, open items, and suggested talking points for any person or topic. Triggers on: "meeting prep", "prep for my meeting", "meeting with X", "prep for 1:1".
Pulls a Granola meeting transcript and updates people files with per-person intelligence: what they said, what they pushed back on, what they committed to. Compounds over time — each meeting adds a layer. Triggers on: "sync people", "update people from meeting", "update stakeholders", "/people-sync".
Competitive analysis and market research with source attribution. Parallel fan-out across web, review sites, and news. Triggers on: "market research", "competitive analysis", "competitor comparison".
Voice profile configuration and application for consistent writing. Configure once with 2-3 samples, apply everywhere. Triggers on: "writing style", "voice profile", "apply my voice", writing long-form content.
Platform-optimized Substack Notes creation. 500-char limit, hook-driven, engagement-focused. Triggers on: "write a Substack Note", "Substack content", "Note ideas".
Test-driven development enforcement with RED-GREEN-IMPROVE cycle
| name | security-review |
| description | Security checklist for code changes with severity classification |
| origin | pm-pilot |
| version | 1.0.0 |
| triggers | ["after writing code with auth","after writing code with user input","after writing API endpoints","after handling secrets","security review"] |
Systematic security checklist for code changes. Catch vulnerabilities before they ship.
Determine which checks apply based on changed files:
| Check | Severity | What to Look For |
|---|---|---|
| Hardcoded secrets | CRITICAL | API keys, passwords, tokens in source |
| SQL injection | CRITICAL | String concatenation in queries |
| Auth bypass | CRITICAL | Missing auth checks on protected routes |
| XSS | HIGH | Unsanitized user input in HTML output |
| CSRF | HIGH | Missing CSRF tokens on state-changing requests |
| Input validation | HIGH | Unvalidated user input passed to logic |
| Rate limiting | MEDIUM | Endpoints without rate limits |
| Error leaks | MEDIUM | Stack traces or internal details in responses |
| Authz checks | HIGH | Missing permission verification |
| Dependency vulns | MEDIUM | Known CVEs in dependencies |
# Check for hardcoded secrets (patterns)
grep -rn "password\s*=\s*['\"]" --include="*.{ts,js,py,go}" .
grep -rn "api_key\s*=\s*['\"]" --include="*.{ts,js,py,go}" .
grep -rn "secret\s*=\s*['\"]" --include="*.{ts,js,py,go}" .
# Check for SQL string concatenation
grep -rn "SELECT.*+.*FROM\|INSERT.*+.*INTO" --include="*.{ts,js,py,go}" .
# Check dependency audit
npm audit 2>/dev/null || pip-audit 2>/dev/null || true
Security Review: {scope description}
CRITICAL:
- {finding with file:line and fix}
HIGH:
- {finding with file:line and fix}
MEDIUM:
- {finding or "none"}
LOW:
- {finding or "none"}
Verdict: PASS | BLOCKED ({count} CRITICAL issues)
Security Review: User authentication endpoints
CRITICAL: none
HIGH:
- src/api/login.ts:42 - Missing rate limiting on login endpoint
Fix: Add express-rate-limit middleware (max 5 attempts/min)
MEDIUM:
- src/api/profile.ts:18 - Error response includes stack trace
Fix: Use generic error message in production
LOW: none
Verdict: PASS (0 CRITICAL, 1 HIGH to fix before merge)