What is security.txt?
The file lives at /.well-known/security.txt. It lists a contact, such as an email address, and an end date after which it should be treated as out of date. Researchers who find a problem then know where to send it.
Why it matters
It gives people a clear, safe way to warn you instead of posting about a problem in public. It builds trust, and we make no claim that it changes search or AI answers.
How Onbiom checks it
Onbiom's rule: this is a tip and is not counted in your score. We make one request for /.well-known/security.txt on your own host. It passes when the file is plain text, has a Contact line and has an Expires date in the future.
It is a tip when the file is missing, is a web page instead of plain text, has no Contact, has no valid Expires date, or has expired. If we cannot read it today the result is unknown.
In your report this appears as: security.txt contact file.
How to check it yourself
- Run the command below against your own address.
- Check for a Contact line and an Expires date in the future.
curl -s https://example.com/.well-known/security.txtNot sure about your own site? Paste your address and see in a minute which of these checks your site passes. Free, no account needed.
How to fix it
- Any website
- Create a plain text file with a Contact line such as mailto:security@example.com and an Expires line with a date within the next year, and serve it at /.well-known/security.txt.
- Ask your web person
- Placing a file in a folder called .well-known on your site is easy on most hosts but depends on your setup. Check the address afterwards.
Related terms
Sources and further reading
Last reviewed: