1---2name: security-checklist3description: Reference document for monopoly security-checklist.4---5
6
7# MONOPOLY — Security Hardening Checklist
8
9## Network Security
10- [ ] All services inside private VPC; only LB/API GW exposed publicly
11- [ ] Security groups follow least-privilege (deny all, allow specific ports/CIDRs)
12- [ ] NACLs as secondary defense layer
13- [ ] WAF enabled with OWASP top 10 ruleset
14- [ ] DDoS protection (Cloudflare / AWS Shield Standard minimum)
15- [ ] VPN or Private Link for inter-service communication in multi-region
16
17## Authentication & Authorization
18- [ ] JWT tokens with short expiry (15 min access, 7 day refresh)
19- [ ] OAuth 2.0 / OIDC for third-party auth
20- [ ] MFA enforced for admin accounts
21- [ ] RBAC or ABAC for authorization
22- [ ] No secrets in JWT payload (use opaque references)
23- [ ] Token revocation strategy (Redis blocklist or short TTL)
24
25## API Security
26- [ ] Rate limiting at API gateway (per user, per IP, per endpoint)
27- [ ] Input validation and sanitization on all endpoints
28- [ ] SQL injection prevention (parameterized queries, ORM)
29- [ ] XSS prevention (output encoding, CSP headers)
30- [ ] CSRF protection (SameSite cookies, CSRF tokens)
31- [ ] CORS policy locked down (not wildcard `*`)
32- [ ] HTTP security headers (HSTS, X-Frame-Options, X-Content-Type-Options)
33
34## Data Security
35- [ ] Encryption in transit (TLS 1.2+ everywhere, TLS 1.3 preferred)
36- [ ] Encryption at rest (AES-256 for DBs, S3 SSE)
37- [ ] PII data identified, minimized, and encrypted at field level where needed
38- [ ] Database backups encrypted
39- [ ] No sensitive data in logs (PII, passwords, tokens, card numbers)
40
41## Secrets Management
42- [ ] No secrets in code or environment variables in plain text
43- [ ] Secrets manager in use (HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager)
44- [ ] Secrets rotation automated
45- [ ] IAM roles for service-to-service auth (not static credentials)
46
47## Supply Chain & Dependencies
48- [ ] Dependency scanning (Snyk, Dependabot, npm audit)
49- [ ] Container image scanning (Trivy, ECR scanning)
50- [ ] Pin dependency versions in production
51- [ ] SBOM (Software Bill of Materials) generated for compliance
52
53## Incident Response
54- [ ] Audit logs for all admin actions and data access
55- [ ] Alerting on anomalous access patterns
56- [ ] Incident response runbook documented
57- [ ] Data breach notification process defined (GDPR 72-hour rule)
58- [ ] Regular penetration testing scheduled
59
60## Compliance (as applicable)
61- [ ] GDPR: data residency, right to deletion, consent tracking
62- [ ] PCI-DSS: if handling card data — never store raw PANs
63- [ ] HIPAA: if health data — encryption, audit logs, BAA with vendors
64- [ ] SOC 2 Type II: access control, availability, confidentiality evidence
65
66
67## Limitations
68- This is a reference document and may not cover all edge cases. Always verify architectures before production.