1---2name: security-checklist3description: Reference document for monopoly security-checklist.4---56# MONOPOLY — Security Hardening Checklist78## When to Use9- Use this skill when the task matches this description: Reference document for monopoly security-checklist.1011## Network Security12- [ ] All services inside private VPC; only LB/API GW exposed publicly13- [ ] Security groups follow least-privilege (deny all, allow specific ports/CIDRs)14- [ ] NACLs as secondary defense layer15- [ ] WAF enabled with OWASP top 10 ruleset16- [ ] DDoS protection (Cloudflare / AWS Shield Standard minimum)17- [ ] VPN or Private Link for inter-service communication in multi-region1819## Authentication & Authorization20- [ ] JWT tokens with short expiry (15 min access, 7 day refresh)21- [ ] OAuth 2.0 / OIDC for third-party auth22- [ ] MFA enforced for admin accounts23- [ ] RBAC or ABAC for authorization24- [ ] No secrets in JWT payload (use opaque references)25- [ ] Token revocation strategy (Redis blocklist or short TTL)2627## API Security28- [ ] Rate limiting at API gateway (per user, per IP, per endpoint)29- [ ] Input validation and sanitization on all endpoints30- [ ] SQL injection prevention (parameterized queries, ORM)31- [ ] XSS prevention (output encoding, CSP headers)32- [ ] CSRF protection (SameSite cookies, CSRF tokens)33- [ ] CORS policy locked down (not wildcard `*`)34- [ ] HTTP security headers (HSTS, X-Frame-Options, X-Content-Type-Options)3536## Data Security37- [ ] Encryption in transit (TLS 1.2+ everywhere, TLS 1.3 preferred)38- [ ] Encryption at rest (AES-256 for DBs, S3 SSE)39- [ ] PII data identified, minimized, and encrypted at field level where needed40- [ ] Database backups encrypted41- [ ] No sensitive data in logs (PII, passwords, tokens, card numbers)4243## Secrets Management44- [ ] No secrets in code or environment variables in plain text45- [ ] Secrets manager in use (HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager)46- [ ] Secrets rotation automated47- [ ] IAM roles for service-to-service auth (not static credentials)4849## Supply Chain & Dependencies50- [ ] Dependency scanning (Snyk, Dependabot, npm audit)51- [ ] Container image scanning (Trivy, ECR scanning)52- [ ] Pin dependency versions in production53- [ ] SBOM (Software Bill of Materials) generated for compliance5455## Incident Response56- [ ] Audit logs for all admin actions and data access57- [ ] Alerting on anomalous access patterns58- [ ] Incident response runbook documented59- [ ] Data breach notification process defined (GDPR 72-hour rule)60- [ ] Regular penetration testing scheduled6162## Compliance (as applicable)63- [ ] GDPR: data residency, right to deletion, consent tracking64- [ ] PCI-DSS: if handling card data — never store raw PANs65- [ ] HIPAA: if health data — encryption, audit logs, BAA with vendors66- [ ] SOC 2 Type II: access control, availability, confidentiality evidence676869## Limitations70- This is a reference document and may not cover all edge cases. Always verify architectures before production.