Kareva Security Headers helps protect your visitors from clickjacking, cross-site scripting, MIME sniffing and data leakage by sending modern HTTP security headers. No server access or code is needed.
Nothing is sent until you choose a preset. The Recommended preset runs the Content Security Policy in report-only mode, so nothing is blocked while you review reports. If a header ever locks you out, add define( 'KAREVA_SH_DISABLE', true ); to wp-config.php.
wp kareva-sh statuswp kareva-sh apply-preset <basic|recommended|strict|woocommerce>wp kareva-sh enable / wp kareva-sh disablewp kareva-sh export [--file=<path>]wp kareva-sh import <file>wp kareva-sh scan [<url>]wp kareva-sh purge-reports [--older-than=<days>]Filters: kareva_sh_headers, kareva_sh_csp_directives, kareva_sh_admin_tabs, kareva_sh_accept_reports, kareva_sh_store_report, kareva_sh_is_excluded, kareva_sh_capability, kareva_sh_report_rate_limit, kareva_sh_report_global_limit, kareva_sh_max_reports, kareva_sh_client_ip, kareva_sh_presets, kareva_sh_csp_in_admin, kareva_sh_known_conflicts.
If your site is behind a proxy or CDN, every visitor shares the proxy’s address for report rate limiting. Use kareva_sh_client_ip to return the real visitor address from a header your proxy sets and that visitors cannot forge.
Actions: kareva_sh_settings_saved, kareva_sh_before_send_headers, kareva_sh_report_received.
Themes can print the current CSP nonce with kareva_sh_get_nonce().
Use the support forum on WordPress.org or email support@kareva.in. Built by Kareva Techsol.
Freemius (optional opt-in and upgrades). The plugin includes the Freemius SDK. It is used for an optional usage opt-in and for the “Upgrade” page where you can buy the separate Pro version. No feature of this plugin depends on Freemius or on a licence. On first activation you are asked whether to opt in; you can skip, and nothing is sent unless you opt in or start a purchase or trial. If you opt in, Freemius receives your site address, WordPress and PHP versions, plugin version, and your name and email address; it also receives activation, deactivation and uninstall events (with any feedback you choose to give). You can opt out at any time from the plugin’s Account page. Freemius Terms and Privacy Policy.
Apart from Freemius as described above, the plugin contacts no external service on its own.