Content Security Policy grader
ya.ru
Grade D
Grade D. 2 findings, serious: unsafe-inline.
Add this badge to your site or README
The badge updates as the result changes (cached for a few hours) and links back to this page.
Details
- script-src
- 'unsafe-inline' lets any injected inline script run. Use nonces or hashes instead. Problem
- script-src
- 'unsafe-eval' allows eval() and similar, which turns some injections into code execution. Note
- Policy (header)
- connect-src https://*.strm.yandex.net https://mc.yandex.com https://ya.ru wss://webasr.yandex.net https://tts.voicetech.yandex.net https://log.strm.yandex.ru https://strm.yandex.ru https://yastatic.net https://market-click2.yandex.ru https://surveys.yandex.ru https://yastat.net https://mc.yandex.ru https://*.mc.yandex.ru https://adstat.yandex.ru https://mc.admetrica.ru wss://mc.yandex.ru wss://mc.yandex.com https://yandexmetrica.com:* https://*.yandex.net https://an.yandex.ru https://yandex.ru;img-src https://*.verify.yandex.ru https://*.ya.ru https://*.yandex.ru https://ya.ru https://yabs.yan... (full policy in the JSON)
Checked . Results are cached for a few minutes. Run this from the API.