Commit 0086e23
fix: final audit — remove current mode remnants, tighten CSP
Security:
- Remove style-src 'unsafe-inline' (CSS now external via /app.css)
- Cookie: HttpOnly, Secure, SameSite=Lax confirmed
- Admin endpoints require session.admin check
Consistency:
- Remove 'current' from CASH_ONLY_EXECUTION_MODES (worker.js)
- Remove 'current' from OPTION_OVERLAY_MODES (worker.js)
- Update all ||current fallbacks to ||enabled
- Worker and frontend mode lists now match
Architecture:
- Single config source: platform-config.json
- Config injection: inject_platform_config.py
- CSS: external /app.css with cache headers
- All 6 platforms: 0 read failures
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 525736d commit 0086e23
4 files changed
Lines changed: 12 additions & 292 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
| 1328 | + | |
1328 | 1329 | | |
1329 | 1330 | | |
1330 | 1331 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments