05Blitz
Security audit remediation
Led the fix list from an external VAPT audit: a credentialed CORS origin-reflection flaw in a Django service behind AWS API Gateway, host-specific CSP through CloudFront response-header policies, and a leaked API key rotated.
CSP shipped report-only first, then enforced.
Request path
+------------+ +----------------+ +-----------------+
| VAPT audit |--->| CORS allowlist |--->| CSP report-only |
+------------+ +----------------+ +-----------------+
|
+----------------------------------------+
v
+--------------+ +-------------+
| CSP enforced |--->| key rotated |
+--------------+ +-------------+
VAPT audit CORS allowlist CSP report-only
CSP enforced key rotated
+------------+ +----------------+
| VAPT audit |--->| CORS allowlist |
+------------+ +----------------+
|
+-----------------+
v
+-----------------+
| CSP report-only |
+-----------------+
|
++
v
+--------------+ +-------------+
| CSP enforced |--->| key rotated |
+--------------+ +-------------+
VAPT audit CORS allowlist
CSP report-only
CSP enforced key rotated
CORSCSPAPI GatewayCloudFront