1---2name: security-checklist3description: Reference document for monopoly security-checklist.4risk: safe5reports-to: monopoly6metadata:7 source: https://skillmd.com/skills/jantoniofc/security-checklist8---910# MONOPOLY — Security Hardening Checklist1112## Network Security13- [ ] All services inside private VPC; only LB/API GW exposed publicly14- [ ] Security groups follow least-privilege (deny all, allow specific ports/CIDRs)15- [ ] NACLs as secondary defense layer16- [ ] WAF enabled with OWASP top 10 ruleset17- [ ] DDoS protection (Cloudflare / AWS Shield Standard minimum)18- [ ] VPN or Private Link for inter-service communication in multi-region1920## Authentication & Authorization21- [ ] JWT tokens with short expiry (15 min access, 7 day refresh)22- [ ] OAuth 2.0 / OIDC for third-party auth23- [ ] MFA enforced for admin accounts24- [ ] RBAC or ABAC for authorization25- [ ] No secrets in JWT payload (use opaque references)26- [ ] Token revocation strategy (Redis blocklist or short TTL)2728## API Security29- [ ] Rate limiting at API gateway (per user, per IP, per endpoint)30- [ ] Input validation and sanitization on all endpoints31- [ ] SQL injection prevention (parameterized queries, ORM)32- [ ] XSS prevention (output encoding, CSP headers)33- [ ] CSRF protection (SameSite cookies, CSRF tokens)34- [ ] CORS policy locked down (not wildcard `*`)35- [ ] HTTP security headers (HSTS, X-Frame-Options, X-Content-Type-Options)3637## Data Security38- [ ] Encryption in transit (TLS 1.2+ everywhere, TLS 1.3 preferred)39- [ ] Encryption at rest (AES-256 for DBs, S3 SSE)40- [ ] PII data identified, minimized, and encrypted at field level where needed41- [ ] Database backups encrypted42- [ ] No sensitive data in logs (PII, passwords, tokens, card numbers)4344## Secrets Management45- [ ] No secrets in code or environment variables in plain text46- [ ] Secrets manager in use (HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager)47- [ ] Secrets rotation automated48- [ ] IAM roles for service-to-service auth (not static credentials)4950## Supply Chain & Dependencies51- [ ] Dependency scanning (Snyk, Dependabot, npm audit)52- [ ] Container image scanning (Trivy, ECR scanning)53- [ ] Pin dependency versions in production54- [ ] SBOM (Software Bill of Materials) generated for compliance5556## Incident Response57- [ ] Audit logs for all admin actions and data access58- [ ] Alerting on anomalous access patterns59- [ ] Incident response runbook documented60- [ ] Data breach notification process defined (GDPR 72-hour rule)61- [ ] Regular penetration testing scheduled6263## Compliance (as applicable)64- [ ] GDPR: data residency, right to deletion, consent tracking65- [ ] PCI-DSS: if handling card data — never store raw PANs66- [ ] HIPAA: if health data — encryption, audit logs, BAA with vendors67- [ ] SOC 2 Type II: access control, availability, confidentiality evidence686970## Limitations71- This is a reference document and may not cover all edge cases. Always verify architectures before production.