Primary finding
Comment in middleware.ts misstates CSP policy ('No unsafe-inline') while code includes it
- apps/web/middleware.ts:24-26
- apps/web/middleware.ts:30
The comment asserts a stricter CSP than what is implemented, which can mislead reviewers and maintainers in a security-sensitive area.
Recommendation
Either remove 'unsafe-inline' from the CSP to match the comment, or update the comment to accurately describe the need for 'unsafe-inline' (and when/why it is included).