B 87 / 100

loc.gov

We found 4 issues in loc.gov's email security, HTTPS, website and domain configuration.

1 medium 3 low

Security report · checked 2026-12-01

Quick answers

Can someone send fake email pretending to be loc.gov?
Yes, probably. loc.gov's DMARC policy is “none” (monitoring only), so spoofed messages are still delivered.
Does loc.gov have DMARC?
Yes, with the policy p=none.
Does loc.gov have an SPF record?
Yes: v=spf1 include:spf1.loc.gov include:spf2.loc.gov include:spf-00026101.gpphosted.com mx -all
Does loc.gov use DKIM?
We didn't find DKIM keys at common locations (it may still use DKIM under another name).
Who provides email for loc.gov?
Proofpoint, based on its mail (MX) records.
Is loc.gov's SSL certificate valid?
Yes. Issued by Let's Encrypt, valid until 2027-02-18 (78 days left).
Does loc.gov support TLS 1.3?
Yes.
Does loc.gov still accept outdated TLS 1.0 or 1.1?
No.
Does loc.gov use HSTS?
Yes.
When does the loc.gov domain registration expire?
2027-07-07 (in 218 days).
Is DNSSEC enabled for loc.gov?
Yes.

How loc.gov compares

Scores higher than 55% of the 10,000 most popular websites.

Lower scoresHigher scores

Its issues, and how common they are among popular sites

"Uncommon" means fewer than 1 in 10 popular sites have this problem. See the full research.

Email security A

Mail provider
Proofpoint
SPF
v=spf1 include:spf1.loc.gov include:spf2.loc.gov include:spf-00026101.gpphosted.com mx -all
DMARC
v=DMARC1;p=none;sp=none;fo=1;rua=mailto:[email protected];ruf=mailto:[email protected];rf=afrf;pct=100
DMARC is in monitoring-only mode (p=none) medium

p=none collects reports but doesn't stop spoofed email: forged messages from loc.gov are still delivered. It's the right first step, but it isn't protection.

How to fix

Once your reports show all legitimate mail passing, change the policy to p=quarantine, then p=reject.

No DKIM keys found at common locations note

DKIM keys live at names only the sender knows, so we can only check common ones. loc.gov may still use DKIM. If it doesn't, its mail is easier to spoof and more likely to be filtered.

What to do

Turn on DKIM signing in your email provider's admin console and publish the key it gives you.

MTA-STS not enabled note

Without MTA-STS, an attacker on the network path could downgrade mail delivery to loc.gov to unencrypted. This is an advanced, optional hardening step.

What to do

Publish an MTA-STS policy file at https://mta-sts.loc.gov/.well-known/mta-sts.txt and a TXT record at _mta-sts.loc.gov.

HTTPS & certificate A

Issued by
Let's Encrypt
Expires
2027-02-18 (78 days)
Checked
loc.gov and www.loc.gov
Protocol
TLSv1.3
Key
ECDSA 256-bit
Accepts encryption without forward secrecy (AES128-GCM-SHA256) low

With these ciphers, anyone who records traffic today and later obtains the server's private key can decrypt it. Modern ciphers prevent that.

How to fix

Disable ciphers whose names don't include ECDHE or DHE (for example AES128-SHA or AES256-GCM-SHA384). Mozilla's SSL Configuration Generator (ssl-config.mozilla.org) shows a safe list.

Website security headers A

HSTS lasts only less than a day low

A short max-age means browsers forget the HTTPS-only rule quickly.

How to fix

Use max-age=31536000 (one year) once you're confident HTTPS works everywhere.

Content Security Policy doesn't restrict scripts low

A policy is present, but it allows inline scripts ('unsafe-inline'), so it offers little protection against cross-site scripting (XSS).

How to fix

Tighten script-src: remove 'unsafe-inline' and wildcards, and allow specific sources, nonces or hashes instead. Test with Content-Security-Policy-Report-Only first.

Domain & DNS A

Registrar
get.gov
Registered
1997-10-02
Expires
2027-07-07
Nameservers
alice.ns.cloudflare.com, kevin.ns.cloudflare.com
No CAA record note

A CAA record lists which certificate authorities may issue certificates for loc.gov. Without one, any of them can. It's optional hardening and doesn't affect the grade.

What to do

Add a CAA record for the authority you use, e.g. 0 issue "letsencrypt.org". If you use a CDN, check which authorities it needs first.

Check another domain