security.txt

How to publish a security.txt file so researchers who find a problem on your site know whom to tell, following RFC 9116.

What AuditX checks

The scan requests /.well-known/security.txt and checks that it is published. Its absence is reported as information: the file is recommended, not required.

Why it matters

People who find a security problem on a site often want to report it but cannot find whom to tell. security.txt is the agreed place to look.

Without it, a report can end up in a general inbox, on social media, or nowhere.

How to fix it

  1. Create a plain text file at /.well-known/security.txt.
  2. Add a Contact line with an email address or a form URL, and an Expires line with a date less than a year ahead.
  3. Put a reminder in your calendar to update Expires before it passes.
Contact: mailto:security@yourdomain.com
Expires: 2027-06-30T00:00:00Z
Preferred-Languages: en

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.