Webtrax docs

Rules · Security (passive)

X-Content-Type-Options header missing

security.header.nosniff_missing · default severity LOW · rule version 1

Why it matters

Browsers may guess content types and run a file as script.

How to fix it

Send X-Content-Type-Options: nosniff.

Checking the fix

Run the check again (webtrax check <url>), or compare two runs with webtrax diff: a fixed finding moves to "Fixed". To see this guidance from the terminal, run webtrax explain security.header.nosniff_missing.