RoastMyOpsec

Blog

Safety OPSEC guides

Defensive defaults that keep browsers, cookies, email, and TLS from doing attackers' homework. Ten guides per page.

Page 1 of 7

Safety · Aug 22, 2026

X-XSS-Protection vs CSP for XSS Defense

X-XSS-Protection vs CSP is not a close race. X-XSS-Protection enabled the old IE/Chrome XSS auditor. That filter is retired, inconsistent, and has caused bypass-and-worse stories. Content-Security-Policy (enforcing,…

Read guide →

Safety · Mar 30, 2026

Trusted Types vs CSP for DOM XSS Defense

Trusted Types vs CSP for DOM XSS is two layers, not a replacement. Content-Security-Policy script-src (nonces, hashes, no unsafe-inline) limits which scripts load. Trusted Types (CSP trusted-types and…

Read guide →

Safety · Mar 13, 2026

TLS-RPT vs MTA-STS for SMTP Failure Reports

TLS-RPT vs MTA-STS for SMTP failure reports is telemetry versus policy. MTA-STS (RFC 8461) publishes how sending MTAs should use TLS to your MX. TLS-RPT (RFC 8460) is a DNS TXT on _smtp._tls that names a mailbox or…

Read guide →

Safety · Dec 18, 2025

SPF vs DKIM vs DMARC for Domain Email OPSEC

SPF vs DKIM vs DMARC is a stack decision, not a pick-one DNS beauty contest. SPF lists which servers may send mail for the domain. DKIM signs messages so receivers can verify they were not altered in transit. DMARC…

Read guide →