X-Content-Type-Options Header Checker - nosniff audit avatar
X-Content-Type-Options Header Checker - nosniff audit

Pricing

Pay per usage

Go to Apify Store
X-Content-Type-Options Header Checker - nosniff audit

X-Content-Type-Options Header Checker - nosniff audit

Fetches URLs and validates the X-Content-Type-Options response header. Flags missing header and invalid values (expects nosniff) to help prevent MIME sniffing attacks. Outputs per-URL results plus SUMMARY and REPORT.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Bikram Adhikari

Bikram Adhikari

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 hours ago

Last modified

Categories

Share

X-Content-Type-Options Header Checker

Checks the X-Content-Type-Options response header for a list of URLs.

This header is commonly set to nosniff to help prevent MIME-sniffing issues.

What it checks

  • Missing X-Content-Type-Options
  • Invalid value (anything other than nosniff)
  • Multiple comma-separated values

Input

  • startUrls (required): URLs to check (Request List Sources format)
  • requestStrategy: HEAD_THEN_GET (default), HEAD_ONLY, GET_ONLY
  • followRedirects, maxRedirects
  • warnOnMissing, warnOnInvalid

Output

Dataset (per-URL)

Each item includes:

  • startUrl, finalUrl, statusCode, usedMethod, timingMs
  • xContentTypeOptionsRaw, normalizedValue, isNosniff
  • score, ok, warningCount, errorCount, issues

Key-value store

  • SUMMARY (JSON)
  • REPORT (JSON)

Quick start

Store page: https://apify.com/scrappy_garden/x-content-type-options-header-checker

Paste this into Input and click Run:

{
"startUrls": [
{
"url": "https://example.com/"
}
],
"proxyConfiguration": {
"useApifyProxy": false
}
}

Outputs (what you get)

  • Dataset: Dataset items typically include fields like: startUrl, finalUrl, statusCode, xContentTypeOptionsRaw, normalizedValue, isNosniff, score, ok, warningCount, errorCount.
  • Key-value store: REPORT, SUMMARY

Tips (trust + predictable results)

  • Start with 1–3 URLs to validate behavior, then scale up.
  • If a target blocks requests, enable Proxy and/or slow down concurrency in Input.
  • Use the SUMMARY / REPORT keys (when present) for automation pipelines and monitoring.

Search keywords

x content type options header checker, x-content-type-options header checker - nosniff audit, website audit, seo, http headers