ShipBastion AI Watch — $19/mo

huggingface.co HTTP Security Headers & TLS Grade (2026)

huggingface.co scores C (50/100) for HTTP security headers as of 2026-11-29; missing: Content-Security-Policy, X-Content-Type-Options and Permissions-Policy. TLS: TLS 1.3 (TLS_AES_128_GCM_SHA256), certificate valid for 90 more days. Rank #65 of 78 graded top sites.

Headers grade
C
50 / 100
TLS
TLS 1.3
TLS_AES_128_GCM_SHA256 · A+
Certificate
90
days left · Amazon
Rank
#65/78
AI & Vibe-Coding average: 84/100

huggingface.co security headers, one by one

HeaderWeightStatusValue / note
Strict-Transport-Security25 good max-age=31536000
Content-Security-Policy25 missing —
X-Frame-Options20 good DENY
X-Content-Type-Options20 missing —
Referrer-Policy5 good strict-origin-when-cross-origin
Permissions-Policy5 missing —

Graded on https://huggingface.co/ · HTTP 200 · 0 redirect(s)

Missing headers & free fix

  • Content-Security-Policy
  • X-Content-Type-Options
  • Permissions-Policy
# nginx
add_header Content-Security-Policy "default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;

# Caddy
header {
  Content-Security-Policy "default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'"
  X-Content-Type-Options "nosniff"
  Permissions-Policy "camera=(), microphone=(), geolocation=()"
}

Free JSON API

Re-grade huggingface.co (or any site) from your terminal or CI — free, no key, CORS enabled.

curl -s "https://shipbastion.com/api/v1/headers?url=https://huggingface.co" | jq '.summary.grade, .missingHeaders, .tls.protocol'

Headers are 6 checks. VibeShield runs 100+.

Run a free deep security scan of your own site: exposed .env and .git files, open Supabase/Firebase tables, leaked API keys in JS bundles, CORS, cookies, DNS/email security and these headers — with copy-paste fixes.

AI & Vibe-Coding sites: security-header grades

FAQ

What is huggingface.co's security headers grade?

C (50/100) on 2026-11-29, using the same weights as the free ShipBastion headers API: HSTS 25, CSP 25, X-Frame-Options 20, X-Content-Type-Options 20, Referrer-Policy 5, Permissions-Policy 5.

Which security headers is huggingface.co missing?

Content-Security-Policy, X-Content-Type-Options and Permissions-Policy.

Does huggingface.co use TLS 1.3?

huggingface.co negotiated TLS 1.3 with TLS_AES_128_GCM_SHA256; certificate issued by Amazon.

How can I check my own site's headers?

Use the free headers checker at https://shipbastion.com/tools/headers or the JSON API: curl -s "https://shipbastion.com/api/v1/headers?url=https://huggingface.co"