Does your API say yes to every website? Ember checks CORS
Detective Ember sniffs one CORS mistake a lot: an API that trusts every website.
CORS tells browsers which sites may read your API's responses. A reflected origin plus credentials is the risky pairing: the server copies any Origin header into Access-Control-Allow-Origin and also sends Access-Control-Allow-Credentials: true. Then any site a logged-in user visits can read their data. MDN
The two-minute check
- Run
curl -i -H "Origin: https://evil.example" https://yourapp.com/api/me. - If the response echoes
https://evil.exampleand allows credentials, fix it. - Keep an explicit allowlist of your own origins.
Then scan your own app on SniffPup.
Full fixes free for every critical issue (no critical? one other fix is free).
Want one 2-minute check like this every morning? Sign up below.
Named after Ember, my black Pomeranian. Built by a software engineer and vibe-coding hobbyist to help you ship safely.