Skip to content

Infrastructure & CI

Your app does not send security headersruntime.missing-security-headers

Run in production mode, the app sends no Content-Security-Policy, frame protection, nosniff or Referrer-Policy. Skipped on dev servers.

  • In force Rule runtime.missing-security-headers
  • 3 clauses

At a glance

runtime.missing-security-headers
Severitymedium
CertaintyObserved — the code as written is the problem
Looks atyour running app, in a real browser
When it runsRuns with --runtime, against your app on localhost

How to fix it

Declare the headers in your framework or host config.

Check your own app

Run npx scanlyfix scan --runtime in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.

If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line runtime.missing-security-headers -- <why>.

All rules

Your code stays
on your machine

Only findings are uploaded, and only to your own dashboard.