Practical security for everyday technology.

What security.txt tells someone reporting a website vulnerability

A laptop prepared for website security-contact work.
AI-generated photographic illustration; not documentary photography.

Someone notices a possible vulnerability on a website and looks for a responsible way to report it. A general support form may be the only obvious contact. A security.txt file gives a site a standard place to publish security-reporting information.

RFC 9116 specifies the format. For a website, the expected location is the HTTPS path /.well-known/security.txt. The file is plain text, and its required fields include a reporting contact and an expiry date. Optional fields can point to a policy, encryption information or other relevant resources.

Read the contact together with the policy

A contact tells you where a report should go. It does not automatically grant permission to scan, exploit or access data. Read the linked policy and obtain appropriate authorisation before conducting testing. The file’s presence is a communication aid, not a scope-of-work agreement.

Check whether the information is still current. A file past its expiry date may contain an abandoned address. If canonical locations are listed, they also need to be interpreted according to the RFC’s trust guidance rather than treated as proof that every listed website has identical ownership.

Make maintenance part of publishing it

For an illustrative small-site workflow, assign an owner to the reporting mailbox and an owner to the file. They may be the same person, but both responsibilities should be explicit. Set a review date before expiry and check that the linked policy still describes the organisation’s process.

Test the public URL after deployment. Confirm that it returns the text file rather than a themed error page, a login screen or an outdated redirect. Check the contact route without sending sensitive vulnerability details through an unverified channel.

Keep a report proportionate

If reporting an issue you encountered legitimately, describe the affected URL, the observed behaviour and enough non-sensitive detail to reproduce the observation safely. Avoid including other people’s personal information or performing additional intrusive tests merely to make the report more dramatic.

A security.txt file is small, but it creates an ongoing promise that somebody has thought about receiving security information. Its value comes from a working contact and a clear process, reviewed often enough that the next reporter can reach the right person.