← All Tools

security.txt Generator

Build an RFC 9116 compliant /.well-known/security.txt file to tell security researchers how to report vulnerabilities in your site. Serve it at https://example.com/.well-known/security.txt.

The file is invalid if the expires date is in the past. Default: one year from today.
If present, must be the exact URL where the file is served.
Outputs scaffolding for a cleartext signature you replace with your own.

    RFC 9116 fields

    FieldRequiredDescription
    ContactYesHow to report vulnerabilities. Can repeat. Must use mailto:, https:, or tel:.
    ExpiresYesISO 8601 timestamp after which the file is stale. Should be < 1 year out.
    EncryptionNoURL or fingerprint of a public key used to encrypt reports.
    AcknowledgmentsNoPage crediting finders who reported issues.
    Preferred-LanguagesNoComma-separated RFC 5646 language tags the security team speaks.
    CanonicalNoURL where this file is served, for anti-tampering.
    PolicyNoURL of a security/vulnerability-disclosure policy.
    HiringNoURL of security-related job postings.
    CSAFNoURL of a CSAF provider-metadata.json.

    File must be served as text/plain; charset=utf-8 at /.well-known/security.txt over HTTPS. When signing, wrap in an OpenPGP cleartext signature (RFC 4880 §7).

    Copied!