fix: Remove wildcard CSRF origin and add production security settings #145
+8
−1
@sentry/warden / warden: find-bugs
completed
Apr 8, 2026 in 49s
1 issue
find-bugs: Found 1 issue (1 low)
Low
PR description claims HSTS but SECURE_HSTS_SECONDS is not configured - `src/firetower/settings.py:94-99`
The PR description states '1-hour HSTS' is included, but the production security block (lines 94-99) does not include SECURE_HSTS_SECONDS or SECURE_HSTS_INCLUDE_SUBDOMAINS settings. Without these Django settings, HSTS headers will not be sent, leaving users vulnerable to SSL stripping attacks on initial connection.
Duration: 44.7s · Tokens: 118.3k in / 1.9k out · Cost: $0.18 (+fix_gate: $0.00)
Loading