Free tool

security.txt and VDP generator

The security.txt and VDP generator is a free, client-side tool that turns your contact details, disclosure policy link and an expiry date into a correctly formatted file under RFC 9116, the IETF standard that tells security researchers how to report a vulnerability to your organisation. Fill in the fields below, then copy or download the finished file and publish it at /.well-known/security.txt on your own domain — no account, upload or server round-trip is involved at any step.

Last updated:

security.txt is defined by RFC 9116 and documented for implementers at securitytxt.org. The file this tool generates goes at /.well-known/security.txt on your own domain — the same convention CISA uses for its own disclosure contacts, part of the agency's Coordinated Vulnerability Disclosure process.

Contact: mailto:[email protected]
Preferred-Languages: en

RFC 9116 requires both Contact and Expires — fill in both before copying or downloading.

Field hints
  • No Policy URL set. It is optional under RFC 9116, but adding your vulnerability disclosure policy tells a researcher your scope and safe-harbor terms before they report anything.
  • No Canonical URL set. RFC 9116 §2.5.3 recommends one if this file might be mirrored or fetched from more than one location, so a consumer can confirm which copy is authoritative.

Host the downloaded file at /.well-known/security.txt on your own domain.

Which security.txt fields does RFC 9116 actually require, and which are optional?

RFC 9116 requires every security.txt file to carry at least one Contact field and an Expires field. Contact can be an email address, a phone number or a web URL a researcher can use to reach you, and securitytxt.org's implementer documentation shows examples of each form.

Everything else — Policy, Encryption, Acknowledgments, Preferred-Languages, Canonical — is optional under the RFC but commonly published alongside the required fields. CISA's own published file fills in several of them as part of its Coordinated Vulnerability Disclosure process, one real example of pairing the required Contact/Expires pair with the optional fields a researcher actually benefits from.

Sources

  1. RFC 9116: A File Format to Aid in Security Vulnerability Disclosure
  2. securitytxt.org: security.txt — proposed standard for defining security policies
  3. CISA: cisa.gov/.well-known/security.txt (CISA’s own published security.txt file)
  4. CISA: The Coordinated Vulnerability Disclosure (CVD) Program

Frequently asked questions

What is security.txt?

A plain-text file, defined by RFC 9116, that a website publishes at /.well-known/security.txt so a security researcher who finds a vulnerability knows exactly who to contact, instead of guessing an address or searching for a contact page.

Where do I host the file this tool generates?

At /.well-known/security.txt on your own domain — for example https://example.com/.well-known/security.txt. RFC 9116 defines that exact path; hosting it anywhere else means tools and researchers that look it up by convention will not find it.

What happens when the Expires date passes?

RFC 9116 requires an Expires field so researchers can tell a stale, abandoned file from a current one. Once the date passes, treat the file as out of date and publish a refreshed one with a new Expires value; some scanners flag or ignore expired files.

Do I need to fill in the Policy field?

RFC 9116 does not require it, but it is worth including: a Policy URL pointing at your vulnerability disclosure policy tells a researcher what to expect (scope, safe-harbor terms, response times) before they report anything. The linked guide below has a policy template you can publish that URL from.

Does any government agency actually use security.txt?

Yes — CISA, the US Cybersecurity and Infrastructure Security Agency, publishes its own file at cisa.gov/.well-known/security.txt and documents a Coordinated Vulnerability Disclosure process for reports it receives.