Skip to content

Attach security headers middleware globally #448

@hman38705

Description

@hman38705

Issue 003: Attach security headers middleware globally

Area: Backend
Priority: High
Files: services/api/src/main.rs, services/api/src/security.rs

Problem

Security headers middleware exists but is not mounted on all route groups. Some responses lack CSP, HSTS, and other security headers.

Acceptance Criteria

  • Responses include CSP, HSTS, X-Frame-Options, and Referrer-Policy headers\n- No duplicate or conflicting headers\n- Tests validate header presence on all route groups\n- Headers are configurable per environment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions