A proposed standard which allows websites to define security policies. security.txt defines a standard to help organizations define the process for security researchers to disclose security vulnerabilities securely.
security.txt is a proposed standard (RFC) designed to provide a simple, machine-readable way for websites to define their security policies and vulnerability disclosure processes,.
The principal functionalities of this standard include:
Structured Channels: It provides a standard to help organizations define clear channels for independent security researchers to report vulnerabilities.
Improved Communication: By offering a dedicated contact point, it ensures that security issues are reported to the right people rather than being left unreported,.
Global Recognition: The standard is endorsed by major governments (including the UK, US, France, Italy, and Australia) and implemented by tech giants like Google, Facebook, and GitHub.
Mandatory Contact Information: Every file must include a Contact field (starting with mailto:, tel:, or https://) so researchers know how to reach the security team,.
Expiration Management: It requires an Expires field in ISO 8601 format to indicate when the information in the file should be considered stale and no longer trusted,.
Security Context: Organizations can optionally include links to their Encryption keys (for secure communications), detailed reporting Policies, and a list of Preferred-Languages spoken by the security team,,.
Standardized Location: For consistency, the file is typically placed in the /.well-known/security.txt path, though the root directory (/security.txt) is supported as a fallback,.
Plain Text Format: The file must be served as text/plain and must be transmitted over HTTPS to ensure integrity.
Authenticity Measures: The standard supports digital signatures (such as OpenPGP cleartext signatures) to give researchers confidence that the file is authentic and has not been planted by an attacker.
Public Recognition: Organizations can include an Acknowledgments field linking to a "hall of fame" or page thanking researchers who have helped secure the platform.
Recruitment and Automation: It supports optional fields for Hiring (linking to security job openings) and CSAF (linking to Common Security Advisory Framework metadata).