PUBLISH SECURITY.TXT
A five-minute file that tells security researchers how to contact you.
security.txt is a small text file at /.well-known/security.txt. It tells people how to report a vulnerability.
MINIMAL FILE
Contact: mailto:security@example.com
Expires: 2027-12-31T00:00:00.000Z
Preferred-Languages: en
Canonical: https://example.com/.well-known/security.txt
Contact and Expires are required. The Expires date must be in the future.
OPTIONAL FIELDS
Encryption— a link to a public keyAcknowledgments— a page thanking reportersPolicy— your disclosure policyHiring— security jobs, if relevantCSA— a CSIRT contact
CHECKLIST
- File is at
/.well-known/security.txt -
Contactpoints to a monitored inbox -
Expiresis less than a year away and in the future - The file is served over HTTPS
- The contact address actually receives mail
- The policy explains scope and safe harbor
The full specification is RFC 9116. This site publishes its own at /.well-known/security.txt.