fix: Remove wildcard CSRF origin and add production security settings #145
+8
−1
@sentry/warden / warden: code-review
completed
Apr 8, 2026 in 32s
1 issue
code-review: Found 1 issue (1 low)
Low
HSTS setting mentioned in PR description is not implemented - `src/firetower/settings.py:94-99`
The PR description mentions '1-hour HSTS' as a security setting being added, but the code does not include SECURE_HSTS_SECONDS. If HSTS is intended to protect against protocol downgrade attacks, this setting should be added (e.g., SECURE_HSTS_SECONDS = 3600). The current implementation omits this security header while the PR claims it's included.
Duration: 28.6s · Tokens: 45.5k in / 1.3k out · Cost: $0.12 (+fix_gate: $0.00)
Loading