Finding

Missing recommended security header

warningSecurity headerssecurity-headers/missing_headerGenerated from the catalogue

This page is generated from the scanner's own catalogue. A fuller explanation — how to check it yourself, and fixes for common platforms — is being written.

In short

A recommended security response header is absent. This covers X-Frame-Options, X-Content-Type-Options, Strict-Transport-Security, Content-Security-Policy, Referrer-Policy, and Permissions-Policy. Each missing header removes a browser-enforced protection such as clickjacking defense, MIME-sniffing prevention, transport security, XSS mitigation, referrer leakage control, or feature restriction. Severity ranges from info to warning depending on the specific header.

How to fix it

Add the named security header with a secure value, for example X-Frame-Options: DENY, X-Content-Type-Options: nosniff, or a strict Content-Security-Policy.

add_header Content-Security-Policy
  "default-src 'self';
   script-src 'self';
   style-src 'self' 'unsafe-inline';
   img-src 'self' data: https:;
   connect-src 'self';
   frame-ancestors 'none';
   base-uri 'self';"
  always;

Fix it with your coding agent

Prompt for Claude Code, Cursor or Codex

An Ingati scan of my website reported “Missing recommended security header” (finding security-headers/missing_header, severity warning). Find where this comes from in this codebase or the server configuration, fix it, and explain what you changed. The scanner's guidance: Add the named security header with a secure value, for example `X-Frame-Options: DENY`, `X-Content-Type-Options: nosniff`, or a strict `Content-Security-Policy`. Then tell me how to confirm the fix, so the next scan shows it as fixed.

How Ingati finds it

This is one of the Security headers checks, and it runs on every scan. When Ingati finds the problem, your report lists it as warning, with where it was found and what the scanner saw. Later scans show it as fixed once it is gone.

Ingati checks this and thousands of other things on every scan.

Start scanning