Fix guides

Step-by-step fixes for findings that come up again and again in sites and apps built with AI tools. Each starts with a read-only check, and each fix was tested as the page describes.

Not sure which fix to do first? Our notes on 5 common gaps in freshly launched AI-built sites show which problems came up most in real checks.

Which security headers should a new website have?

At minimum: Strict-Transport-Security (HSTS), a Content-Security-Policy, X-Content-Type-Options set to nosniff, protection against framing (the CSP frame-ancestors directive, plus X-Frame-Options for older browsers), a Referrer-Policy such as strict-origin-when-cross-origin, and a Permissions-Policy that switches off browser features you don't use, such as the camera and microphone. The OWASP HTTP Headers Cheat Sheet recommends these, and advises against relying on the old X-XSS-Protection header (leave it out or set it to 0). Google's web.dev security headers guide also lists Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy as recommended for all websites.

Also remove response headers that only reveal your stack, such as X-Powered-By; the OWASP Secure Headers Project keeps a list of headers to remove.

Check what you send today with curl -sI https://yoursite.com/ or Mozilla's free HTTP Observatory. Sources, checked 21 November 2026: OWASP HTTP Headers Cheat Sheet, web.dev security headers quick reference and OWASP Secure Headers Project. Want them checked on your live site? The $49 AI Site Audit covers headers along with exposed keys and database rules. Our sample report shows the headers results from a real check of our own site.

Chat