fix: Remove wildcard CSRF origin and add production security settings #145
GitHub Actions / warden: code-review
completed
Apr 8, 2026 in 25s
1 issue
code-review: Found 1 issue (1 medium)
Medium
HSTS security setting mentioned in PR description but not implemented - `src/firetower/settings.py:94-99`
The PR description states '1-hour HSTS' should be added, but no SECURE_HSTS_SECONDS setting is present in the code. Without HSTS, browsers won't be instructed to only use HTTPS for future requests, leaving users vulnerable to SSL stripping attacks during the first connection.
Duration: 23.8s · Tokens: 21.3k in / 500 out · Cost: $0.06
Annotations
Check warning on line 99 in src/firetower/settings.py
github-actions / warden: code-review
HSTS security setting mentioned in PR description but not implemented
The PR description states '1-hour HSTS' should be added, but no SECURE_HSTS_SECONDS setting is present in the code. Without HSTS, browsers won't be instructed to only use HTTPS for future requests, leaving users vulnerable to SSL stripping attacks during the first connection.
Loading