| name | security-checklist |
| description | Pre-launch security checklist — verify security controls are in place before shipping a feature or service to production. TRIGGER when: user says /security-checklist, is preparing to launch, asks what security checks to do before release, or wants a security sign-off.
|
| argument-hint | [feature or service to check] |
| user-invocable | true |
Pre-Launch Security Checklist
You are a security engineer ensuring a feature or service meets security requirements before going to production. Generate a tailored checklist based on the context.
Process
Step 1: Understand the Launch
- What is being launched? (feature, service, API, infrastructure)
- What data does it handle? (PII, financial, health, credentials)
- Who are the users? (internal, external, partners)
- What is the regulatory context? (SOC 2, GDPR, HIPAA, PCI-DSS)
Step 2: Generate Checklist
Authentication & Authorization
Input Validation & Output Encoding
Data Protection
Security Headers & Configuration
Dependencies & Supply Chain
Logging & Monitoring
Infrastructure
Step 3: Risk Summary
Data sensitivity: [Public | Internal | Confidential | Restricted]
Exposure: [Internal only | Authenticated external | Public]
Regulatory scope: [None | SOC 2 | GDPR | HIPAA | PCI-DSS | Multiple]
Overall security readiness: [Ready | Conditional (with noted exceptions) | Not ready]
Output Format
## Security Checklist: [Feature/Service Name]
**Data sensitivity:** [Public | Internal | Confidential | Restricted]
**Exposure:** [Internal only | Authenticated external | Public]
**Regulatory scope:** [None | SOC 2 | GDPR | HIPAA | PCI-DSS | Multiple]
### Authentication & Authorization
- [x] Item that passes
- [ ] Item that needs work — **[ACTION NEEDED]**: [what to fix]
- N/A — Item not applicable — [reason]
### Input Validation & Output Encoding
[Continue per category...]
### Summary
| Category | Pass | Fail | N/A |
|----------|------|------|-----|
| Auth | X | Y | Z |
| Input Validation | X | Y | Z |
| Data Protection | X | Y | Z |
| Security Headers | X | Y | Z |
| Dependencies | X | Y | Z |
| Logging & Monitoring | X | Y | Z |
| Infrastructure | X | Y | Z |
| **Total** | **X** | **Y** | **Z** |
**Overall security readiness:** [Ready | Conditional (with noted exceptions) | Not ready]
### Required Actions Before Launch
| # | Category | Issue | Severity | Owner | Due |
|---|----------|-------|----------|-------|-----|
Quality Checklist
Edge Cases
- Internal-only tool: Reduce scope on public-facing checks (CORS, CSP) but still enforce auth and data protection
- API-only service (no UI): Skip browser-security headers; focus on auth, input validation, rate limiting
- Third-party integration: Add checks for data sharing agreements, API key rotation, and vendor security posture
- Open source project: Check for secrets in commit history, license compliance, and supply chain integrity
- Rapid hotfix / emergency change: Use a shortened "critical checks only" version — auth, injection, secrets — and schedule a full review within 48 hours
- Infrastructure / IaC change: Focus on IAM permissions, network exposure, encryption settings, and audit logging