Threat model and trust boundaries
CORS is a browser response-sharing policy, not authentication. Reflecting arbitrary Origin values while allowing credentials can expose authenticated responses to hostile sites.
- Identify actors, assets and trust boundaries
- Choose controls that address the stated threat
- Test failure behavior and recovery paths