Skip to content

Kompile Learn

security.txt: a contact for security reports

Publish one small file that tells people who find a problem how to reach you privately.

What it is

A text file at /.well-known/security.txt with a contact address and an expiry date (RFC 9116).

Why it matters

Researchers who find a hole can tell you quietly instead of posting it publicly or giving up.

How to fix it

/.well-known/security.txt

Contact: mailto:security@example.com Expires: 2027-12-31T23:59:59Z Preferred-Languages: en

Does your site have this problem?

Kompile Scan checks for this and the other problems in these guides in under a minute. Free for one site.

Check my site