为什么重要: Without a strong Strict-Transport-Security header, browsers may keep using plain HTTP after the first visit and open the door to interception.
如何修复
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
dmosk / sitechecker
Static demo of a level-1 report for example.com. No live scan is run on this page.
example.com · 18420 ms · 一级
C
71
一般 — 有明显缺口,建议尽快修复。
为什么重要: Without a strong Strict-Transport-Security header, browsers may keep using plain HTTP after the first visit and open the door to interception.
如何修复
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
为什么重要: Without X-Content-Type-Options: nosniff the browser may treat a file as a different type than the server intended.
如何修复
add_header X-Content-Type-Options "nosniff" always;
为什么重要: Users who open http:// can stay on an unencrypted connection.
如何修复
Publish /.well-known/security.txt with Contact and Expires (RFC 9116).
为什么重要: Session cookies without Secure can be sent over plain HTTP and stolen.
如何修复
Mark session cookies Secure in the application cookie API.
为什么重要: Without DMARC policy receivers do not know whether to reject forged mail from your domain.
如何修复
Add _dmarc TXT with v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
为什么重要: Researchers have no clear place to report vulnerabilities (RFC 9116).
如何修复
Publish /.well-known/security.txt with Contact and Expires (RFC 9116).
仅为被动检查(一级与可选的所有者二级)——本报告并不表示网站是安全的。